12 Commits

Author SHA1 Message Date
Travis Geiselbrecht
23cbdcc971 [ubsan] switch external array declarations to a proper array
This fixes a ubsan warning where it thinks you are walking off the end
of a symbol. No functional change.
2025-10-05 15:27:43 -07:00
Travis Geiselbrecht
9a39da5651 [app] tweak app start to only run apps with entry points defined
Also remove a few empty extraneous app structs that are not doing
anything currently.
2022-04-29 20:38:15 -07:00
Travis Geiselbrecht
2c28605d0d [app] add a standalone routine and a command line app start routine 2021-05-26 02:15:59 -07:00
Travis Geiselbrecht
243975bbce [apps] switch to the __start __stop section linker magic 2020-05-14 23:57:42 -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
Dima Zavin
36c7735533 [libc][stdio] cleanup printf definition and clients
Move implementation to stdio.c to sit next to the other
stdio definitions that use the debug output functions. Keep
the declaration of it, though, in printf.h to sit next to
sprintf, etc.

Don't include printf.h directly in other places, rely on stdio.h
to properly pull in these functions.

Change-Id: I357cb04a5c78185b8fde908193b672326c2ee542
Signed-off-by: Dima Zavin <dima@android.com>
2013-08-05 10:04:29 -07:00
Travis Geiselbrecht
058e24354f [app] detach the app threads 2012-12-22 15:53:04 -08:00
Travis Geiselbrecht
c32135b7e5 [app] add feature to set the stack size in the static descriptor 2012-06-27 19:40:42 -07:00
Travis Geiselbrecht
668383c506 [app] change the app api to have an init and entry point 2009-01-24 21:45:36 -08:00
Travis Geiselbrecht
6837223d02 [app] add the app module init system 2009-01-24 21:21:08 -08:00