[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH RFC 05/12] xen/x86: make print_e820_memory_map global
So that it can be called from the Dom0 builder. Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx> --- Cc: Jan Beulich <jbeulich@xxxxxxxx> Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- xen/arch/x86/e820.c | 2 +- xen/include/asm-x86/e820.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/x86/e820.c b/xen/arch/x86/e820.c index ef077a5..48e35f9 100644 --- a/xen/arch/x86/e820.c +++ b/xen/arch/x86/e820.c @@ -87,7 +87,7 @@ static void __init add_memory_region(unsigned long long start, e820.nr_map++; } -static void __init print_e820_memory_map(struct e820entry *map, unsigned int entries) +void __init print_e820_memory_map(struct e820entry *map, unsigned int entries) { unsigned int i; diff --git a/xen/include/asm-x86/e820.h b/xen/include/asm-x86/e820.h index d9ff4eb..9dad76a 100644 --- a/xen/include/asm-x86/e820.h +++ b/xen/include/asm-x86/e820.h @@ -31,6 +31,7 @@ extern int e820_change_range_type( extern int e820_add_range( struct e820map *, uint64_t s, uint64_t e, uint32_t type); extern unsigned long init_e820(const char *, struct e820entry *, unsigned int *); +extern void print_e820_memory_map(struct e820entry *map, unsigned int entries); extern struct e820map e820; /* These symbols live in the boot trampoline. */ -- 2.7.4 (Apple Git-66) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |