summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-11-03 23:33:40 +0000
committerkmacy <kmacy@FreeBSD.org>2006-11-03 23:33:40 +0000
commit744ac9e5e7811ba6d2189cec3b6731c1e6332e92 (patch)
tree4efed6173e0514e9acefff29f13900f525d04fc3 /sys
parent9fe01d5c9e750d0622b816574fb14f9c0f043cac (diff)
downloadFreeBSD-src-744ac9e5e7811ba6d2189cec3b6731c1e6332e92.zip
FreeBSD-src-744ac9e5e7811ba6d2189cec3b6731c1e6332e92.tar.gz
make pcb pad area accessible from asm
Approved by: scottl (standing in for rwatson as mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/sparc64/genassym.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/genassym.c b/sys/sparc64/sparc64/genassym.c
index 5639e3e..84c3f3a 100644
--- a/sys/sparc64/sparc64/genassym.c
+++ b/sys/sparc64/sparc64/genassym.c
@@ -73,6 +73,7 @@ __FBSDID("$FreeBSD$");
#include <machine/utrap.h>
#ifdef SUN4V
#include <machine/mmu.h>
+#include <machine/trap.h>
#include <machine/tte_hash.h>
#endif
@@ -300,6 +301,7 @@ ASSYM(PCB_FLAGS, offsetof(struct pcb, pcb_flags));
ASSYM(PCB_NSAVED, offsetof(struct pcb, pcb_nsaved));
ASSYM(PCB_PC, offsetof(struct pcb, pcb_pc));
ASSYM(PCB_SP, offsetof(struct pcb, pcb_sp));
+ASSYM(PCB_PAD, offsetof(struct pcb, pcb_pad));
OpenPOWER on IntegriCloud