diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-02-14 21:53:21 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-02-14 21:53:21 +0000 |
commit | 7d6c736c1ac4ba975e87fccf753ac38511cad309 (patch) | |
tree | 6dfd556c5a4c93cf7ba24c86463c20d794eeeafa /sys/arch/sun3 | |
parent | 047dbc1820f79eca21ce3c36f78584ce5c5769dd (diff) |
add SPL#, back out Makefile.sun3 change
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/conf/Makefile.sun3 | 6 | ||||
-rw-r--r-- | sys/arch/sun3/sun3/genassym.c | 10 |
2 files changed, 11 insertions, 5 deletions
diff --git a/sys/arch/sun3/conf/Makefile.sun3 b/sys/arch/sun3/conf/Makefile.sun3 index 60210a10945..807c5b8423f 100644 --- a/sys/arch/sun3/conf/Makefile.sun3 +++ b/sys/arch/sun3/conf/Makefile.sun3 @@ -112,12 +112,10 @@ assym.h: genassym # the compiler used as HOSTED_CC (must match the native compiler). # Often this is not possible at all, and you just have to build # the assym.h file by hand on some other machine. -gwr -genassym: genassym.i +genassym: ${SUN3}/sun3/genassym.c + ${CC} ${CPPFLAGS} -E $< > $@.i ${HOSTED_CC} -o $@ $@.i -genassym.i: ${SUN3}/sun3/genassym.c - ${CC} ${CPPFLAGS} -E ${SUN3}/sun3/genassym.c > $@ - param.c: $S/conf/param.c rm -f param.c cp $S/conf/param.c . diff --git a/sys/arch/sun3/sun3/genassym.c b/sys/arch/sun3/sun3/genassym.c index 29472b9132e..c7781ec83a2 100644 --- a/sys/arch/sun3/sun3/genassym.c +++ b/sys/arch/sun3/sun3/genassym.c @@ -1,4 +1,4 @@ -/* $OpenBSD: genassym.c,v 1.7 1997/02/14 21:13:49 kstailey Exp $ */ +/* $OpenBSD: genassym.c,v 1.8 1997/02/14 21:53:18 kstailey Exp $ */ /* $NetBSD: genassym.c,v 1.32 1996/10/23 16:39:27 gwr Exp $ */ /* @@ -200,5 +200,13 @@ main() def("FPF_REGS", &fpf->fpf_regs[0]); def("FPF_FPCR", &fpf->fpf_fpcr); + /* SPL values */ + def("SPL1", PSL_S | PSL_IPL1); + def("SPL2", PSL_S | PSL_IPL2); + def("SPL3", PSL_S | PSL_IPL3); + def("SPL4", PSL_S | PSL_IPL4); + def("SPL5", PSL_S | PSL_IPL5); + def("SPL6", PSL_S | PSL_IPL6); + exit(0); } |