ia64/xen-unstable

diff xen/include/asm-ia64/linux-xen/linux/efi.h @ 9757:bb99a6e5456a

[IA64] introduce efi_memmap_walk_type

introduce efi_memmap_walk_type() for the next dom0 builder patch.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@ldap.hp.com
date Tue Apr 25 13:11:15 2006 -0600 (2006-04-25)
parents d16c16f64060
children 6bf652c677c8
line diff
     1.1 --- a/xen/include/asm-ia64/linux-xen/linux/efi.h	Tue Apr 25 13:06:57 2006 -0600
     1.2 +++ b/xen/include/asm-ia64/linux-xen/linux/efi.h	Tue Apr 25 13:11:15 2006 -0600
     1.3 @@ -293,6 +293,10 @@ extern void *efi_get_pal_addr (void);
     1.4  extern void efi_map_pal_code (void);
     1.5  extern void efi_map_memmap(void);
     1.6  extern void efi_memmap_walk (efi_freemem_callback_t callback, void *arg);
     1.7 +#ifdef XEN
     1.8 +typedef int (*efi_walk_type_callback_t)(efi_memory_desc_t *md, void *arg);
     1.9 +extern void efi_memmap_walk_type(u32 type, efi_walk_type_callback_t callback, void *arg);
    1.10 +#endif
    1.11  extern void efi_gettimeofday (struct timespec *ts);
    1.12  extern void efi_enter_virtual_mode (void);	/* switch EFI to virtual mode, if possible */
    1.13  extern u64 efi_get_iobase (void);