Page MenuHomeFreeBSD

D39281.diff
No OneTemporary

D39281.diff

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

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)

Event Timeline