/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | tpm_ppi_qemu.c | 186 dsdt_line("Method(TPFN, 1, Serialized)"); in tpm_ppi_write_dsdt_regions() 187 dsdt_line("{"); in tpm_ppi_write_dsdt_regions() 188 dsdt_line(" If(LGreaterEqual(Arg0, 0x100))"); in tpm_ppi_write_dsdt_regions() 189 dsdt_line(" {"); in tpm_ppi_write_dsdt_regions() 190 dsdt_line(" Return(Zero)"); in tpm_ppi_write_dsdt_regions() 191 dsdt_line(" }"); in tpm_ppi_write_dsdt_regions() 192 dsdt_line( in tpm_ppi_write_dsdt_regions() 195 dsdt_line(" Field(TPP1, ByteAcc, NoLock, Preserve)"); in tpm_ppi_write_dsdt_regions() 196 dsdt_line(" {"); in tpm_ppi_write_dsdt_regions() 197 dsdt_line(" TPPF, 8,"); in tpm_ppi_write_dsdt_regions() [all …]
|
H A D | pci_irq.c | 279 dsdt_line(""); in pirq_dsdt() 280 dsdt_line("Method (PIRV, 1, NotSerialized)"); in pirq_dsdt() 281 dsdt_line("{"); in pirq_dsdt() 282 dsdt_line(" If (And (Arg0, 0x%02X))", PIRQ_DIS); in pirq_dsdt() 283 dsdt_line(" {"); in pirq_dsdt() 284 dsdt_line(" Return (0x00)"); in pirq_dsdt() 285 dsdt_line(" }"); in pirq_dsdt() 286 dsdt_line(" And (Arg0, 0x%02X, Local0)", PIRQ_IRQ); in pirq_dsdt() 287 dsdt_line(" If (LLess (Local0, 0x03))"); in pirq_dsdt() 288 dsdt_line(" {"); in pirq_dsdt() [all …]
|
H A D | vmgenc.c | 81 dsdt_line(""); in vmgenc_write_dsdt() 83 dsdt_line("Scope (_SB)"); in vmgenc_write_dsdt() 84 dsdt_line("{"); in vmgenc_write_dsdt() 86 dsdt_line(" Device (GENC)"); in vmgenc_write_dsdt() 87 dsdt_line(" {"); in vmgenc_write_dsdt() 90 dsdt_line("Name (_CID, \"VM_Gen_Counter\")"); in vmgenc_write_dsdt() 91 dsdt_line("Method (_HID, 0, NotSerialized)"); in vmgenc_write_dsdt() 92 dsdt_line("{"); in vmgenc_write_dsdt() 93 dsdt_line(" Return (\"Bhyve_V_Gen_Counter_V1\")"); in vmgenc_write_dsdt() 94 dsdt_line("}"); in vmgenc_write_dsdt() [all …]
|
H A D | acpi.c | 130 dsdt_line(const char *fmt, ...) in dsdt_line() function 174 dsdt_line("IO (Decode16,"); in dsdt_fixed_ioport() 175 dsdt_line(" 0x%04X, // Range Minimum", iobase); in dsdt_fixed_ioport() 176 dsdt_line(" 0x%04X, // Range Maximum", iobase); in dsdt_fixed_ioport() 177 dsdt_line(" 0x01, // Alignment"); in dsdt_fixed_ioport() 178 dsdt_line(" 0x%02X, // Length", length); in dsdt_fixed_ioport() 179 dsdt_line(" )"); in dsdt_fixed_ioport() 186 dsdt_line("IRQNoFlags ()"); in dsdt_fixed_irq() 187 dsdt_line(" {%d}", irq); in dsdt_fixed_irq() 194 dsdt_line("Memory32Fixed (ReadWrite,"); in dsdt_fixed_mem32() [all …]
|
H A D | pci_emul.c | 1662 dsdt_line(" Package ()"); in pci_apic_prt_entry() 1663 dsdt_line(" {"); in pci_apic_prt_entry() 1664 dsdt_line(" 0x%X,", slot << 16 | 0xffff); in pci_apic_prt_entry() 1665 dsdt_line(" 0x%02X,", pin - 1); in pci_apic_prt_entry() 1666 dsdt_line(" Zero,"); in pci_apic_prt_entry() 1667 dsdt_line(" 0x%X", ioapic_irq); in pci_apic_prt_entry() 1668 dsdt_line(" },"); in pci_apic_prt_entry() 1680 dsdt_line(" Package ()"); in pci_pirq_prt_entry() 1681 dsdt_line(" {"); in pci_pirq_prt_entry() 1682 dsdt_line(" 0x%X,", slot << 16 | 0xffff); in pci_pirq_prt_entry() [all …]
|
H A D | acpi_device.c | 191 dsdt_line(""); in acpi_device_write_dsdt() 192 dsdt_line(" Scope (\\_SB)"); in acpi_device_write_dsdt() 193 dsdt_line(" {"); in acpi_device_write_dsdt() 194 dsdt_line(" Device (%s)", dev->emul->name); in acpi_device_write_dsdt() 195 dsdt_line(" {"); in acpi_device_write_dsdt() 196 dsdt_line(" Name (_HID, \"%s\")", dev->emul->hid); in acpi_device_write_dsdt() 197 dsdt_line(" Name (_STA, 0x0F)"); in acpi_device_write_dsdt() 198 dsdt_line(" Name (_CRS, ResourceTemplate ()"); in acpi_device_write_dsdt() 199 dsdt_line(" {"); in acpi_device_write_dsdt() 203 dsdt_line(" })"); in acpi_device_write_dsdt() [all …]
|
H A D | tpm_device.c | 70 dsdt_line("Name(TPM2, Package(2) {0, 0})"); in tpm_write_dsdt() 71 dsdt_line("Name(TPM3, Package(3) {0, 0, 0})"); in tpm_write_dsdt() 89 dsdt_line("Method(_DSM, 4, Serialized)"); in tpm_write_dsdt() 90 dsdt_line("{"); in tpm_write_dsdt() 100 dsdt_line("}"); in tpm_write_dsdt()
|
H A D | acpi.h | 59 void dsdt_line(const char *fmt, ...);
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | pci_lpc.c | 333 dsdt_line(""); in pci_lpc_write_dsdt() 334 dsdt_line("Device (ISA)"); in pci_lpc_write_dsdt() 335 dsdt_line("{"); in pci_lpc_write_dsdt() 336 dsdt_line(" Name (_ADR, 0x%04X%04X)", pi->pi_slot, pi->pi_func); in pci_lpc_write_dsdt() 337 dsdt_line(" OperationRegion (LPCR, PCI_Config, 0x00, 0x100)"); in pci_lpc_write_dsdt() 338 dsdt_line(" Field (LPCR, AnyAcc, NoLock, Preserve)"); in pci_lpc_write_dsdt() 339 dsdt_line(" {"); in pci_lpc_write_dsdt() 340 dsdt_line(" Offset (0x60),"); in pci_lpc_write_dsdt() 341 dsdt_line(" PIRA, 8,"); in pci_lpc_write_dsdt() 342 dsdt_line(" PIRB, 8,"); in pci_lpc_write_dsdt() [all …]
|
H A D | rtc.c | 131 dsdt_line(""); in rtc_dsdt() 132 dsdt_line("Device (RTC)"); in rtc_dsdt() 133 dsdt_line("{"); in rtc_dsdt() 134 dsdt_line(" Name (_HID, EisaId (\"PNP0B00\"))"); in rtc_dsdt() 135 dsdt_line(" Name (_CRS, ResourceTemplate ()"); in rtc_dsdt() 136 dsdt_line(" {"); in rtc_dsdt() 141 dsdt_line(" })"); in rtc_dsdt() 142 dsdt_line("}"); in rtc_dsdt()
|
H A D | atkbdc.c | 555 dsdt_line(""); in atkbdc_dsdt() 556 dsdt_line("Device (KBD)"); in atkbdc_dsdt() 557 dsdt_line("{"); in atkbdc_dsdt() 558 dsdt_line(" Name (_HID, EisaId (\"PNP0303\"))"); in atkbdc_dsdt() 559 dsdt_line(" Name (_CRS, ResourceTemplate ()"); in atkbdc_dsdt() 560 dsdt_line(" {"); in atkbdc_dsdt() 566 dsdt_line(" })"); in atkbdc_dsdt() 567 dsdt_line("}"); in atkbdc_dsdt() 569 dsdt_line(""); in atkbdc_dsdt() 570 dsdt_line("Device (MOU)"); in atkbdc_dsdt() [all …]
|