From b4116ecee3343c347dc89ca15f7cf487f0511219 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 21 Nov 2009 19:39:20 +0000 Subject: Fix registration of memory after 1GB on Octane. Found the hard way by martin@ --- sys/arch/sgi/sgi/ip30_machdep.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/sgi/sgi/ip30_machdep.c b/sys/arch/sgi/sgi/ip30_machdep.c index e415d8d2a3e..d98b42b6cec 100644 --- a/sys/arch/sgi/sgi/ip30_machdep.c +++ b/sys/arch/sgi/sgi/ip30_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip30_machdep.c,v 1.17 2009/11/19 06:06:51 miod Exp $ */ +/* $OpenBSD: ip30_machdep.c,v 1.18 2009/11/21 19:39:19 miod Exp $ */ /* * Copyright (c) 2008, 2009 Miodrag Vallat. @@ -126,7 +126,8 @@ ip30_setup() if (end <= start) continue; - memrange_register(start, count, 0, VM_FREELIST_DEFAULT); + memrange_register(atop(start), atop(count), + 0, VM_FREELIST_DEFAULT); } } -- cgit v1.2.3