From 2b2e0c514bf8f8a8dd109ee5996de7e1c1f398bf Mon Sep 17 00:00:00 2001 From: Able Date: Sat, 14 Sep 2024 04:28:45 -0500 Subject: [PATCH] multiline --- sysdata/libraries/pci/src/lib.hb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysdata/libraries/pci/src/lib.hb b/sysdata/libraries/pci/src/lib.hb index 54fb294b..1445faef 100644 --- a/sysdata/libraries/pci/src/lib.hb +++ b/sysdata/libraries/pci/src/lib.hb @@ -13,7 +13,10 @@ scan_bus := fn(): void { config_read32 := fn(bus: u32, device: u32, func: u32, offset: u32): u32 { // construct address param - address := bus << 16 | device << 11 | func << 8 | offset & 0xFC | 0x80000000 + address := bus << 16 | device << 11 | func << 8 + address |= offset + address &= 0xFC + address |= 0x80000000 // write address //Port::new(0xCF8).write(address);