1/* 2 * Copyright 2017, Data61 3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) 4 * ABN 41 687 119 230. 5 * 6 * This software may be distributed and modified according to the terms of 7 * the BSD 2-Clause license. Note that NO WARRANTY is provided. 8 * See "LICENSE_BSD2.txt" for details. 9 * 10 * @TAG(DATA61_BSD) 11 */ 12 13#ifndef __LIBSEL4_SEL4_ARCH_TYPES_H 14#define __LIBSEL4_SEL4_ARCH_TYPES_H 15 16#include <autoconf.h> 17 18typedef seL4_Uint32 seL4_Word; 19typedef seL4_Word seL4_NodeId; 20typedef seL4_Word seL4_PAddr; 21typedef seL4_Word seL4_Domain; 22 23typedef seL4_Word seL4_CPtr; 24 25/* User context as used by seL4_TCB_ReadRegisters / seL4_TCB_WriteRegisters */ 26typedef struct seL4_UserContext_ { 27 /* frameRegisters */ 28 seL4_Word eip, esp, eflags, eax, ebx, ecx, edx, esi, edi, ebp; 29 /* gpRegisters */ 30 seL4_Word tls_base, fs, gs; 31} seL4_UserContext; 32 33#endif 34