enlighten.c (0898782247ae533d1f4e47a06bc5d4870931b284) enlighten.c (33def8498fdde180023444b08e12b72a9efed41d)
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/acpi.h>
3
4#include <xen/hvc-console.h>
5
6#include <asm/io_apic.h>
7#include <asm/hypervisor.h>
8#include <asm/e820/api.h>

--- 5 unchanged lines hidden (view full) ---

14#include <xen/interface/hvm/start_info.h>
15
16/*
17 * PVH variables.
18 *
19 * pvh_bootparams and pvh_start_info need to live in the data segment since
20 * they are used after startup_{32|64}, which clear .bss, are invoked.
21 */
1// SPDX-License-Identifier: GPL-2.0
2#include <linux/acpi.h>
3
4#include <xen/hvc-console.h>
5
6#include <asm/io_apic.h>
7#include <asm/hypervisor.h>
8#include <asm/e820/api.h>

--- 5 unchanged lines hidden (view full) ---

14#include <xen/interface/hvm/start_info.h>
15
16/*
17 * PVH variables.
18 *
19 * pvh_bootparams and pvh_start_info need to live in the data segment since
20 * they are used after startup_{32|64}, which clear .bss, are invoked.
21 */
22struct boot_params pvh_bootparams __attribute__((section(".data")));
23struct hvm_start_info pvh_start_info __attribute__((section(".data")));
22struct boot_params pvh_bootparams __section(".data");
23struct hvm_start_info pvh_start_info __section(".data");
24
25unsigned int pvh_start_info_sz = sizeof(pvh_start_info);
26
27static u64 pvh_get_root_pointer(void)
28{
29 return pvh_start_info.rsdp_paddr;
30}
31

--- 106 unchanged lines hidden ---
24
25unsigned int pvh_start_info_sz = sizeof(pvh_start_info);
26
27static u64 pvh_get_root_pointer(void)
28{
29 return pvh_start_info.rsdp_paddr;
30}
31

--- 106 unchanged lines hidden ---