1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*/
/**
* Declares macros and methods for sel4 specific assert and fail.
*
* These are unconditional, there are conditional versions of
* these in debug_assert.h and are name seL4_DebugAssert and
* sl4_DebugCompileTimeAsssert.
*/
/**
* Hidden function, use the macros seL4_Fail or seL4_Assert.
*/
void ;
/**
* If expr evaluates to false _seL4_Fail is called with the
* expr as a string plus the file, line and function.
*/
/**
* If expr evaluates to false _seL4_AssertFail is called with the
* expr as a string plus the file, line and function.
*/
/**
* An assert that tests that the expr is a compile time constant and
* evaluates to true.
*
* This code is similar to compile_time_assert in libutils/include/utils/compile_time.h,
* we may want to have only one. Also, using __COUNTER__ its not necessary to have name
* for uniqueness so I've removed it, although maybe there is another reason for it, like
* some compilers don't support __COUNTER__.
*/
// __LIBSEL4_ASSERT_H