forked from haiwan/sledge
parent
f42ada6eca
commit
8567da117b
@ -0,0 +1,14 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <ucontext.h>
|
||||||
|
|
||||||
|
#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;
|
||||||
|
};
|
Loading…
Reference in new issue