Reorganized test container sources

This commit is contained in:
Bahadir Balban
2009-10-23 16:41:30 +03:00
parent 6093214981
commit 4a24e02151
19 changed files with 586 additions and 508 deletions

View File

@@ -1,5 +1,5 @@
#ifndef __THREAD_H__
#define __THREAD_H__
#ifndef __API_THREAD_H__
#define __API_THREAD_H__
#define THREAD_ACTION_MASK 0x000F
#define THREAD_CREATE 0x0000
@@ -19,4 +19,4 @@
#define TC_SHARE_PAGER 0x0400 /* New thread, shared pager */
#define TC_AS_PAGER 0x0800 /* Set new thread as child */
#endif /* __THREAD_H__ */
#endif /* __API_THREAD_H__ */

View File

@@ -3,8 +3,8 @@
*
* Copyright (C) 2009 Bahadir Balban
*/
#ifndef __CAPABILITY_H__
#define __CAPABILITY_H__
#ifndef __GENERIC_CAPABILITY_H__
#define __GENERIC_CAPABILITY_H__
#include <l4/lib/list.h>
@@ -245,4 +245,4 @@ struct capability cap_cpuprio = {
#endif
#endif /* __CAPABILITY_H__ */
#endif /* __GENERIC_CAPABILITY_H__ */

View File

@@ -1,8 +1,8 @@
/*
* Copyright (C) 2007 Bahadir Balban
*/
#ifndef __THREAD_H__
#define __THREAD_H__
#ifndef __GENERIC_THREAD_H__
#define __GENERIC_THREAD_H__
#include <l4/generic/tcb.h>
@@ -14,4 +14,4 @@ int thread_id_del(int tid);
void task_destroy_current(void);
void task_make_zombie(struct ktcb *task);
#endif /* __THREAD_H__ */
#endif /* __GENERIC_THREAD_H__ */