PERFORCE change 193084 for review
John Baldwin
jhb at FreeBSD.org
Fri May 13 21:45:15 UTC 2011
http://p4web.freebsd.org/@@193084?ac=10
Change 193084 by jhb at jhb_jhbbsd on 2011/05/13 21:45:10
Compile.
Affected files ...
.. //depot/projects/pci/sys/x86/x86/nexus.c#9 edit
Differences ...
==== //depot/projects/pci/sys/x86/x86/nexus.c#9 (text+ko) ====
@@ -58,6 +58,7 @@
#include <machine/bus.h>
#include <machine/intr_machdep.h>
#include <sys/rman.h>
+#include <sys/sysctl.h>
#include <sys/interrupt.h>
#include <machine/vmparam.h>
@@ -875,15 +876,15 @@
static unsigned long host_mem_start = 0x80000000;
TUNABLE_ULONG("hw.pci.host_mem_start", &host_mem_start);
-SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, 0,
- "Limit the host bridge memory to being above this address.");
+SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start,
+ 0, "Limit the host bridge memory to being above this address.");
u_long
hostb_alloc_start(int type, u_long start, u_long end, u_long count)
{
if (start + count - 1 != end) {
- if (type == SYS_RES_MEMORY && start < acpi_host_mem_start)
+ if (type == SYS_RES_MEMORY && start < host_mem_start)
start = host_mem_start;
if (type == SYS_RES_IOPORT && start < 0x1000)
start = 0x1000;
More information about the p4-projects
mailing list