diff options
author | benno <benno@FreeBSD.org> | 2002-05-10 14:19:44 +0000 |
---|---|---|
committer | benno <benno@FreeBSD.org> | 2002-05-10 14:19:44 +0000 |
commit | 6950bc7f5bc1f64a8363184c6e30ef52cef2187a (patch) | |
tree | bddc9b4753038c85c32eae4ff22c0835522b36b3 | |
parent | 75c39d9e5c220e37590799f71782e9286492d564 (diff) | |
download | FreeBSD-src-6950bc7f5bc1f64a8363184c6e30ef52cef2187a.zip FreeBSD-src-6950bc7f5bc1f64a8363184c6e30ef52cef2187a.tar.gz |
Install the system call trap handler.
-rw-r--r-- | sys/powerpc/aim/machdep.c | 1 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 3683b61..1330e0f 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -349,6 +349,7 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); + bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize); /* * Start initializing proc0 and thread0. diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index 3683b61..1330e0f 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -349,6 +349,7 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, char *args) bcopy(&decrint, (void *)EXC_DECR, (size_t)&decrsize); bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); + bcopy(&trapcode, (void *)EXC_SC, (size_t)&trapsize); /* * Start initializing proc0 and thread0. |