From e89482f7cb2750048bdcededaf12b402cff304ff Mon Sep 17 00:00:00 2001 From: Benno Rice Date: Fri, 10 May 2002 14:19:44 +0000 Subject: [PATCH] Install the system call trap handler. --- sys/powerpc/aim/machdep.c | 1 + sys/powerpc/powerpc/machdep.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index 3683b612f99..1330e0f7a59 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 3683b612f99..1330e0f7a59 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.