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