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 <sel4/simple_types.h>
17
18typedef seL4_Uint32 seL4_Word;
19typedef seL4_Word seL4_CPtr;
20typedef seL4_Word seL4_NodeId;
21typedef seL4_Word seL4_PAddr;
22typedef seL4_Word seL4_Domain;
23
24typedef struct seL4_UserContext_ {
25    /* frame registers */
26    seL4_Word pc, sp, cpsr, r0, r1, r8, r9, r10, r11, r12;
27    /* other integer registers */
28    seL4_Word r2, r3, r4, r5, r6, r7, r14;
29} seL4_UserContext;
30
31#endif /* __LIBSEL4_SEL4_ARCH_TYPES_H */
32