Changeset ac92b85 in mainline
- Timestamp:
- 2012-02-25T08:19:18Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ccac91e
- Parents:
- f577058 (diff), 087768f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/src/pal_asm.S
rf577058 rac92b85 32 32 33 33 pal_static_call: 34 alloc loc0 = ar.pfs, 7, 5, 0, 0 34 alloc loc0 = ar.pfs, 7, 6, 0, 0 35 36 mov loc1 = psr ;; 37 mov psr.l = r0 ;; 38 srlz.i 39 srlz.d 35 40 36 mov loc 1= gp37 mov loc 2= rp41 mov loc2 = gp 42 mov loc3 = rp 38 43 39 addl loc 3= @gprel(pal_proc), gp40 44 addl loc4 = @gprel(pal_proc), gp 45 41 46 mov r28 = in0 42 47 mov r29 = in1 … … 44 49 mov r31 = in3 ;; 45 50 46 ld8 loc 3 = [loc3]47 movl loc 4= 0f ;;51 ld8 loc4 = [loc4] 52 movl loc5 = 0f ;; 48 53 49 mov b6 = loc 350 mov rp = loc 4;;54 mov b6 = loc4 55 mov rp = loc5 ;; 51 56 br.cond.sptk.many b6 52 57 53 58 0: 59 mov psr.l = loc1 ;; 60 srlz.i 61 srlz.d 62 54 63 cmp.ne p7,p0 = 0, in4 55 64 cmp.ne p8,p0 = 0, in5 … … 60 69 (p9) st8 [in6] = r11 61 70 62 mov gp = loc 163 mov rp = loc 2;;71 mov gp = loc2 72 mov rp = loc3 ;; 64 73 65 74 mov ar.pfs = loc0 -
boot/arch/ia64/src/sal_asm.S
rf577058 rac92b85 29 29 .explicit 30 30 31 #define STACK_SCRATCH_AREA 16 32 #define STACK_IN8 (0 + STACK_SCRATCH_AREA) 33 #define STACK_IN9 (8 + STACK_SCRATCH_AREA) 34 #define STACK_IN10 (16 + STACK_SCRATCH_AREA) 35 31 36 .global sal_call 32 37 … … 39 44 # 40 45 sal_call: 41 alloc loc0 = ar.pfs, 11, 5, 8, 046 alloc loc0 = ar.pfs, 8, 8, 8, 0 42 47 48 adds sp = -STACK_SCRATCH_AREA, sp 49 43 50 mov loc1 = gp 44 51 mov loc2 = rp … … 57 64 58 65 ld8 loc3 = [loc3] 59 ld8 gp = [loc4] ;; 66 ld8 gp = [loc4] 67 68 adds r14 = STACK_IN8 + STACK_SCRATCH_AREA, sp 69 adds r15 = STACK_IN9 + STACK_SCRATCH_AREA, sp 70 adds r16 = STACK_IN10 + STACK_SCRATCH_AREA, sp ;; 71 72 ld8 loc5 = [r14] 73 ld8 loc6 = [r15] 74 ld8 loc7 = [r16] 60 75 61 76 mov b6 = loc3 ;; 62 77 br.call.sptk.many rp = b6 63 78 64 cmp.ne p7,p0 = 0, in865 cmp.ne p8,p0 = 0, in966 cmp.ne p9,p0 = 0, in10;;79 cmp.ne p7,p0 = 0, loc5 80 cmp.ne p8,p0 = 0, loc6 81 cmp.ne p9,p0 = 0, loc7 ;; 67 82 68 (p7) st8 [ in8] = r969 (p8) st8 [ in9] = r1070 (p9) st8 [ in10] = r1183 (p7) st8 [loc5] = r9 84 (p8) st8 [loc6] = r10 85 (p9) st8 [loc7] = r11 71 86 72 87 mov gp = loc1 73 mov rp = loc2 ;; 88 mov rp = loc2 89 90 adds sp = STACK_SCRATCH_AREA, sp ;; 74 91 75 92 mov ar.pfs = loc0 76 93 br.ret.sptk.many rp 94 -
kernel/arch/ia64/include/asm.h
rf577058 rac92b85 61 61 asm volatile ( 62 62 "mf\n" 63 "mf.a\n" 63 64 ::: "memory" 64 65 ); … … 74 75 asm volatile ( 75 76 "mf\n" 77 "mf.a\n" 76 78 ::: "memory" 77 79 ); … … 87 89 asm volatile ( 88 90 "mf\n" 91 "mf.a\n" 89 92 ::: "memory" 90 93 ); … … 104 107 else 105 108 v = *port; 109 110 asm volatile ( 111 "mf.a\n" 112 ::: "memory" 113 ); 106 114 107 115 return v; … … 121 129 else 122 130 v = *port; 131 132 asm volatile ( 133 "mf.a\n" 134 ::: "memory" 135 ); 123 136 124 137 return v; … … 138 151 else 139 152 v = *port; 153 154 asm volatile ( 155 "mf.a\n" 156 ::: "memory" 157 ); 140 158 141 159 return v; -
uspace/lib/c/arch/ia64/include/ddi.h
rf577058 rac92b85 62 62 63 63 asm volatile ("mf\n" ::: "memory"); 64 asm volatile ("mf.a\n" ::: "memory"); 64 65 } 65 66 … … 76 77 77 78 asm volatile ("mf\n" ::: "memory"); 79 asm volatile ("mf.a\n" ::: "memory"); 78 80 } 79 81 … … 90 92 91 93 asm volatile ("mf\n" ::: "memory"); 94 asm volatile ("mf.a\n" ::: "memory"); 92 95 } 93 96 … … 106 109 v = *port; 107 110 } 111 112 asm volatile ("mf.a\n" ::: "memory"); 108 113 109 114 return v; … … 125 130 } 126 131 132 asm volatile ("mf.a\n" ::: "memory"); 133 127 134 return v; 128 135 } … … 143 150 } 144 151 152 asm volatile ("mf.a\n" ::: "memory"); 153 145 154 return v; 146 155 }
Note:
See TracChangeset
for help on using the changeset viewer.