1 #ifndef __LUNAIX_ARCH_HART_H
2 #define __LUNAIX_ARCH_HART_H
5 #include <lunaix/compiler.h>
22 struct hart_state* parent_state;
26 hart_pc(struct hart_state* state);
29 hart_sp(struct hart_state* state);
32 kernel_context(struct hart_state* hstate);
35 hart_stack_frame(struct hart_state* hstate);
38 hart_vector_stamp(struct hart_state* hstate);
41 hart_ecause(struct hart_state* hstate);
44 hart_parent_state(struct hart_state* hstate);
47 hart_push_state(struct hart_state* p_hstate, struct hart_state* hstate);
51 #endif /* __LUNAIX_ARCH_HART_H */