blob: 4945a1d195be751dfd2e3ac6e3372feba06e71f4 [file] [log] [blame]
// Copyright Microsoft and CHERIoT Contributors.
// SPDX-License-Identifier: MIT
#pragma once
#define BOOT_STACK_SIZE 1024
/**
* The trusted stack size for the loader. Since the loader, the scheduler and
* the idle thread must not do compartment calls, this trusted stack only needs
* to have a register frame and not trusted stack frames.
*/
#define BOOT_TSTACK_SIZE (TSTACK_REGFRAME_SZ + TSTACK_HEADER_SZ + (8 * 8))
#define BOOT_THREADINFO_SZ 16