Integrated Test Container inside Baremetal container.

This commit is contained in:
Amit Mahajan
2009-11-20 00:06:03 +05:30
parent 352d75f66c
commit 8a7b9dbcdf
21 changed files with 63 additions and 288 deletions

View File

@@ -0,0 +1,18 @@
#ifndef __THREAD_H__
#define __THREAD_H__
#include <l4lib/arch/syslib.h>
#include <l4lib/arch/syscalls.h>
#include <l4lib/exregs.h>
#include <l4/api/thread.h>
int thread_create(int (*func)(void *), void *args, unsigned int flags,
struct task_ids *new_ids);
/* For same space */
#define STACK_SIZE 0x1000
#define THREADS_TOTAL 10
#endif /* __THREAD_H__ */