Sign in
opensecura
/
3p
/
cheriot-rtos
/
ed3a86fc727b358494f7a9162ea2b47b1f2ce721
/
.
/
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
);