16 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
klemens
d0b90c2d68 [spelling] spelling-fixes. (not external/) 2016-08-25 17:30:34 -07:00
Travis Geiselbrecht
2eb32a4369 [style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.

Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -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
99c00354eb [platform] convert platform code for alterasoc, vexpress-a9, and zynq to SMP 2015-03-10 16:43:55 -07:00
Travis Geiselbrecht
ebba33f1e2 [platform][alterasoc] get this platform working again after VMM addition 2014-08-11 01:36:22 -07:00
Travis Geiselbrecht
822514acdb [platform] expand platform_halt() to include suggested action and reason
-Remove old halt() call
-Add default implementation that just wedges the cpu if platform doesn't override
-Add default implementation for zynq
2014-08-06 15:31:27 -07:00
Travis Geiselbrecht
036647ec1d [platform] move alterasoc and zynq timer to the shared generic cortex a9 driver 2014-05-11 00:45:58 -07:00
Travis Geiselbrecht
98647aeff7 [platform][alterasoc] fix timer driver to actually used passed in value 2014-05-01 19:18:25 -07:00
Travis Geiselbrecht
3a50dd3591 [platform] update platforms to use new mmu mapping routines
-Have alterasoc map all of dram as cached
2014-05-01 19:06:57 -07:00
Travis Geiselbrecht
adeed42672 [platform][alterasoc] initial support for Altera Cyclone V based SoC
-Initial dev board is a Helio
2014-05-01 19:06:57 -07:00