Test and Threads_demo containers interchanged by mistake earlier.

Corrected
This commit is contained in:
Amit Mahajan
2009-12-02 00:14:32 +05:30
parent cf9f3aab5b
commit fcc1e52bea
14 changed files with 179 additions and 179 deletions

View File

@@ -0,0 +1,12 @@
#ifndef __CAPABILITY_H__
#define __CAPABILITY_H__
#include <l4/api/capability.h>
#include <l4/generic/capability.h>
#include <l4/generic/cap-types.h>
void capability_print(struct capability *cap);
int caps_read_all();
#endif /* __CAPABILITY_H__ */

View File

@@ -0,0 +1,7 @@
#ifndef __TESTS_H__
#define __TESTS_H__
int capability_test(void);
#endif /* __TESTS_H__ */

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__ */