Sign in
opensecura
/
3p
/
cheriot-rtos
/
3e1689b5d1ff985e96c0b590f88e6a71d2117eb7
/
.
/
examples
/
02.hello_compartment
/
hello.h
blob: db5917a357ee606111c99322e22a93297a2aae38 [
file
]
#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
);