diff options
-rw-r--r-- | arch/arm/boot/compressed/head.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/compressed/head.S b/arch/arm/boot/compressed/head.S index ca62ff50f84a..f61c76e43f7f 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S | |||
@@ -1008,6 +1008,7 @@ __armv3_mpu_cache_flush: | |||
1008 | phexbuf: .space 12 | 1008 | phexbuf: .space 12 |
1009 | .size phexbuf, . - phexbuf | 1009 | .size phexbuf, . - phexbuf |
1010 | 1010 | ||
1011 | @ phex corrupts {r0, r1, r2, r3} | ||
1011 | phex: adr r3, phexbuf | 1012 | phex: adr r3, phexbuf |
1012 | mov r2, #0 | 1013 | mov r2, #0 |
1013 | strb r2, [r3, r1] | 1014 | strb r2, [r3, r1] |
@@ -1022,6 +1023,7 @@ phex: adr r3, phexbuf | |||
1022 | strb r2, [r3, r1] | 1023 | strb r2, [r3, r1] |
1023 | b 1b | 1024 | b 1b |
1024 | 1025 | ||
1026 | @ puts corrupts {r0, r1, r2, r3} | ||
1025 | puts: loadsp r3, r1 | 1027 | puts: loadsp r3, r1 |
1026 | 1: ldrb r2, [r0], #1 | 1028 | 1: ldrb r2, [r0], #1 |
1027 | teq r2, #0 | 1029 | teq r2, #0 |
@@ -1036,12 +1038,14 @@ puts: loadsp r3, r1 | |||
1036 | teq r0, #0 | 1038 | teq r0, #0 |
1037 | bne 1b | 1039 | bne 1b |
1038 | mov pc, lr | 1040 | mov pc, lr |
1041 | @ putc corrupts {r0, r1, r2, r3} | ||
1039 | putc: | 1042 | putc: |
1040 | mov r2, r0 | 1043 | mov r2, r0 |
1041 | mov r0, #0 | 1044 | mov r0, #0 |
1042 | loadsp r3, r1 | 1045 | loadsp r3, r1 |
1043 | b 2b | 1046 | b 2b |
1044 | 1047 | ||
1048 | @ memdump corrupts {r0, r1, r2, r3, r10, r11, r12, lr} | ||
1045 | memdump: mov r12, r0 | 1049 | memdump: mov r12, r0 |
1046 | mov r10, lr | 1050 | mov r10, lr |
1047 | mov r11, #0 | 1051 | mov r11, #0 |