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_SIMPLE_TYPES_H
14#define __LIBSEL4_SIMPLE_TYPES_H
15
16/* Get the architectural types seL4_{u}int{N} */
17#include <sel4/arch/simple_types.h>
18#include <sel4/sel4_arch/simple_types.h>
19
20/* Define boolean type and true/false */
21#define seL4_True 1
22#define seL4_False 0
23typedef seL4_Int8 seL4_Bool;
24
25/* Define seL4_Null */
26#ifdef __cplusplus
27#define seL4_Null 0L
28#else
29#define seL4_Null ((void*)0)
30#endif // __cplusplus
31
32#endif // __LIBSEL4_SIMPLE_TYPES_H
33