From 14ec2d48d21c2c66b7f058cd67d5a038e23db423 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 13 Jun 2003 13:41:05 +0000 Subject: 2003-06-13 Till Straumann PR 415/bsps * include/bsp.h, pci/detect_raven_bridge.c, startup/bspstart.c: Support enabling MCP exceptions on the host bridge. This can be used for memory probing on the VME bus. --- c/src/lib/libbsp/powerpc/shared/include/bsp.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'c/src/lib/libbsp/powerpc/shared/include') diff --git a/c/src/lib/libbsp/powerpc/shared/include/bsp.h b/c/src/lib/libbsp/powerpc/shared/include/bsp.h index b2062c3914..5e758343df 100644 --- a/c/src/lib/libbsp/powerpc/shared/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/shared/include/bsp.h @@ -91,6 +91,21 @@ extern void rtemsReboot(void); extern int BSP_disconnect_clock_handler (void); extern int BSP_connect_clock_handler (void); +/* clear hostbridge errors + * + * enableMCP: whether to enable MCP checkstop / machine check interrupts + * on the hostbridge and in HID0. + * + * NOTE: HID0 and MEREN are left alone if this flag is 0 + * + * quiet : be silent + * + * RETURNS : raven MERST register contents (lowermost 16 bits), 0 if + * there were no errors + */ +extern unsigned long _BSP_clear_hostbridge_errors(int enableMCP, int quiet); + + /* * TM27 stuff */ -- cgit v1.2.3