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