Commit Graph

8 Commits

Author SHA1 Message Date
Travis Geiselbrecht
85a50ea3f4 [kernel][license] try out using a smaller version of the license header
Replace the body of the MIT license with a reference to the LICENSE file
and a URL with the MIT license. Replaces 20 something lines with 3.

No functional change.
2019-06-19 23:28:14 -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
leliang.zhang
dfc1159abb [novm] fix the bug which cause memory leak in novm 2019-06-19 18:38:05 -07:00
Erik Corry
6d0122b98e [heap] Add API used by Dartino to get arena list 2016-03-23 21:22:39 +01: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
c8c923ecbf [kernel][novm] change the novm alloc routine to take a bitmap instead of arena index 2015-10-23 09:48:28 -07:00
Travis Geiselbrecht
8d49a21989 [kernel][novm] refactor the novm code to handle multiple installable arenas
Only initialize the first arena, and allow installing more from platform code
as more memory banks are brought up.
Move novm into a separate module.
2015-10-20 16:18:57 -07:00