Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106131353
D20454.id58102.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D20454.id58102.diff
View Options
Index: sys/arm64/arm64/gic_v3.c
===================================================================
--- sys/arm64/arm64/gic_v3.c
+++ sys/arm64/arm64/gic_v3.c
@@ -390,10 +390,6 @@
case GICV3_IVAR_NIRQS:
*result = (NIRQ - sc->gic_nirqs) / sc->gic_nchildren;
return (0);
- case GICV3_IVAR_REDIST_VADDR:
- *result = (uintptr_t)rman_get_virtual(
- &sc->gic_redists.pcpu[PCPU_GET(cpuid)]->res);
- return (0);
case GICV3_IVAR_REDIST:
*result = (uintptr_t)sc->gic_redists.pcpu[PCPU_GET(cpuid)];
return (0);
Index: sys/arm64/arm64/gic_v3_var.h
===================================================================
--- sys/arm64/arm64/gic_v3_var.h
+++ sys/arm64/arm64/gic_v3_var.h
@@ -94,11 +94,10 @@
/* ivars */
#define GICV3_IVAR_NIRQS 1000
-#define GICV3_IVAR_REDIST_VADDR 1001
+/* 1001 was GICV3_IVAR_REDIST_VADDR */
#define GICV3_IVAR_REDIST 1002
__BUS_ACCESSOR(gicv3, nirqs, GICV3, NIRQS, u_int);
-__BUS_ACCESSOR(gicv3, redist_vaddr, GICV3, REDIST_VADDR, void *);
__BUS_ACCESSOR(gicv3, redist, GICV3, REDIST, void *);
/* Device methods */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 10:20 PM (10 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15608330
Default Alt Text
D20454.id58102.diff (1 KB)
Attached To
Mode
D20454: arm64 gic: Drop unused GICV3_IVAR_REDIST_VADDR
Attached
Detach File
Event Timeline
Log In to Comment