Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/acpica/acpivar.h
Show First 20 Lines • Show All 520 Lines • ▼ Show 20 Lines | |||||
#endif | #endif | ||||
/* Use the device logging level for ktr(4). */ | /* Use the device logging level for ktr(4). */ | ||||
#define KTR_ACPI KTR_DEV | #define KTR_ACPI KTR_DEV | ||||
SYSCTL_DECL(_debug_acpi); | SYSCTL_DECL(_debug_acpi); | ||||
/* | /* | ||||
* Parse and use proximity information in SRAT and SLIT. | |||||
*/ | |||||
int acpi_pxm_init(int ncpus, vm_paddr_t maxphys); | |||||
void acpi_pxm_parse_tables(void); | |||||
void acpi_pxm_set_mem_locality(void); | |||||
void acpi_pxm_set_cpu_locality(void); | |||||
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, | ||||
size_t setsize, cpuset_t *cpuset); | size_t setsize, cpuset_t *cpuset); | ||||
int acpi_get_domain(device_t dev, device_t child, int *domain); | int acpi_get_domain(device_t dev, device_t child, int *domain); | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#endif /* !_ACPIVAR_H_ */ | #endif /* !_ACPIVAR_H_ */ |