Module layout

Module layout 

Source
Expand description

Layout for the x86_64 system. Magic addresses externally used to lay out x86_64 VMs.

Constants§

APIC_ADDR
APIC address
BOOT_DEVICE_MEM_START
Memory region start for boot device.
BOOT_STACK_POINTER
Initial stack for the boot CPU.
CMDLINE_MAX_SIZE
Kernel command line maximum size.
CMDLINE_START
Kernel command line start address.
FIRST_ADDR_PAST_32BITS
First address that cannot be addressed using 32 bit anymore.
FIRST_ADDR_PAST_64BITS_MMIO
First address past the 64-bit MMIO gap
GSI_LEGACY_END
Last usable GSI for legacy interrupts (IRQ) on x86_64.
GSI_LEGACY_NUM
Number of legacy GSI (IRQ) available on x86_64.
GSI_LEGACY_START
First usable GSI for legacy interrupts (IRQ) on x86_64.
GSI_MSI_END
The highest available GSI in KVM (KVM_MAX_IRQ_ROUTES=4096).
GSI_MSI_NUM
Number of GSI available for MSI.
GSI_MSI_START
First GSI used by MSI after legacy GSI.
HIMEM_START
Start of the high memory.
IOAPIC_ADDR
IOAPIC address
KVM_TSS_ADDRESS
Address for the TSS setup.
MEMMAP_START
Address of memory map table used in PVH boot. Can overlap with the zero page address since they are mutually exclusive.
MEM_32BIT_DEVICES_SIZE
Size of memory region for device MMIO 32-bit accesses
MEM_32BIT_DEVICES_START
Beginning of memory region for device MMIO 32-bit accesses
MEM_64BIT_DEVICES_SIZE
Size of memory region for device MMIO 32-bit accesses
MEM_64BIT_DEVICES_START
Beginning of memory region for device MMIO 64-bit accesses
MMIO32_MEM_SIZE
The size of the memory area reserved for MMIO 32-bit accesses.
MMIO32_MEM_START
The start of the memory area reserved for MMIO 32-bit accesses.
MMIO64_MEM_SIZE
The size of the memory area reserved for MMIO 64-bit accesses.
MMIO64_MEM_START
The start of the memory area reserved for MMIO 64-bit accesses.
MODLIST_START
Starting address of array of modules of hvm_modlist_entry type. Used to enable initrd support using the PVH boot ABI.
PAST_64BITS_MMIO_SIZE
Size of the memory past 64-bit MMIO gap
PCI_MMCONFIG_SIZE
Size of MMIO region for PCIe configuration accesses.
PCI_MMCONFIG_START
Start of MMIO region for PCIe configuration accesses.
PCI_MMIO_CONFIG_SIZE_PER_SEGMENT
MMIO space per PCIe segment
PVH_INFO_START
Address of the hvm_start_info struct used in PVH boot
RSDP_ADDR
Location of RSDP pointer in x86 machines
SYSTEM_MEM_SIZE
Size of memory region for system data.
SYSTEM_MEM_START
Start of memory region we will use for system data (MPTable, ACPI, etc). We are putting its start address where EBDA normally starts, i.e. in the last 1 KiB of the first 640KiB of memory
ZERO_PAGE_START
The ‘zero page’, a.k.a linux kernel bootparams.