summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/gen68360/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-09-18 16:01:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-09-18 16:01:52 +0000
commit6b4ca3125e022552c9b8e3747987267092efaf9e (patch)
treeb97aae323eb7a762f3e90f2e4886578f230995b2 /c/src/lib/libbsp/m68k/gen68360/include
parentupdated (diff)
downloadrtems-6b4ca3125e022552c9b8e3747987267092efaf9e.tar.bz2
Merged changes from Eric Norum:
Enable 68360 watchdog. The watchdog control register is a `write-once' register, so the watchdog has to be enabled in the boot roms if it is to be used at all. To make the change transparent I added a default feed of the watchdog to the clock interrupt handler. This can be overridden if the application wants to handle the watchdog. The only difficulty with this change is that an application has to either include the clock driver or handle the watchdog explicitely. I don't think this is much of a problem since I am pretty sure that almost every application includes the clock driver.
Diffstat (limited to 'c/src/lib/libbsp/m68k/gen68360/include')
-rw-r--r--c/src/lib/libbsp/m68k/gen68360/include/bsp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
index bcb0044401..70d18cdceb 100644
--- a/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
+++ b/c/src/lib/libbsp/m68k/gen68360/include/bsp.h
@@ -121,6 +121,7 @@ void bsp_cleanup( void );
void M360ExecuteRISC( rtems_unsigned16 command );
void *M360AllocateBufferDescriptors( int count );
void *M360AllocateRiscTimers( int count );
+extern char M360DefaultWatchdogFeeder;
m68k_isr_entry set_vector(
rtems_isr_entry handler,