X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bffa3430fbbaaad29bec0b5bee9c1f0bfc7fd068..34f6af4f61e0eec9c96113e07f140b609b4113c8:/lunaix-os/arch/generic/includes/sys/hart.h 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 e820608..0000000 --- a/lunaix-os/arch/generic/includes/sys/hart.h +++ /dev/null @@ -1,51 +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; - -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 */