Page MenuHomeFreeBSD

D61473.1796282925.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D61473.1796282925.diff

diff --git a/usr.sbin/bhyve/riscv/fdt.c b/usr.sbin/bhyve/riscv/fdt.c
--- a/usr.sbin/bhyve/riscv/fdt.c
+++ b/usr.sbin/bhyve/riscv/fdt.c
@@ -312,15 +312,15 @@
pin = i % 4;
slot = i / 4;
intr = intrs[(pin + slot) % 4];
- SET_PROP_U32(prop, 10 * i + 0, slot << 11);
- SET_PROP_U32(prop, 10 * i + 1, 0);
- SET_PROP_U32(prop, 10 * i + 2, 0);
- SET_PROP_U32(prop, 10 * i + 3, pin + 1);
- SET_PROP_U32(prop, 10 * i + 4, aplic_phandle);
- SET_PROP_U32(prop, 10 * i + 5, 0);
- SET_PROP_U32(prop, 10 * i + 6, 0);
- SET_PROP_U32(prop, 10 * i + 7, intr);
- SET_PROP_U32(prop, 10 * i + 8, IRQ_TYPE_LEVEL_HIGH);
+ SET_PROP_U32(prop, 9 * i + 0, slot << 11);
+ SET_PROP_U32(prop, 9 * i + 1, 0);
+ SET_PROP_U32(prop, 9 * i + 2, 0);
+ SET_PROP_U32(prop, 9 * i + 3, pin + 1);
+ SET_PROP_U32(prop, 9 * i + 4, aplic_phandle);
+ SET_PROP_U32(prop, 9 * i + 5, 0);
+ SET_PROP_U32(prop, 9 * i + 6, 0);
+ SET_PROP_U32(prop, 9 * i + 7, intr);
+ SET_PROP_U32(prop, 9 * i + 8, IRQ_TYPE_LEVEL_HIGH);
}
fdt_end_node(fdt);

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 3, 7:28 AM (2 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41705461
Default Alt Text
D61473.1796282925.diff (1 KB)

Event Timeline