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