CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Toggle main menu visibility
Loading...
Searching...
No Matches
sdk
include
setjmp-assembly.h
1
// Copyright CHERIoT Contributors.
2
// SPDX-License-Identifier: MIT
3
4
#pragma once
5
6
#include <
assembly-helpers.h
>
7
8
EXPORT_ASSEMBLY_OFFSET
(
__jmp_buf
, __cs0, 0)
9
EXPORT_ASSEMBLY_OFFSET
(
__jmp_buf
, __cs1, 8)
10
EXPORT_ASSEMBLY_OFFSET
(
__jmp_buf
, __csp, 16)
11
EXPORT_ASSEMBLY_OFFSET
(
__jmp_buf
, __cra, 24)
assembly-helpers.h
Helpers for exposing field offsets and structure sizes into assembly.
EXPORT_ASSEMBLY_OFFSET
#define EXPORT_ASSEMBLY_OFFSET(structure, field, val)
Export a macro into assembly of the form {structure}_offset_{field}.
Definition
assembly-helpers.h:55
__jmp_buf
This is a minimal implementation of setjmp/longjmp.
Definition
setjmp.h:20
Generated by
1.18.0