Commit Graph

17 Commits

Author SHA1 Message Date
Travis Geiselbrecht
445f3e4ee7 [platform/target][warnings] fix -Wmissing-declarations warnings in platform/ and target/
Mostly driver code in various platforms. There are still some warnings
in this part of the tree in lesser-used platforms.
2021-10-21 23:18:09 -07:00
Travis Geiselbrecht
cba9e47987 [license] replace the longer full MIT license with a shorter one
Used scripts/replacelic. Everything seems to build fine.
2019-07-05 17:22:23 -07:00
Travis Geiselbrecht
d8fa82cb91 [formatting] run everything through codestyle
Almost nothing changes here except moving braces to the same line as the
function declaration. Everything else is largely whitespace changes and
a few dangling files with tab indents.

See scripts/codestyle
2019-06-19 21:02:24 -07:00
Travis Geiselbrecht
1b7a28efb8 [include][lk] fixup lk/ include path move 2019-06-19 19:46:11 -07:00
Travis Geiselbrecht
9c69b36411 [arch][microblaze] fix the microblaze port
Apparently stumbled into some sort of linker bug with gc-sections enabled.
Disable for now, and clean up the linker script a little bit.
2015-11-07 02:48:05 -08:00
Travis Geiselbrecht
35ebee0e40 [merge] branch 'heapswitch'
This picks up the major work of allowing multiple heap implementations
and enable dlmalloc as an alternate heap to the simple existing one
(now called 'miniheap').

Also added a novm page allocator for memory management on systems too small
or missing an mmu to have a vm. Not much more than a simple bitmap allocator
that the heap pulls from. Allows for other heaps and/or users of physical
memory to coexist and span multiple banks of memory.
2015-10-20 16:53:00 -07:00
Travis Geiselbrecht
3b2d7a268b [make] remove the need for a module to manually add $(LOCAL_DIR)/include to the global include path
Pretty much every module in the system was already doing it, so do it
automatically.
2015-10-19 19:07:16 -07:00
Travis Geiselbrecht
7c09e82033 [make] make sure MEMBASE and MEMSIZE are always set exactly once 2015-10-15 17:22:16 -07:00
Travis Geiselbrecht
842cb7a7ae [warnings] fix warnings post-smp
Most of the warnings are printf related due to lk_time_t now being defined as an
unsigned int instead of unsigned long.
2015-06-02 21:03:05 -07:00
Arve Hjønnevåg
2c9c5959e7 Merge branch 'master' of https://github.com/travisg/lk into smp
Change-Id: Iecb11d57b6f089234c0826932bdb229588939750
2015-05-18 16:49:37 -07:00
Travis Geiselbrecht
518a04eef3 [arch][microblaze] a bit of bugfixing and refactoring to get running on real hardware
Punched out a version of the microblaze on a ZYBO dev board, which required
a few tweaks an additions to run on real hardware.
Refactored the qemu and zybo microblaze target.
2015-04-19 01:34:18 -07:00
Travis Geiselbrecht
b5943c329d [arch][microblaze] get working after SMP changes 2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
c061e2d21c [arch][microblaze] add full interrupt, timer, and interrupt driven uart support 2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
6f4183bc9a [arch][microblaze] change linker script to support having a different LMA for the vector table
The qemu target has 128KB of ram at 0 and the rest at 0x90000000.
Split the binary so that the vector table lives at 0 and everything else in
the high address.
2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
9550869ff5 [platform][microblaze] get polling mode uartlite driver fully working 2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
0816848c82 [arch][microblaze] first semi functional context switch implementation 2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
436c5a885f [arch][microblaze] initial stab at getting a nulled out microblaze port compiling 2015-01-29 21:06:04 -08:00