Changeset View
Changeset View
Standalone View
Standalone View
head/sys/riscv/riscv/genassym.c
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | |||||
ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); | ASSYM(TD_PCB, offsetof(struct thread, td_pcb)); | ||||
ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); | ASSYM(TD_FLAGS, offsetof(struct thread, td_flags)); | ||||
ASSYM(TD_PROC, offsetof(struct thread, td_proc)); | ASSYM(TD_PROC, offsetof(struct thread, td_proc)); | ||||
ASSYM(TD_FRAME, offsetof(struct thread, td_frame)); | ASSYM(TD_FRAME, offsetof(struct thread, td_frame)); | ||||
ASSYM(TD_MD, offsetof(struct thread, td_md)); | ASSYM(TD_MD, offsetof(struct thread, td_md)); | ||||
ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); | ASSYM(TD_LOCK, offsetof(struct thread, td_lock)); | ||||
ASSYM(TF_SIZE, sizeof(struct trapframe)); | ASSYM(TF_SIZE, roundup2(sizeof(struct trapframe), STACKALIGNBYTES + 1)); | ||||
ASSYM(TF_RA, offsetof(struct trapframe, tf_ra)); | ASSYM(TF_RA, offsetof(struct trapframe, tf_ra)); | ||||
ASSYM(TF_SP, offsetof(struct trapframe, tf_sp)); | ASSYM(TF_SP, offsetof(struct trapframe, tf_sp)); | ||||
ASSYM(TF_GP, offsetof(struct trapframe, tf_gp)); | ASSYM(TF_GP, offsetof(struct trapframe, tf_gp)); | ||||
ASSYM(TF_TP, offsetof(struct trapframe, tf_tp)); | ASSYM(TF_TP, offsetof(struct trapframe, tf_tp)); | ||||
ASSYM(TF_T, offsetof(struct trapframe, tf_t)); | ASSYM(TF_T, offsetof(struct trapframe, tf_t)); | ||||
ASSYM(TF_S, offsetof(struct trapframe, tf_s)); | ASSYM(TF_S, offsetof(struct trapframe, tf_s)); | ||||
ASSYM(TF_A, offsetof(struct trapframe, tf_a)); | ASSYM(TF_A, offsetof(struct trapframe, tf_a)); | ||||
ASSYM(TF_SEPC, offsetof(struct trapframe, tf_sepc)); | ASSYM(TF_SEPC, offsetof(struct trapframe, tf_sepc)); | ||||
Show All 12 Lines |