From 9b9706d39d26ac93162a12cd17b9d3888fa48e67 Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Tue, 1 Jan 2002 21:17:14 +0000 Subject: [PATCH] Add constants needed by user trap code. --- sys/sparc64/sparc64/genassym.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/sparc64/sparc64/genassym.c b/sys/sparc64/sparc64/genassym.c index e115bd2dc2e1..b518126f16cf 100644 --- a/sys/sparc64/sparc64/genassym.c +++ b/sys/sparc64/sparc64/genassym.c @@ -61,6 +61,7 @@ #include #include #include +#include ASSYM(KERNBASE, KERNBASE); @@ -69,6 +70,7 @@ ASSYM(ENAMETOOLONG, ENAMETOOLONG); ASSYM(KSTACK_PAGES, KSTACK_PAGES); ASSYM(KSTACK_GUARD_PAGES, KSTACK_GUARD_PAGES); +ASSYM(PANIC_STACK_PAGES, PANIC_STACK_PAGES); ASSYM(UAREA_PAGES, UAREA_PAGES); ASSYM(PAGE_SIZE, PAGE_SIZE); @@ -155,6 +157,8 @@ ASSYM(NIV, NIV); ASSYM(KEF_ASTPENDING, KEF_ASTPENDING); ASSYM(KEF_NEEDRESCHED, KEF_NEEDRESCHED); +ASSYM(MD_UTRAP, offsetof(struct mdproc, md_utrap)); + ASSYM(P_COMM, offsetof(struct proc, p_comm)); ASSYM(P_MD, offsetof(struct proc, p_md)); ASSYM(P_PID, offsetof(struct proc, p_pid)); @@ -234,3 +238,5 @@ ASSYM(TF_FPRS, offsetof(struct trapframe, tf_fprs)); ASSYM(TF_PIL, offsetof(struct trapframe, tf_pil)); ASSYM(TF_WSTATE, offsetof(struct trapframe, tf_wstate)); ASSYM(TF_SIZEOF, sizeof(struct trapframe)); + +ASSYM(UT_MAX, UT_MAX);