mirror of
https://github.com/drasko/codezero.git
synced 2026-04-17 17:29:04 +02:00
Bare container correctly autogenerates from `test' sources and builds.
new file: conts/test/SConstruct new file: conts/test/container.c new file: conts/test/include/linker.lds new file: conts/test/include/test.h new file: conts/test/main.c new file: conts/test/src/test.c modified: scripts/bare/bare_generator.py
This commit is contained in:
21
conts/test/container.c
Normal file
21
conts/test/container.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Container entry point for pager
|
||||
*
|
||||
* Copyright (C) 2007-2009 B Labs Ltd.
|
||||
*/
|
||||
|
||||
#include <l4lib/init.h>
|
||||
#include <l4lib/utcb.h>
|
||||
|
||||
|
||||
void main(void);
|
||||
|
||||
void __container_init(void)
|
||||
{
|
||||
/* Generic L4 initialisation */
|
||||
__l4_init();
|
||||
|
||||
/* Entry to main */
|
||||
main();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user