You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
295 B
15 lines
295 B
4 years ago
|
#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;
|
||
|
};
|