# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Date 1175854592 -32400 # Node ID 965bcd3e6c9740a8f14293088c56da0e7d107535 # Parent abe296c50e6b838f27eed8b1149445e9e2e14da8 preliminary header file clean up PATCHNAME: preliminary_header_file_clean_up Signed-off-by: Isaku Yamahata diff -r abe296c50e6b -r 965bcd3e6c97 xen/include/asm-ia64/bundle.h --- a/xen/include/asm-ia64/bundle.h Fri Apr 06 14:47:58 2007 +0900 +++ b/xen/include/asm-ia64/bundle.h Fri Apr 06 19:16:32 2007 +0900 @@ -223,8 +223,10 @@ typedef union U_INST64 { INST64_M47 M47; // purge translation entry } INST64; +#ifdef __XEN__ extern unsigned long __vmx_get_domain_bundle(unsigned long iip, IA64_BUNDLE *pbundle); extern IA64_BUNDLE __get_domain_bundle(unsigned long iip); +#endif #define MASK_41 ((unsigned long)0x1ffffffffff) diff -r abe296c50e6b -r 965bcd3e6c97 xen/include/asm-ia64/dom_fw.h --- a/xen/include/asm-ia64/dom_fw.h Fri Apr 06 14:47:58 2007 +0900 +++ b/xen/include/asm-ia64/dom_fw.h Fri Apr 06 19:16:32 2007 +0900 @@ -4,8 +4,6 @@ * Copyright (C) 2004 Hewlett-Packard Co * Dan Magenheimer (dan.magenheimer@xxxxxx) */ - -#include /* Portion of guest physical memory space reserved for PAL/SAL/EFI/ACPI data and code. */ @@ -184,9 +182,12 @@ /* Additionnal OEM SAL. */ #define SAL_XEN_SAL_RETURN 0x02000000 +#ifdef __XEN__ +#include extern struct ia64_pal_retval xen_pal_emulator(u64, u64, u64, u64); extern struct sal_ret_values sal_emulator (long index, unsigned long in1, unsigned long in2, unsigned long in3, unsigned long in4, unsigned long in5, unsigned long in6, unsigned long in7); extern struct ia64_pal_retval pal_emulator_static (unsigned long); extern efi_status_t efi_emulator (struct pt_regs *regs, unsigned long *fault); extern int dom_fw_setup (struct domain *, unsigned long bp_mpa, unsigned long maxmem); +#endif diff -r abe296c50e6b -r 965bcd3e6c97 xen/include/asm-ia64/domain.h --- a/xen/include/asm-ia64/domain.h Fri Apr 06 14:47:58 2007 +0900 +++ b/xen/include/asm-ia64/domain.h Fri Apr 06 19:16:32 2007 +0900 @@ -208,10 +208,6 @@ struct arch_vcpu { #include /* for KERNEL_DS */ #include -/* Guest physical address of IO ports space. */ -#define IO_PORTS_PADDR 0x00000ffffc000000UL -#define IO_PORTS_SIZE 0x0000000004000000UL - int do_perfmon_op(unsigned long cmd, XEN_GUEST_HANDLE(void) arg1, unsigned long arg2); diff -r abe296c50e6b -r 965bcd3e6c97 xen/include/public/arch-ia64.h --- a/xen/include/public/arch-ia64.h Fri Apr 06 14:47:58 2007 +0900 +++ b/xen/include/public/arch-ia64.h Fri Apr 06 19:16:32 2007 +0900 @@ -77,6 +77,10 @@ typedef unsigned long xen_ulong_t; #define MEM_G (1UL << 30) #define MEM_M (1UL << 20) + +/* Guest physical address of IO ports space. */ +#define IO_PORTS_PADDR 0x00000ffffc000000UL +#define IO_PORTS_SIZE 0x0000000004000000UL #define MMIO_START (3 * MEM_G) #define MMIO_SIZE (512 * MEM_M)