10SN/A/*
2379SN/A * Copyright 2017, Data61
30SN/A * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
40SN/A * ABN 41 687 119 230.
50SN/A *
60SN/A * This software may be distributed and modified according to the terms of
7157SN/A * the BSD 2-Clause license. Note that NO WARRANTY is provided.
80SN/A * See "LICENSE_BSD2.txt" for details.
9157SN/A *
100SN/A * @TAG(DATA61_BSD)
110SN/A */
120SN/A
130SN/A#ifndef __LIBSEL4_SEL4_SEL4_ARCH_TYPES_H_
140SN/A#define __LIBSEL4_SEL4_SEL4_ARCH_TYPES_H_
150SN/A
160SN/A#include <sel4/simple_types.h>
170SN/A
180SN/Atypedef seL4_Uint64 seL4_Word;
190SN/Atypedef seL4_Word seL4_CPtr;
200SN/Atypedef seL4_Word seL4_NodeId;
21157SN/Atypedef seL4_Word seL4_PAddr;
22157SN/Atypedef seL4_Word seL4_Domain;
23157SN/A
240SN/Atypedef seL4_CPtr seL4_ARM_PageUpperDirectory;
250SN/Atypedef seL4_CPtr seL4_ARM_PageGlobalDirectory;
260SN/A
270SN/Atypedef struct seL4_UserContext_ {
280SN/A    /* frame registers */
290SN/A    seL4_Word pc, sp, spsr, x0, x1, x2, x3, x4, x5, x6, x7, x8, x16, x17, x18, x29, x30;
300SN/A    /* other integer registers */
310SN/A    seL4_Word x9, x10, x11, x12, x13, x14, x15, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28;
320SN/A} seL4_UserContext;
330SN/A
340SN/A#endif /* __LIBSEL4_SEL4_SEL4_ARCH_TYPES_H_ */
350SN/A