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_SEL4_ARCH_TYPES_H_ 14#define __LIBSEL4_SEL4_SEL4_ARCH_TYPES_H_ 15 16#include <sel4/simple_types.h> 17 18typedef seL4_Uint64 seL4_Word; 19typedef seL4_Word seL4_CPtr; 20typedef seL4_Word seL4_NodeId; 21typedef seL4_Word seL4_PAddr; 22typedef seL4_Word seL4_Domain; 23 24typedef seL4_CPtr seL4_ARM_PageUpperDirectory; 25typedef seL4_CPtr seL4_ARM_PageGlobalDirectory; 26 27typedef struct seL4_UserContext_ { 28 /* frame registers */ 29 seL4_Word pc, sp, spsr, x0, x1, x2, x3, x4, x5, x6, x7, x8, x16, x17, x18, x29, x30; 30 /* other integer registers */ 31 seL4_Word x9, x10, x11, x12, x13, x14, x15, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28; 32} seL4_UserContext; 33 34#endif /* __LIBSEL4_SEL4_SEL4_ARCH_TYPES_H_ */ 35