FreeBSD/sys/x86/acpica/srat.c
/*
 * Look for an ACPI System Locality Distance Information Table ("SLIT")
 */
Look for an ACPI System Locality Distance Information Table ("SLIT")
Look for an ACPI System Locality Distance Information Table ( " SLIT " )
static int
parse_slit(void)
{
	if (resource_disabled("slit", 0)) {
		return (-1);
	}
	slit_physaddr = acpi_find_table(ACPI_SIG_SLIT);
	if (slit_physaddr == 0) {
		return (-1);
	}
	slit = acpi_map_table(slit_physaddr, ACPI_SIG_SLIT);
	slit_parse_table(slit);
	acpi_unmap_table(slit);
	slit = NULL;
#ifdef VM_NUMA_ALLOC
	mem_locality = vm_locality_table;
#endif
	return (0);
}
static int parse_slit ( void ) { if ( resource_disabled ( " " , 0 ) ) { return ( -1 ) ; } slit_physaddr = acpi_find_table ( ACPI_SIG_SLIT ) ; if ( slit_physaddr == 0 ) { return ( -1 ) ; } slit = acpi_map_table ( slit_physaddr , ACPI_SIG_SLIT ) ; slit_parse_table ( slit ) ; acpi_unmap_table ( slit ) ; slit = NULL ; #ifdef VM_NUMA_ALLOC mem_locality = vm_locality_table ; #endif return ( 0 ) ; }
Look for an ACPI System Locality Distance Information Table ("SLIT")
Look for an ACPI System Locality Distance Information Table ( " SLIT " )
/*
	 * Make a pass over the table to populate the cpus[] and
	 * mem_info[] tables.
	 */ /* Tell the VM about it! */