Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running.

This commit is contained in:
Eric Norum
2005-07-28 18:57:25 +00:00
parent 31e08a184b
commit de5bc2130b
5 changed files with 13 additions and 4 deletions

View File

@@ -1,3 +1,9 @@
2005-07-28 Eric Norum <norume@aps.anl.gov>
* mvme5500/startup/bspstart.c
* shared/clock/p_clock.c
Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running.
2005-04-28 Joel Sherrill <joel@OARcorp.com>
* configure.ac: Remove reference to dmv177.

View File

@@ -406,6 +406,7 @@ void bsp_start( void )
/*
* Initialize default raw exception hanlders. See vectors/vectors_init.c
*/
Cpu_table.exceptions_in_RAM = TRUE;
initialize_exceptions();
/*
* Init MMU block address translation to enable hardware

View File

@@ -19,14 +19,12 @@
#include <libcpu/c_clock.h>
static rtems_irq_connect_data clockIrqData;
/*
= {BSP_DECREMENTER,
static rtems_irq_connect_data clockIrqData = {BSP_DECREMENTER,
clockIsr,
NULL,
(rtems_irq_enable)clockOn,
(rtems_irq_disable)clockOff,
(rtems_irq_is_enabled) clockIsOn};
*/
int BSP_disconnect_clock_handler (void)
{
return BSP_remove_rtems_irq_handler (&clockIrqData);

View File

@@ -1,3 +1,7 @@
2005-07-28 Eric Norum <norume@aps.anl.gov>
* mpc6xx/clock/c_clock.c: Changes provided by Phillip Sorensen <pas37@cornell.edu> to get MVME550 BSP running.
2005-06-17 Joel Sherrill <joel@OARcorp.com>
* mpc5xx/vectors/vectors.h: Add hack to avoid warning.

View File

@@ -81,7 +81,7 @@ int decr;
* The driver has seen another tick.
*/
do {
asm volatile ("mfdec %0; add %0, %0, %1; mtdec %0":"=r"(decr):"r"(Clock_Decrementer_value));
asm volatile ("mfdec %0; add %0, %0, %1; mtdec %0":"=&r"(decr):"r"(Clock_Decrementer_value));
Clock_driver_ticks += 1;