No functional change.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <JBeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
/* Initialize BSS (no nasty surprises!) */
mov $sym_phys(__bss_start),%edi
- mov $sym_phys(_end),%ecx
+ mov $sym_phys(__bss_end),%ecx
sub %edi,%ecx
xor %eax,%eax
rep stosb
memguard_guard_range(__va(__pa(s)), e-s);
}
-extern char __init_begin[], __init_end[], __bss_start[];
+extern char __init_begin[], __init_end[], __bss_start[], __bss_end[];
static void __init init_idle_domain(void)
{
xen_regions[region_text].e = __pa(&__init_begin);
/* bss */
xen_regions[region_bss].s = __pa(&__bss_start);
- xen_regions[region_bss].e = __pa(&_end);
+ xen_regions[region_bss].e = __pa(&__bss_end);
}
start = (paddr_t)mfn << PAGE_SHIFT;
#define TXTCR_HEAP_BASE 0x0300
#define TXTCR_HEAP_SIZE 0x0308
-extern char __init_begin[], __bss_start[];
+extern char __init_begin[], __bss_start[], __bss_end[];
#define SHA1_SIZE 20
typedef uint8_t sha1_hash_t[SHA1_SIZE];
__pa(&_stext);
/* bss */
g_tboot_shared->mac_regions[2].start = (uint64_t)__pa(&__bss_start);
- g_tboot_shared->mac_regions[2].size = __pa(&_end) - __pa(&__bss_start);
+ g_tboot_shared->mac_regions[2].size = __pa(&__bss_end) - __pa(&__bss_start);
/*
* MAC domains and other Xen memory
*(.bss.percpu.read_mostly)
. = ALIGN(SMP_CACHE_BYTES);
__per_cpu_data_end = .;
+ __bss_end = .;
} :text
_end = . ;