mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
Added a per-container container.h that inclues useful definitions. Hello world now is in a separate file not to modify main too often. hello world now prints container name and id.
17 lines
225 B
C
17 lines
225 B
C
/*
|
|
* Main function for this container
|
|
*/
|
|
#include <l4lib/arch/syslib.h>
|
|
#include <l4lib/arch/syscalls.h>
|
|
#include <l4/api/space.h>
|
|
|
|
extern int print_hello_world(void);
|
|
|
|
int main(void)
|
|
{
|
|
print_hello_world();
|
|
|
|
return 0;
|
|
}
|
|
|