bend-osdev-acpi
Releases (3)
Definitions (1,733)
gas.bend
- def AcpiGas.space
- def AcpiGas.is_nullno register: the address is zero
- def AcpiGas.io_blocka system I/O register block at a 32-bit port address, n bytes long (how the FADT's ACPI 1.0 block fields are read as Generic Addresses)
- def AcpiGas.show
header.bend
- type AcpiHeader
- def AcpiHeader.size
- def AcpiHeader.signature
- def AcpiHeader.length
- def AcpiHeader.revision
- def AcpiHeader.checksum
- def AcpiHeader.oem_id
- def AcpiHeader.oem_table_id
- def AcpiHeader.oem_revision
- def AcpiHeader.creator_id
- def AcpiHeader.creator_revision
- def hd.byte
- def AcpiHeader.encode
- def hd.short
- def hd.u32
- def hd.u8.list
- def hd.u8
- def hd.d9
- def hd.d8
- def hd.d7
- def hd.d6
- def hd.d5
- def hd.d4
- def hd.d3
- def hd.d2
- def hd.d1
- def AcpiHeader.decodethe header in the first 36 bytes, fields as stored (unchecked); AcpiTooShort if there are fewer
- def sdt.c3
- def sdt.c2
- def sdt.c1
- def AcpiSdt.bytesa table's bytes, as far as its length field says (all of o if o is shorter than 8 bytes); bytes after the length are not part of the table
- def AcpiSdt.checkthe table at the front of o, checked: its length field from 36 to the bytes given (AcpiTooShort, AcpiBadLength), and its bytes summing to zero (AcpiBadChecksum).
- type AcpiSdt
- def sdt.split
- def sdt.parse.go
- def AcpiSdt.parsethe table at the front of o, checked, as its header and body
- def AcpiSdt.header
- def AcpiSdt.body
- def sdt.sig.pick
- def sdt.sig.go
- def AcpiSdt.parse_sigthe same, also requiring the signature sig (AcpiBadSignature)
- def AcpiSdt.buildBuilding: a header and a body as a table, with the length and checksum fields computed (the header's own length and checksum are ignored)
- def hd.spaces
- def hd.fit
- def AcpiHeader.makea header for building: signature, revision, OEMID, OEM table ID, with OEM revision 1 and creator "BEND" revision 1 (text fields fitted to size)
hpet.bend
- type AcpiHpet
- def hpet.read
- def AcpiHpet.of_sdt
- def hpet.parse
- def AcpiHpet.parse
- def AcpiHpet.block_id
- def AcpiHpet.base
- def AcpiHpet.vendor_idthe fields of the Event Timer Block ID
- def AcpiHpet.comparators
- def AcpiHpet.counter_64
- def AcpiHpet.legacy_capable
- def AcpiHpet.build
madt.bend
- type AcpiGiccAddrsthe GICC's addresses, grouped (bendlang/bend#1069: records of many W64s)
- type AcpiMadtEntry
- type AcpiMadt
- def AcpiMadt.entries
- def AcpiMadt.lapic_address32
- def AcpiMadt.flags
- def madt.min.go
- def madt.min
- def madt.gicc
- def madt.typed
- def madt.entry.pick
- def AcpiMadtEntry.of_raw
- def madt.rev
- def madt.push
- def madt.fin
- def madt.all
- def madt.mk2
- def madt.mk
- def madt.body
- def AcpiMadt.of_sdta checked table (header.bend: AcpiSdt.parse) as an MADT
- def madt.parse
- def AcpiMadt.parsethe MADT at the front of o: checked (length, checksum, signature "APIC"), then read
- def madt.override
- def AcpiMadt.lapic_addressthe local APIC's physical address: the 64-bit override structure's, if there is one (5.2.12.8), else the 32-bit field
- def madt.u16
- def madt.u32
- def madt.u64
- def madt.u8
- def madt.z
- def AcpiMadtEntry.encode
- def madt.enc
- def AcpiMadt.buildthe table (signature set to "APIC", length and checksum computed)
mcfg.bend
- type AcpiMcfgEntry
- type AcpiMcfg
- def mcfg.read
- def mcfg.body
- def AcpiMcfg.of_sdta checked table as an MCFG: the body is 8 reserved bytes and a whole number of 16-byte structures (AcpiBadSize otherwise)
- def mcfg.parse
- def AcpiMcfg.parse