FreeBSD/sys/x86/acpica/madt.c
/*
 * Run through the MP table enumerating CPUs.
 */
Run through the MP table enumerating CPUs.
Run through the MP table enumerating CPUs .
static int
madt_probe_cpus(void)
{
	madt = acpi_map_table(madt_physaddr, ACPI_SIG_MADT);
	madt_length = madt->Header.Length;
	KASSERT(madt != NULL, ("Unable to re-map MADT"));
	madt_walk_table(madt_probe_cpus_handler, NULL);
	acpi_unmap_table(madt);
	madt = NULL;
	return (0);
}
static int madt_probe_cpus ( void ) { madt = acpi_map_table ( madt_physaddr , ACPI_SIG_MADT ) ; madt_length = madt -> Header . Length ; KASSERT ( madt != NULL , ( " " ) ) ; madt_walk_table ( madt_probe_cpus_handler , NULL ) ; acpi_unmap_table ( madt ) ; madt = NULL ; return ( 0 ) ; }
Run through the MP table enumerating CPUs.
Run through the MP table enumerating CPUs .