Commit Graph

9 Commits

Author SHA1 Message Date
Travis Geiselbrecht
6cb02526b7 [include][console] split lib/console.h into two
TL;DR most uses of lib/console.h -> lk/console_cmd.h

Move the part that lets a piece of code somewhere in the system to
define a console command from the actual lib/console api to start an
instance of the console. Move in almost every place the user of the
console command definition to the new header, lk/console_cmd.h which is
always in the include path.

Also remove most uses of testing for WITH_LIB_CONSOLE since you can
almost always just safely define it and then let the linker remove it.
2019-07-13 16:56:33 -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
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
69b092666b [app][tests] fix a warning and reformat a little 2015-09-10 12:11:34 -07:00
Carlos Pizano
14317c67b5 [app][tests] Make chache_tests take an optional address parameter.
Also reduce the last test from 16MB to 8MB, so it does not bomb on
some boards.
2015-09-08 18:24:48 -07:00
Travis Geiselbrecht
f75fe0b81b [app][tests] add new memory test
-Use the VMM to allocate a large chunk of uncached physical memory
-if no VMM, allocate from heap
-Do a simple own address test then a pattern and moving inversion test
2014-10-23 14:41:44 -07:00
Travis Geiselbrecht
9b7b6cdbf3 [app][tests] beef up the cache benchmark tests a little bit 2014-10-19 01:14:43 -07:00
Travis Geiselbrecht
f18660a2f4 [app][tests] add quick n' dirty cache test routine 2014-06-03 21:18:09 -07:00