ia64/linux-2.6.18-xen.hg

annotate include/asm-arm/arch-shark/entry-macro.S @ 452:c7ed6fe5dca0

kexec: dont initialise regions in reserve_memory()

There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
rev   line source
ian@0 1 /*
ian@0 2 * include/asm-arm/arch-shark/entry-macro.S
ian@0 3 *
ian@0 4 * Low-level IRQ helper macros for Shark platform
ian@0 5 *
ian@0 6 * This file is licensed under the terms of the GNU General Public
ian@0 7 * License version 2. This program is licensed "as is" without any
ian@0 8 * warranty of any kind, whether express or implied.
ian@0 9 */
ian@0 10 .macro disable_fiq
ian@0 11 .endm
ian@0 12
ian@0 13 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ian@0 14 mov r4, #0xe0000000
ian@0 15
ian@0 16 mov \irqstat, #0x0C
ian@0 17 strb \irqstat, [r4, #0x20] @outb(0x0C, 0x20) /* Poll command */
ian@0 18 ldrb \irqnr, [r4, #0x20] @irq = inb(0x20) & 7
ian@0 19 and \irqstat, \irqnr, #0x80
ian@0 20 teq \irqstat, #0
ian@0 21 beq 43f
ian@0 22 and \irqnr, \irqnr, #7
ian@0 23 teq \irqnr, #2
ian@0 24 bne 44f
ian@0 25 43: mov \irqstat, #0x0C
ian@0 26 strb \irqstat, [r4, #0xa0] @outb(0x0C, 0xA0) /* Poll command */
ian@0 27 ldrb \irqnr, [r4, #0xa0] @irq = (inb(0xA0) & 7) + 8
ian@0 28 and \irqstat, \irqnr, #0x80
ian@0 29 teq \irqstat, #0
ian@0 30 beq 44f
ian@0 31 and \irqnr, \irqnr, #7
ian@0 32 add \irqnr, \irqnr, #8
ian@0 33 44: teq \irqstat, #0
ian@0 34 .endm
ian@0 35