head.S (7d95ded91149564100a3181d341361aedcfd5bf5) | head.S (f12d0d7c7786af39435ef6ae9defe47fb58f6091) |
---|---|
1/* 2 * linux/arch/arm/boot/compressed/head.S 3 * 4 * Copyright (C) 1996-2002 Russell King 5 * Copyright (C) 2004 Hyok S. Choi (MPU support) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 68 unchanged lines hidden (view full) --- 77 .endm 78 79 .macro debug_reloc_start 80#ifdef DEBUG 81 kputc #'\n' 82 kphex r6, 8 /* processor id */ 83 kputc #':' 84 kphex r7, 8 /* architecture id */ | 1/* 2 * linux/arch/arm/boot/compressed/head.S 3 * 4 * Copyright (C) 1996-2002 Russell King 5 * Copyright (C) 2004 Hyok S. Choi (MPU support) 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as --- 68 unchanged lines hidden (view full) --- 77 .endm 78 79 .macro debug_reloc_start 80#ifdef DEBUG 81 kputc #'\n' 82 kphex r6, 8 /* processor id */ 83 kputc #':' 84 kphex r7, 8 /* architecture id */ |
85#ifdef CONFIG_CPU_CP15 |
|
85 kputc #':' 86 mrc p15, 0, r0, c1, c0 87 kphex r0, 8 /* control reg */ | 86 kputc #':' 87 mrc p15, 0, r0, c1, c0 88 kphex r0, 8 /* control reg */ |
89#endif |
|
88 kputc #'\n' 89 kphex r5, 8 /* decompressed kernel start */ 90 kputc #'-' 91 kphex r9, 8 /* decompressed kernel end */ 92 kputc #'>' 93 kphex r4, 8 /* kernel execution address */ 94 kputc #'\n' 95#endif --- 406 unchanged lines hidden (view full) --- 502 * r1 = corrupted 503 * r2 = corrupted 504 * r3 = block offset 505 * r6 = corrupted 506 * r12 = corrupted 507 */ 508 509call_cache_fn: adr r12, proc_types | 90 kputc #'\n' 91 kphex r5, 8 /* decompressed kernel start */ 92 kputc #'-' 93 kphex r9, 8 /* decompressed kernel end */ 94 kputc #'>' 95 kphex r4, 8 /* kernel execution address */ 96 kputc #'\n' 97#endif --- 406 unchanged lines hidden (view full) --- 504 * r1 = corrupted 505 * r2 = corrupted 506 * r3 = block offset 507 * r6 = corrupted 508 * r12 = corrupted 509 */ 510 511call_cache_fn: adr r12, proc_types |
512#ifdef CONFIG_CPU_CP15 |
|
510 mrc p15, 0, r6, c0, c0 @ get processor ID | 513 mrc p15, 0, r6, c0, c0 @ get processor ID |
514#else 515 ldr r6, =CONFIG_PROCESSOR_ID 516#endif |
|
5111: ldr r1, [r12, #0] @ get value 512 ldr r2, [r12, #4] @ get mask 513 eor r1, r1, r6 @ (real ^ match) 514 tst r1, r2 @ & mask 515 addeq pc, r12, r3 @ call cache function 516 add r12, r12, #4*5 517 b 1b 518 --- 315 unchanged lines hidden --- | 5171: ldr r1, [r12, #0] @ get value 518 ldr r2, [r12, #4] @ get mask 519 eor r1, r1, r6 @ (real ^ match) 520 tst r1, r2 @ & mask 521 addeq pc, r12, r3 @ call cache function 522 add r12, r12, #4*5 523 b 1b 524 --- 315 unchanged lines hidden --- |