X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/d1b1c8d9119229dbeed06cd252917e54a1cb77f6..34f6af4f61e0eec9c96113e07f140b609b4113c8:/lunaix-os/arch/generic/includes/sys/hart.h?ds=inline diff --git a/lunaix-os/arch/generic/includes/sys/hart.h b/lunaix-os/arch/generic/includes/sys/hart.h deleted file mode 100644 index 340a0ee..0000000 --- a/lunaix-os/arch/generic/includes/sys/hart.h +++ /dev/null @@ -1,54 +0,0 @@ -#ifndef __LUNAIX_ARCH_HART_H -#define __LUNAIX_ARCH_HART_H - -#ifndef __ASM__ -#include -#include - -struct exec_param; - -struct regcontext -{ - -} compact; - -struct hart_state -{ - -} compact; - -struct exec_param -{ - struct hart_state* parent_state; -} compact; - -void -hart_flow_redirect(struct hart_state* state, ptr_t pc, ptr_t sp); - -ptr_t -hart_pc(struct hart_state* state); - -ptr_t -hart_sp(struct hart_state* state); - -bool -kernel_context(struct hart_state* hstate); - -ptr_t -hart_stack_frame(struct hart_state* hstate); - -int -hart_vector_stamp(struct hart_state* hstate); - -unsigned int -hart_ecause(struct hart_state* hstate); - -struct hart_state* -hart_parent_state(struct hart_state* hstate); - -void -hart_push_state(struct hart_state* p_hstate, struct hart_state* hstate); - -#endif - -#endif /* __LUNAIX_ARCH_HART_H */