Home
last modified time | relevance | path

Searched refs:smbios_table (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/stand/efiboot/
H A Defiacpi.c53 static void *smbios_table = NULL; variable
66 status = LibGetSystemConfigurationTable(&Smbios3TableGuid, &smbios_table); in efi_acpi_probe()
68 status = LibGetSystemConfigurationTable(&SmbiosTableGuid, &smbios_table); in efi_acpi_probe()
71 smbios_table = NULL; in efi_acpi_probe()
98 return smbios_table; in efi_acpi_smbios()
122 if (smbios_table != NULL) { in efi_acpi_get_model()
123 smbios_init(smbios_table); in efi_acpi_get_model()
156 if (smbios_table) { in efi_acpi_show()
H A Defifdt.c689 void *smbios_table = efi_acpi_smbios(); in efi_fdt_create_acpifdt()
713 if (smbios_table) in efi_fdt_create_acpifdt()
714 fdt_setprop_u64(fdt, fdt_path_offset(fdt, "/chosen"), "netbsd,smbios-table", (uint64_t)(uintptr_t)smbios_table); in efi_fdt_create_acpifdt()
683 void *smbios_table = efi_acpi_smbios(); efi_fdt_create_acpifdt() local
/netbsd-src/sys/arch/arm/fdt/
H A Dacpi_fdt.c68 static uint64_t smbios_table = 0; variable
147 if (smbios_table == 0) { in acpi_fdt_smbios_version()
151 hdr = AcpiOsMapMemory(smbios_table, 24); in acpi_fdt_smbios_version()
174 of_getprop_uint64(chosen, "netbsd,smbios-table", &smbios_table); in acpi_fdt_smbios_init()
176 if (smbios_table == 0) { in acpi_fdt_smbios_init()
180 smbios_entry.hdrphys = smbios_table; in acpi_fdt_smbios_init()
184 struct smb3hdr *sh = AcpiOsMapMemory(smbios_table, sizeof(*sh)); in acpi_fdt_smbios_init()
205 struct smbhdr *sh = AcpiOsMapMemory(smbios_table, sizeof(*sh)); in acpi_fdt_smbios_init()