Changeset View
Changeset View
Standalone View
Standalone View
head/sys/riscv/include/stack.h
Show All 40 Lines | #define INKERNEL(va) ((va) >= VM_MIN_KERNEL_ADDRESS && \ | ||||
(va) <= VM_MAX_KERNEL_ADDRESS) | (va) <= VM_MAX_KERNEL_ADDRESS) | ||||
struct unwind_state { | struct unwind_state { | ||||
uintptr_t fp; | uintptr_t fp; | ||||
uintptr_t sp; | uintptr_t sp; | ||||
uintptr_t pc; | uintptr_t pc; | ||||
}; | }; | ||||
int unwind_frame(struct unwind_state *); | bool unwind_frame(struct thread *, struct unwind_state *); | ||||
#endif /* !_MACHINE_STACK_H_ */ | #endif /* !_MACHINE_STACK_H_ */ |