Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/acpica/acpivar.h
Show First 20 Lines • Show All 534 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Parse and use proximity information in SRAT and SLIT. | * Parse and use proximity information in SRAT and SLIT. | ||||
*/ | */ | ||||
int acpi_pxm_init(int ncpus, vm_paddr_t maxphys); | int acpi_pxm_init(int ncpus, vm_paddr_t maxphys); | ||||
void acpi_pxm_parse_tables(void); | void acpi_pxm_parse_tables(void); | ||||
void acpi_pxm_set_mem_locality(void); | void acpi_pxm_set_mem_locality(void); | ||||
void acpi_pxm_set_cpu_locality(void); | void acpi_pxm_set_cpu_locality(void); | ||||
int acpi_pxm_get_cpu_locality(int apic_id); | int acpi_pxm_get_cpu_locality(int apic_id); | ||||
void acpi_pxm_free(void); | |||||
/* | /* | ||||
* Map a PXM to a VM domain. | * Map a PXM to a VM domain. | ||||
* | * | ||||
* Returns the VM domain ID if found, or -1 if not found / invalid. | * Returns the VM domain ID if found, or -1 if not found / invalid. | ||||
*/ | */ | ||||
int acpi_map_pxm_to_vm_domainid(int pxm); | int acpi_map_pxm_to_vm_domainid(int pxm); | ||||
int acpi_get_cpus(device_t dev, device_t child, enum cpu_sets op, | int acpi_get_cpus(device_t dev, device_t child, enum cpu_sets op, | ||||
Show All 12 Lines |