blob: 9a757baa006f86fa7f73308a2294b5b7a1299b51 [file] [log] [blame]
// Copyright Microsoft and CHERIoT Contributors.
// SPDX-License-Identifier: MIT
#include "hello.h"
#include <fail-simulator-on-error.h>
/// Thread entry point.
void __cheri_compartment("hello") entry()
{
write("Hello world");
char stackBuffer[] = "Hello from the stack";
write(stackBuffer);
}