All the kernel header files now use pargma once rather than the ifndef, as the pre-processed C files do not change while header files are protected with pargma once. This will also solve any naming issues caused by ifndef.
27 lines
572 B
C
27 lines
572 B
C
/*
|
|
* Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
typedef enum {
|
|
seL4_NoError = 0,
|
|
seL4_InvalidArgument,
|
|
seL4_InvalidCapability,
|
|
seL4_IllegalOperation,
|
|
seL4_RangeError,
|
|
seL4_AlignmentError,
|
|
seL4_FailedLookup,
|
|
seL4_TruncatedMessage,
|
|
seL4_DeleteFirst,
|
|
seL4_RevokeFirst,
|
|
seL4_NotEnoughMemory,
|
|
|
|
/* This should always be the last item in the list
|
|
* so it gives a count of the number of errors in the
|
|
* enum.
|
|
*/
|
|
seL4_NumErrors
|
|
} seL4_Error;
|