mirror of
https://github.com/drasko/codezero.git
synced 2026-01-17 21:33:15 +01:00
Reorganized test container sources
This commit is contained in:
@@ -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__ */
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
@@ -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__ */
|
||||
|
||||
Reference in New Issue
Block a user