Changeset 7b59de1c in rtems
- Timestamp:
- Jul 18, 2003, 5:24:31 PM (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- ec821af
- Parents:
- ae20a3e2
- Location:
- c/src/lib/libbsp/powerpc/mpc8260ads
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog
rae20a3e2 r7b59de1c 1 2003-07-18 Till Straumann <strauman@slac.stanford.edu> 2 3 PR 288/rtems 4 * startup/bspstart.c: _ISR_Nest_level is now properly maintained. 5 1 6 2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 7 -
c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c
rae20a3e2 r7b59de1c 48 48 #include <rtems/bspIo.h> 49 49 #include <libcpu/cpuIdent.h> 50 #include <libcpu/spr.h> 50 51 51 52 #include <string.h> … … 56 57 57 58 59 SPR_RW(SPRG0) 60 SPR_RW(SPRG1) 58 61 59 62 /* … … 220 223 ppc_cpu_revision_t myCpuRevision; 221 224 register unsigned char* intrStack; 222 register unsigned int intrNestingLevel = 0;223 225 224 226 … … 249 251 250 252 intrStack = (((unsigned char*)&intrStackPtr) - CPU_MINIMUM_STACK_FRAME_SIZE); 251 asm volatile ("mtspr 273, %0" : "=r" (intrStack) : "0" (intrStack)); 252 asm volatile ("mtspr 272, %0" : "=r" (intrNestingLevel) : "0" (intrNestingLevel)); 253 _write_SPRG1((unsigned int)intrStack); 254 /* signal that we have fixed PR288 - eventually, this should go away */ 255 _write_SPRG0(PPC_BSP_HAS_FIXED_PR288); 253 256 254 257 /*
Note: See TracChangeset
for help on using the changeset viewer.