diff options
author | grehan <grehan@FreeBSD.org> | 2003-03-19 08:33:21 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-03-19 08:33:21 +0000 |
commit | 96619aa7632745629d0d246a734063eb228edb99 (patch) | |
tree | 08fe8437bd6946ba3ecc2c93a32ed1b5368a3a88 /sys/powerpc/aim | |
parent | a2cbf4fe43cc6277ee36f49d3c69d72217c3a028 (diff) | |
download | FreeBSD-src-96619aa7632745629d0d246a734063eb228edb99.zip FreeBSD-src-96619aa7632745629d0d246a734063eb228edb99.tar.gz |
Add machine check handler. While generally useful, it's required when
issuing PCI config cycles on MPC106-based PowerMacs, which cause machine
checks when accessing non-existent/empty slots.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index b745756..92cc11e 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -292,10 +292,10 @@ powerpc_init(u_int startkernel, u_int endkernel, u_int basekernel, void *mdp) #ifdef DDB kdb_init(); #endif - /* * XXX: Initialize the interrupt tables. */ + bcopy(&trapcode, (void *)EXC_MCHK, (size_t)&trapsize); bcopy(&dsitrap, (void *)EXC_DSI, (size_t)&dsisize); bcopy(&isitrap, (void *)EXC_ISI, (size_t)&isisize); bcopy(&trapcode, (void *)EXC_EXI, (size_t)&trapsize); |