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 #include #include +#include + #include /* XXX: enable this once the KPI is available */ /* #include */ @@ -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