mirror of
https://github.com/drasko/codezero.git
synced 2026-04-07 20:49:11 +02:00
Kernel updates since December 2009
This commit is contained in:
28
conts/test_suite0/container.c
Normal file
28
conts/test_suite0/container.c
Normal file
@@ -0,0 +1,28 @@
|
||||
/*
|
||||
* Container entry point for pager
|
||||
*
|
||||
* Copyright (C) 2007-2009 B Labs Ltd.
|
||||
*/
|
||||
|
||||
#include <l4lib/init.h>
|
||||
#include <l4lib/utcb.h>
|
||||
#include <l4lib/lib/thread.h>
|
||||
#include <l4lib/lib/cap.h>
|
||||
|
||||
extern void main(void);
|
||||
|
||||
void __container_init(void)
|
||||
{
|
||||
/* Generic L4 initialisation */
|
||||
__l4_init();
|
||||
|
||||
/* Thread library initialisation */
|
||||
__l4_threadlib_init();
|
||||
|
||||
/* Capability library initialization */
|
||||
__l4_capability_init();
|
||||
|
||||
/* Entry to main */
|
||||
main();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user