Sign in
opensecura
/
3p
/
cheriot-rtos
/
b944342ab2f3cc160df6beaf9a91f491de4d0978
/
.
/
examples
/
02.hello_compartment
/
hello.h
blob: db5917a357ee606111c99322e22a93297a2aae38 [
file
] [
log
] [
blame
]
#include
<compartment.h>
// Copyright Microsoft and CHERIoT Contributors.
// SPDX-License-Identifier: MIT
/**
* Write `msg` to the default uart.
*/
void
__cheri_compartment
(
"uart"
)
write
(
const
char
*
msg
);