git: 87984eddde4d - main - bus: Renumber global IVAR ranges
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 17 Feb 2026 20:46:22 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=87984eddde4dca3ded908f70d2699788e9d8d019
commit 87984eddde4dca3ded908f70d2699788e9d8d019
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-02-17 20:46:06 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-02-17 20:46:06 +0000
bus: Renumber global IVAR ranges
Use a more consistent scheme for allocating shared IVAR index ranges.
Differential Revision: https://reviews.freebsd.org/D54161
---
sys/sys/bus.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 2b5a3fb7d2ee..d90e2a81f054 100644
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -308,9 +308,9 @@ enum intr_polarity {
#define BUS_IVARS_PRIVATE 0x0 /* private variables */
#define BUS_IVARS_ACPI 0x100
-#define BUS_IVARS_GIC 500
-#define BUS_IVARS_GPIOBUS 10500
-#define BUS_IVARS_SUPERIO 10600
+#define BUS_IVARS_GIC 0x200
+#define BUS_IVARS_GPIOBUS 0x300
+#define BUS_IVARS_SUPERIO 0x400
/**
* CPU sets supported by bus_get_cpus(). Note that not all sets may be