Changeset af3fcf12 in rtems


Ignore:
Timestamp:
Dec 2, 2009, 12:30:45 AM (9 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
559aebce
Parents:
10098f9
Message:

2009-12-01 Till Straumann <strauman@…>

  • shared/startup/probeMemEnd.c: removed here_s_the_real_end check. rtems_end should be good enough.
Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

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

    r10098f9 raf3fcf12  
     12009-12-01      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * shared/startup/probeMemEnd.c: removed __here_s_the_real_end
     4        check. __rtems_end should be good enough.
     5
    162009-11-11      Till Straumann <strauman@slac.stanford.edu>
    27
  • c/src/lib/libbsp/powerpc/shared/startup/probeMemEnd.c

    r10098f9 raf3fcf12  
    9090#define __DO_ALIGN(a, s)        (((uint32_t)(a) + (s)-1) & ~((s)-1))
    9191#define __ALIGN(a)      __DO_ALIGN(a, (1<<LD_MEM_PROBE_STEP))
    92 
    93 extern void __here_s_the_real_end(void);
    9492
    9593#define SWITCH_MSR(msr)         \
     
    186184         */
    187185
    188         /* are we really at the highest address ? */
    189         if ( probe < (volatile uint32_t *)__here_s_the_real_end ) {
    190                 probe = (volatile uint32_t*)__ALIGN(__here_s_the_real_end);
    191         }
    192 
    193186        if ( CPU_lockUnlockCaches(1) )
    194187                return 0;
    195188
    196         asm volatile("mfmsr %0":"=r"(flags));
     189        _CPU_MSR_GET(flags);
    197190
    198191        SWITCH_MSR( flags & ~(MSR_EE|MSR_DR|MSR_IR) );
     
    226219        return (uint32_t) probe;
    227220}
    228 
    229 void __here_s_the_real_end(void) {}
Note: See TracChangeset for help on using the changeset viewer.