PROOFTables.tb.ment_b: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/PROOF_tables.bend as PROOFTables Lines 438-443 of bend-osdev-acpi@0.1.1.0/PROOF_tables.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&start_line=438&end_line=443 import Base import bend-osdev-word64@0.1.1.0/word64.bend as W import bend-osdev-bytes@0.1.1.0/bytes.bend as B import bend-osdev-acpi@0.1.1.0/fields.bend as F import bend-osdev-acpi@0.1.1.0/mcfg.bend as Mc def tb.ment_b(+ah: U32, +al: U32, +s: U32, +lo: U32, +hi: U32, +rest: B.Octets) -> {Mc.AcpiMcfgEntry{W.W64.from_parts(ah, al), B.low16(s), B.byte(lo), B.byte(hi)} == Mc.AcpiMcfgEntry{F.AcpiF.u64(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 0n), F.AcpiF.u16(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 8n), F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 10n), F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 11n)} : Mc.AcpiMcfgEntry}: %tb.c64(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest, tb.clen(ah, al, s, lo, hi)) : {Mc.AcpiMcfgEntry{W.W64.from_parts(ah, al), B.low16(s), B.byte(lo), B.byte(hi)} == Mc.AcpiMcfgEntry{_, F.AcpiF.u16(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 8n), F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 10n), F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 11n)} : Mc.AcpiMcfgEntry} %tb.c16(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest, tb.clen(ah, al, s, lo, hi)) : {Mc.AcpiMcfgEntry{W.W64.from_parts(ah, al), B.low16(s), B.byte(lo), B.byte(hi)} == Mc.AcpiMcfgEntry{F.AcpiF.u64(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 0n), _, F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 10n), F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 11n)} : Mc.AcpiMcfgEntry} %tb.c8(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest, 10n, tb.ilt(10n, B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), tb.clen(ah, al, s, lo, hi), {==})) : {Mc.AcpiMcfgEntry{W.W64.from_parts(ah, al), B.low16(s), B.byte(lo), B.byte(hi)} == Mc.AcpiMcfgEntry{F.AcpiF.u64(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 0n), F.AcpiF.u16(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 8n), _, F.AcpiF.u8(B.Octets.append(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest), 11n)} : Mc.AcpiMcfgEntry} %tb.c8(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), rest, 11n, tb.ilt(11n, B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), tb.clen(ah, al, s, lo, hi), {==})) : {Mc.AcpiMcfgEntry{W.W64.from_parts(ah, al), B.low16(s), B.byte(lo), B.byte(hi)} == Mc.AcpiMcfgEntry{F.AcpiF.u64(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 0n), F.AcpiF.u16(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 8n), F.AcpiF.u8(B.Octets.concat([B.Octets.le64(W.W64.from_parts(ah, al)), B.Octets.le16(s), B.Octets.of_list([lo, hi]), B.Octets.zeros(4n)]), 10n), _} : Mc.AcpiMcfgEntry} tb.cvals(ah, al, s, lo, hi) Uses (22): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.c16 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.c64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.c8 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.clen https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.cvals https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/PROOF_tables.bend&name=tb.ilt https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/fields.bend&name=AcpiF.u16 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/fields.bend&name=AcpiF.u64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/fields.bend&name=AcpiF.u8 https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/mcfg.bend&name=AcpiMcfgEntry https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.concat https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.le16 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.le64 https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.of_list https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.zeros https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=byte https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=low16 https://jend.leeeet.dev/definition.txt?path=bend-osdev-word64@0.1.1.0/word64.bend&name=W64.from_parts