Changeset c9e7297 in rtems


Ignore:
Timestamp:
04/16/01 19:30:13 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d74a92d
Parents:
3491e9e
Message:

2001-04-16 Joel Sherrill <joel@…>

  • start/start.S, startup/bspstart.c, startup/linkcmds: Modifications made with Gregory Menke <gregory.menke@…> as he debugged this BSP using a logic analyzer.
Location:
c/src/lib/libbsp/mips/genmongoosev/startup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/genmongoosev/startup/bspstart.c

    r3491e9e rc9e7297  
    2121#include <rtems/libcsupport.h>
    2222#include <libcpu/mongoose-v.h>
    23 
    2423
    2524/*
     
    7271
    7372}
    74 
    7573 
    7674/*
     
    9694  BSP_Configuration.work_space_start = (void *) &WorkspaceBase;
    9795
     96  /*mips_set_sr( 0xff00 );   all interrupts unmasked but globally off */
     97                          /* depend on the IRC to take care of things */
     98
    9899  MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_CAUSE_REGISTER, 0 );
    99   mips_set_sr( 0xff00 );  /* all interrupts unmasked but globally off */
    100                           /* depend on the IRC to take care of things */
     100  MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_MASK_REGISTER, 0 );
     101
     102  /*
     103  mips_set_sr( (SR_CU0 | SR_CU1 | SR_IBIT1 | SR_IBIT2 | SR_IBIT3 | SR_IBIT4 | SR_IBIT6 | SR_IBIT8) );
     104  */
     105  mips_set_sr( (SR_CU0 | SR_CU1 | SR_IBIT1 | SR_IBIT2) );
     106
    101107  mips_install_isr_entries();
     108
     109  MONGOOSEV_WRITE( MONGOOSEV_PERIPHERAL_FUNCTION_INTERRUPT_CAUSE_REGISTER, 0 );
    102110}
    103111
  • c/src/lib/libbsp/mips/genmongoosev/startup/linkcmds

    r3491e9e rc9e7297  
    1717SECTIONS
    1818{
    19     . = 0x80000000;
     19/*
     20Ken's response is correct.  Locate it at 0x80020000 or higher.  The PMON
     21data segment after the exception vectors and below 0x80020000,
     22
     23. = 0x80020000;
     24*/
     25    . = 0x80020000;
    2026    .text :
    2127    {
Note: See TracChangeset for help on using the changeset viewer.