mirror of
https://github.com/drasko/codezero.git
synced 2026-04-04 02:59:03 +02:00
Initial commit
This commit is contained in:
18
include/l4/glue/arm/utcb.h
Normal file
18
include/l4/glue/arm/utcb.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Userspace thread control block
|
||||
*
|
||||
* Copyright (C) 2007 Bahadir Balban
|
||||
*/
|
||||
#ifndef __GLUE_ARM_UTCB_H__
|
||||
#define __GLUE_ARM_UTCB_H__
|
||||
|
||||
#define MR_TOTAL 6
|
||||
|
||||
/* Compact utcb for now! 8-) */
|
||||
struct utcb {
|
||||
u32 mr[MR_TOTAL];
|
||||
u32 global_id; /* Thread id */
|
||||
u32 usr_handle; /* Use as TLS */
|
||||
};
|
||||
|
||||
#endif /* __GLUE_ARM_UTCB_H__ */
|
||||
Reference in New Issue
Block a user