Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F97298906
D39281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
839 B
Referenced Files
None
Subscribers
None
D39281.diff
View Options
diff --git a/sys/x86/pci/pci_early_quirks.c b/sys/x86/pci/pci_early_quirks.c
--- a/sys/x86/pci/pci_early_quirks.c
+++ b/sys/x86/pci/pci_early_quirks.c
@@ -32,6 +32,8 @@
#include <sys/systm.h>
#include <sys/bus.h>
#include <sys/kernel.h>
+#include <sys/sysctl.h>
+
#include <vm/vm.h>
/* XXX: enable this once the KPI is available */
/* #include <x86/physmem.h> */
@@ -56,6 +58,12 @@
*/
vm_paddr_t intel_graphics_stolen_base = 0;
vm_paddr_t intel_graphics_stolen_size = 0;
+SYSCTL_U64(_hw, OID_AUTO, intel_graphics_stolen_base, CTLFLAG_RD,
+ &intel_graphics_stolen_base, 0,
+ "Base address of the intel graphics stolen memory.");
+SYSCTL_U64(_hw, OID_AUTO, intel_graphics_stolen_size, CTLFLAG_RD,
+ &intel_graphics_stolen_size, 0,
+ "Size of the intel graphics stolen memory.");
/*
* Intel early quirks functions
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Sep 29, 1:20 PM (21 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13130630
Default Alt Text
D39281.diff (839 B)
Attached To
Mode
D39281: pci: expose intel_graphics_stolen as sysctl
Attached
Detach File
Event Timeline
Log In to Comment