diff options
author | benno <benno@FreeBSD.org> | 2002-03-07 12:22:44 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-03-07 12:22:44 +0000 |
commit | 65393002bd567f99889ecad24f1931d2b0a081ef (patch) | |
tree | 4e0103ca5b4903175994a213740a15ae760ca232 /sys/powerpc | |
parent | 5784524774ef068c190b750924d723eeba19f20f (diff) | |
download | FreeBSD-src-65393002bd567f99889ecad24f1931d2b0a081ef.zip FreeBSD-src-65393002bd567f99889ecad24f1931d2b0a081ef.tar.gz |
Install the DSI and ISI trap handlers and their appropriate locations.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 0f75ee4..654c566 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -363,6 +363,8 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) * XXX: Initialize the interrupt tables. */ bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); + bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); + bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); /* * Start initializing proc0 and thread0. diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index 0f75ee4..654c566 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -363,6 +363,8 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) * XXX: Initialize the interrupt tables. */ bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); + bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); + bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); /* * Start initializing proc0 and thread0. |