Home
last modified time | relevance | path

Searched refs:rsdp (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/boot/i386/libi386/
H A Dbiosacpi.c47 ACPI_TABLE_RSDP *rsdp; variable
54 find_spcr(ACPI_TABLE_RSDP *rsdp) in find_spcr() argument
61 if (rsdp->Revision >= 2 && rsdp->XsdtPhysicalAddress != 0) { in find_spcr()
63 PTOV((uintptr_t)rsdp->XsdtPhysicalAddress); in find_spcr()
75 if (rsdp->RsdtPhysicalAddress != 0) { in find_spcr()
76 rsdt = (ACPI_TABLE_RSDT *)PTOV(rsdp->RsdtPhysicalAddress); in find_spcr()
187 if ((rsdp = biosacpi_find_rsdp()) == NULL) in biosacpi_detect()
191 sprintf(buf, "0x%08x", (unsigned int)VTOP(rsdp)); in biosacpi_detect()
193 revision = rsdp->Revision; in biosacpi_detect()
198 strncpy(buf, rsdp->OemId, sizeof(rsdp->OemId)); in biosacpi_detect()
[all …]
/illumos-gate/usr/src/boot/efi/loader/
H A Dacpi.c31 ACPI_TABLE_RSDP *rsdp; variable
41 if ((rsdp = efi_get_table(&gEfiAcpi20TableGuid)) == NULL) in acpi_detect()
42 rsdp = efi_get_table(&gEfiAcpiTableGuid); in acpi_detect()
44 if (rsdp == NULL) in acpi_detect()
49 snprintf(buf, sizeof (buf), "0x%016llx", (unsigned long long)rsdp); in acpi_detect()
51 snprintf(buf, sizeof (buf), "0x%08x", (unsigned int)rsdp); in acpi_detect()
54 revision = rsdp->Revision; in acpi_detect()
59 strncpy(buf, rsdp->OemId, sizeof (rsdp->OemId)); in acpi_detect()
60 buf[sizeof (rsdp->OemId)] = '\0'; in acpi_detect()
64 (unsigned long long)rsdp->RsdtPhysicalAddress); in acpi_detect()
[all …]
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dexec.c76 ACPI_TABLE_RSDP *rsdp; in elf64_exec() local
82 rsdp = efi_get_table(&acpi20_guid); in elf64_exec()
83 if (rsdp == NULL) { in elf64_exec()
84 rsdp = efi_get_table(&acpi_guid); in elf64_exec()
86 if (rsdp != NULL) { in elf64_exec()
87 sprintf(buf, "0x%016llx", (unsigned long long)rsdp); in elf64_exec()
89 revision = rsdp->Revision; in elf64_exec()
94 strncpy(buf, rsdp->OemId, sizeof(rsdp->OemId)); in elf64_exec()
95 buf[sizeof(rsdp->OemId)] = '\0'; in elf64_exec()
97 sprintf(buf, "0x%016x", rsdp->RsdtPhysicalAddress); in elf64_exec()
[all …]
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/
H A Delf64_freebsd.c100 ACPI_TABLE_RSDP *rsdp; in elf64_exec() local
104 rsdp = efi_get_table(&acpi20_guid); in elf64_exec()
105 if (rsdp == NULL) { in elf64_exec()
106 rsdp = efi_get_table(&acpi_guid); in elf64_exec()
108 if (rsdp != NULL) { in elf64_exec()
109 sprintf(buf, "0x%016llx", (unsigned long long)rsdp); in elf64_exec()
111 revision = rsdp->Revision; in elf64_exec()
116 strncpy(buf, rsdp->OemId, sizeof(rsdp->OemId)); in elf64_exec()
117 buf[sizeof(rsdp->OemId)] = '\0'; in elf64_exec()
119 sprintf(buf, "0x%016x", rsdp->RsdtPhysicalAddress); in elf64_exec()
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi.c658 ACPI_TABLE_RSDP rsdp; in build_rsdp() local
664 memset(&rsdp, 0, sizeof(rsdp)); in build_rsdp()
665 memcpy(rsdp.Signature, ACPI_SIG_RSDP, 8); in build_rsdp()
666 rsdp.Checksum = 0; /* patched by basl */ in build_rsdp()
667 memcpy(rsdp.OemId, "BHYVE ", ACPI_OEM_ID_SIZE); in build_rsdp()
668 rsdp.Revision = 2; in build_rsdp()
669 rsdp.RsdtPhysicalAddress = htole32(0); /* patched by basl */ in build_rsdp()
670 rsdp.Length = htole32(0); /* patched by basl */ in build_rsdp()
671 rsdp.XsdtPhysicalAddress = htole64(0); /* patched by basl */ in build_rsdp()
672 rsdp.ExtendedChecksum = 0; /* patched by basl */ in build_rsdp()
[all …]
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c2358 ACPI_TABLE_RSDP *rsdp = NULL; in find_rsdp() local
2363 rsdp = scan_rsdp(&paddr, sizeof (*rsdp)); in find_rsdp()
2367 if (rsdp == NULL && xbp->bi_acpi_rsdp != NULL) { in find_rsdp()
2369 rsdp = scan_rsdp(&paddr, sizeof (*rsdp)); in find_rsdp()
2373 if (rsdp == NULL) { in find_rsdp()
2377 rsdp = scan_rsdp(&paddr, ACPI_EBDA_WINDOW_SIZE); in find_rsdp()
2380 if (rsdp == NULL) { in find_rsdp()
2382 rsdp = scan_rsdp(&paddr, ACPI_HI_RSDP_WINDOW_SIZE); in find_rsdp()
2386 if (rsdp == NULL && xbp->bi_acpi_rsdp_copy != NULL) { in find_rsdp()
2388 rsdp = scan_rsdp(&paddr, sizeof (*rsdp)); in find_rsdp()
[all …]
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c66 extern ACPI_TABLE_RSDP *rsdp;
801 if (rsdp != NULL) { in mbi_size()
802 if (rsdp->Revision == 0) { in mbi_size()
807 rsdp->Length; in mbi_size()
1110 if (rsdp != NULL) { in multiboot2_exec()
1115 if (rsdp->Revision == 0) { in multiboot2_exec()
1120 memcpy(otag->mb_rsdp, rsdp, sizeof (ACPI_RSDP_COMMON)); in multiboot2_exec()
1122 tsize = sizeof (*ntag) + rsdp->Length; in multiboot2_exec()
1126 memcpy(ntag->mb_rsdp, rsdp, rsdp->Length); in multiboot2_exec()
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dsyms.c2180 Sym_desc *rsdp; in ld_sym_process() local
2227 rsdp = sdp = NULL; in ld_sym_process()
2233 rsdp = (*ld_targ.t_ms.ms_reg_find)(sym, ofl); in ld_sym_process()
2234 if (rsdp != 0) { in ld_sym_process()
2242 (rsdp, sym, name, ifl, ofl); in ld_sym_process()
2267 if (rsdp == NULL) { in ld_sym_process()
2305 if ((rsdp == NULL) && in ld_sym_process()
2850 Sym_desc *rsdp; in ld_sym_process() local
2856 rsdp = (*ld_targ.t_ms.ms_reg_find)(sdp->sd_sym, ofl); in ld_sym_process()
2857 if (rsdp == NULL) { in ld_sym_process()
[all …]
H A Drelocate.c119 Sym_desc *rsdp; in is_disp_copied() local
156 rsdp = ifl->ifl_oldndx[rstndx]; in is_disp_copied()
157 if (rsdp == sdp) { in is_disp_copied()
158 if ((str = demangle(rsdp->sd_name)) != in is_disp_copied()
159 rsdp->sd_name) { in is_disp_copied()
198 ifl->ifl_name, demangle(rsdp->sd_name), str, in is_disp_copied()
236 Sym_desc *tsdp, *rsdp; in disp_scansyms() local
263 rsdp = rld->rel_sym; in disp_scansyms()
264 rsym = rsdp->sd_sym; in disp_scansyms()
H A Dupdate.c485 Sym_desc *rsdp; in update_osym() local
487 if ((rsdp = ofl->ofl_regsyms[ndx]) == NULL) in update_osym()
490 if (!SYM_IS_HIDDEN(rsdp) && in update_osym()
491 (ELF_ST_BIND(rsdp->sd_sym->st_info) != STB_LOCAL)) in update_osym()
494 dynsym[dynsym_ndx] = *(rsdp->sd_sym); in update_osym()
495 rsdp->sd_symndx = *symndx; in update_osym()
498 (void) st_setstring(dynstr, rsdp->sd_name, in update_osym()
/illumos-gate/usr/src/boot/forth/
H A Dmenu.4th145 s" hint.acpi.0.rsdp" getenv