diff --git a/runtime/include/arch/arch_context_t.h b/runtime/include/arch/arch_context_t.h new file mode 100644 index 0000000..ef5ef5c --- /dev/null +++ b/runtime/include/arch/arch_context_t.h @@ -0,0 +1,14 @@ +#pragma once + +#include + +#include "arch/reg_t.h" +#include "arch/ureg_t.h" +#include "arch/arch_context_variant_t.h" + +struct arch_context { + arch_context_variant_t variant; + reg_t regs[UREG_COUNT]; + mcontext_t mctx; + bool preemptable; +};