diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-01-26 22:22:20 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-17 11:31:34 +0200 |
commit | be6f9f006a1fb4d46a0c0b01179862375f0d53bd (patch) | |
tree | dfb3521294677aa4273fb50cd1a270ead2815547 /arch/arm/boot | |
parent | 21b2841df19dd223dad198cdf47e77ea7ac25b56 (diff) | |
download | kernel_samsung_crespo-be6f9f006a1fb4d46a0c0b01179862375f0d53bd.zip kernel_samsung_crespo-be6f9f006a1fb4d46a0c0b01179862375f0d53bd.tar.gz kernel_samsung_crespo-be6f9f006a1fb4d46a0c0b01179862375f0d53bd.tar.bz2 |
ARM: zImage: annotate debug functions about corrupted registers
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/boot')
-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 ca62ff5..f61c76e 100644 --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -1008,6 +1008,7 @@ __armv3_mpu_cache_flush: phexbuf: .space 12 .size phexbuf, . - phexbuf +@ phex corrupts {r0, r1, r2, r3} phex: adr r3, phexbuf mov r2, #0 strb r2, [r3, r1] @@ -1022,6 +1023,7 @@ phex: adr r3, phexbuf strb r2, [r3, r1] b 1b +@ puts corrupts {r0, r1, r2, r3} puts: loadsp r3, r1 1: ldrb r2, [r0], #1 teq r2, #0 @@ -1036,12 +1038,14 @@ puts: loadsp r3, r1 teq r0, #0 bne 1b mov pc, lr +@ putc corrupts {r0, r1, r2, r3} putc: mov r2, r0 mov r0, #0 loadsp r3, r1 b 2b +@ memdump corrupts {r0, r1, r2, r3, r10, r11, r12, lr} memdump: mov r12, r0 mov r10, lr mov r11, #0 |