PERFORCE change 29985 for review
Juli Mallett
jmallett at FreeBSD.org
Mon Apr 28 15:48:31 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=29985
Change 29985 by jmallett at jmallett_dalek on 2003/04/28 15:48:15
Useful proc and thread fields.
Affected files ...
.. //depot/projects/mips/sys/mips/mips/genassym.c#6 edit
Differences ...
==== //depot/projects/mips/sys/mips/mips/genassym.c#6 (text+ko) ====
@@ -47,6 +47,19 @@
ASSYM(TDF_ASTPENDING, TDF_ASTPENDING);
ASSYM(TDF_NEEDRESCHED, TDF_NEEDRESCHED);
+ASSYM(TD_FLAGS, offsetof(struct thread, td_flags));
+
+ASSYM(TD_FRAME, offsetof(struct thread, td_frame));
+ASSYM(TD_KSTACK, offsetof(struct thread, td_kstack));
+ASSYM(TD_PCB, offsetof(struct thread, td_pcb));
+ASSYM(TD_PROC, offsetof(struct thread, td_proc));
+
+ASSYM(TD_MD_REGS, offsetof(struct thread, td_md.md_regs));
+ASSYM(TD_MD_UPTE_0, offsetof(struct thread, td_md.md_upte[0]));
+ASSYM(TD_MD_UPTE_1, offsetof(struct thread, td_md.md_upte[1]));
+
+ASSYM(P_UAREA, offsetof(struct proc, p_uarea));
+
ASSYM(FRAME_SIZ, sizeof(struct frame));
ASSYM(FRAME_ZERO, offsetof(struct frame, f_regs[ZERO]));
ASSYM(FRAME_AST, offsetof(struct frame, f_regs[AST]));
More information about the p4-projects
mailing list