Changeset 27d4569 in rtems


Ignore:
Timestamp:
Jan 29, 2008, 10:01:18 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
fccd256
Parents:
83a66aa
Message:

2008-01-29 Eric Norum <norume@…>

  • startup/bspstart.c: Fixes a lockup which occurs when a speculative load occurs from a particular range of memory.
Location:
c/src/lib/libbsp/powerpc/mvme3100
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme3100/ChangeLog

    r83a66aa r27d4569  
     12008-01-29      Eric Norum <norume@aps.anl.gov>
     2
     3        * startup/bspstart.c: Fixes a lockup which occurs when a speculative
     4        load occurs from a particular range of memory.
     5
    162008-01-09      Eric Norum <norume@aps.anl.gov>
    27
  • c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c

    r83a66aa r27d4569  
    229229 */
    230230
     231#include <libcpu/spr.h>
     232
     233SPR_RW(HID1)
     234
    231235void bsp_start( void )
    232236{
     
    317321        printk("Going to start PCI buses scanning and initialization\n");
    318322#endif
     323
     324        {
     325                /* disable checking for memory-select errors */
     326                *(volatile uint32_t*)0xe1002e44 |= 1;
     327                /* clear all pending errors */
     328                *(volatile uint32_t*)0xe1002e40  = 0xffffffff;
     329                /* enable machine check for bad bus errors */
     330                _write_HID1( _read_HID1() | 0x20000 );
     331        }
    319332
    320333        printk("Build Date: %s\n",BSP_build_date);
Note: See TracChangeset for help on using the changeset viewer.