Changeset e1c68e0c in mainline
- Timestamp:
- 2006-03-07T10:09:40Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd373bb
- Parents:
- 83d2d0e
- Location:
- arch/ia64
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/include/interrupt.h
r83d2d0e re1c68e0c 50 50 __address ar_bsp; 51 51 __address ar_bspstore; 52 __address ar_bspstore_new; 52 53 __u64 ar_rnat; 53 54 __u64 ar_ifs; -
arch/ia64/include/mm/memory_init.h
r83d2d0e re1c68e0c 32 32 #include <config.h> 33 33 34 #define get_memory_size() CONFIG_MEMORY_SIZE34 #define get_memory_size() (512*1024*1024) /* 512M */ 35 35 36 36 #endif -
arch/ia64/src/ivt.S
r83d2d0e re1c68e0c 33 33 #include <align.h> 34 34 35 #define STACK_ITEMS 1 335 #define STACK_ITEMS 14 36 36 #define STACK_FRAME_SIZE ALIGN_UP((STACK_ITEMS*STACK_ITEM_SIZE) + STACK_SCRATCH_AREA_SIZE, STACK_ALIGNMENT) 37 37 … … 142 142 143 143 /* assume kernel backing store */ 144 /* mov ar.bspstore = r28 ;; */144 mov ar.bspstore = r28 ;; 145 145 146 146 mov r29 = ar.bsp 147 147 148 148 st8 [r31] = r27, -8 ;; /* save ar.rnat */ 149 st8 [r31] = r28, -8 ;; /* save new value written to ar.bspstore */ 149 150 st8 [r31] = r28, -8 ;; /* save ar.bspstore */ 150 151 st8 [r31] = r29, -8 /* save ar.bsp */ … … 162 163 add r31 = STACK_SCRATCH_AREA_SIZE, r12 ;; 163 164 164 mov r28 = ar.bspstore /* calculate loadrs (step 2) */ 165 ld8 r29 = [r31], +8 ;; /* load ar.bsp */ 166 sub r27 = r29 , r28 ;; 165 ld8 r30 = [r31], +8 ;; /* load ar.bsp */ 166 ld8 r29 = [r31], +8 ;; /* load ar.bspstore */ 167 ld8 r28 = [r31], +8 ;; /* load ar.bspstore_new */ 168 sub r27 = r30 , r28 ;; /* calculate loadrs (step 2) */ 167 169 shl r27 = r27, 16 168 170 … … 174 176 loadrs /* (step 3) */ 175 177 176 ld8 r28 = [r31], +8 ;; /* load ar.bspstore */177 178 ld8 r27 = [r31], +8 ;; /* load ar.rnat */ 178 179 ld8 r26 = [r31], +8 ;; /* load cr.ifs */ … … 180 181 ld8 r24 = [r31], +8 ;; /* load ar.rsc */ 181 182 182 /* mov ar.bspstore = r28 ;; *//* (step 4) */183 /* mov ar.rnat = r27 *//* (step 5) */183 mov ar.bspstore = r29 ;; /* (step 4) */ 184 mov ar.rnat = r27 /* (step 5) */ 184 185 185 186 mov ar.pfs = r25 /* (step 6) */
Note:
See TracChangeset
for help on using the changeset viewer.