l4ka-hazelnut/kernel/include/tcb_layout.h

41 lines
2.2 KiB
C

/* machine-generated file - do NOT edit */
#ifndef __TCB_LAYOUT__H__
#define __TCB_LAYOUT__H__
#define OFS_TCB_IPC_BUFFER 0x00 /* 0 */
#define OFS_TCB_IPC_TIMEOUT 0x0c /* 12 */
#define OFS_TCB_MSG_DESC 0x10 /* 16 */
#define OFS_TCB_SPACE 0x14 /* 20 */
#define OFS_TCB_PAGEDIR_CACHE 0x18 /* 24 */
#define OFS_TCB_MYSELF 0x1c /* 28 */
#define OFS_TCB_PAGER 0x20 /* 32 */
#define OFS_TCB_EXCPT 0x24 /* 36 */
#define OFS_TCB_STACK 0x28 /* 40 */
#define OFS_TCB_THREAD_STATE 0x2c /* 44 */
#define OFS_TCB_QUEUE_STATE 0x30 /* 48 */
#define OFS_TCB_PRIORITY 0x34 /* 52 */
#define OFS_TCB_FLAGS 0x38 /* 56 */
#define OFS_TCB_TIMESLICE 0x3c /* 60 */
#define OFS_TCB_CURRENT_TIMESLICE 0x40 /* 64 */
#define OFS_TCB_ABSOLUTE_TIMEOUT 0x44 /* 68 */
#define OFS_TCB_PRESENT_PREV 0x4c /* 76 */
#define OFS_TCB_PRESENT_NEXT 0x50 /* 80 */
#define OFS_TCB_READY_PREV 0x54 /* 84 */
#define OFS_TCB_READY_NEXT 0x58 /* 88 */
#define OFS_TCB_WAKEUP_PREV 0x5c /* 92 */
#define OFS_TCB_WAKEUP_NEXT 0x60 /* 96 */
#define OFS_TCB_RESOURCES 0x64 /* 100 */
#define OFS_TCB_COPY_AREA1 0x68 /* 104 */
#define OFS_TCB_COPY_AREA2 0x6c /* 108 */
#define OFS_TCB_SEND_QUEUE 0x70 /* 112 */
#define OFS_TCB_SEND_PREV 0x74 /* 116 */
#define OFS_TCB_SEND_NEXT 0x78 /* 120 */
#define OFS_TCB_PARTNER 0x7c /* 124 */
#define OFS_TCB_INTR_PENDING 0x80 /* 128 */
#define OFS_TCB_UNWIND_IPC_SP 0x84 /* 132 */
#define OFS_TCB_SCRATCH 0x88 /* 136 */
#define OFS_TCB_MAGIC 0x8c /* 140 */
#define OFS_TCB_PRIV 0x90 /* 144 */
#endif /* __TCB_LAYOUT__H__ */