From owner-cvs-all Sun Sep 15 8: 7:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B34CD37B400; Sun, 15 Sep 2002 08:07:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 732D643E65; Sun, 15 Sep 2002 08:07:56 -0700 (PDT) (envelope-from dwmalone@FreeBSD.org) Received: from freefall.freebsd.org (dwmalone@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8FF7uJU094165; Sun, 15 Sep 2002 08:07:56 -0700 (PDT) (envelope-from dwmalone@freefall.freebsd.org) Received: (from dwmalone@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8FF7tnW094164; Sun, 15 Sep 2002 08:07:55 -0700 (PDT) Message-Id: <200209151507.g8FF7tnW094164@freefall.freebsd.org> From: David Malone Date: Sun, 15 Sep 2002 08:07:55 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys memrange.h src/sys/i386/i386 i686_mem.c k6_mem.c src/usr.sbin/memcontrol memcontrol.8 memcontrol.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG dwmalone 2002/09/15 08:07:55 PDT Modified files: sys/sys memrange.h sys/i386/i386 k6_mem.c i686_mem.c usr.sbin/memcontrol memcontrol.8 memcontrol.c Log: Some BIOSs are using MTRR values that are only documented under NDA to control the mapping of things like the ACPI and APM into memory. The problem is that starting X changes these values, so if something was using the bits of BIOS mapped into memory (say ACPI or APM), then next time they access this memory the machine would hang. This patch refuse to change MTRR values it doesn't understand, unless a new "force" option is given. This means X doesn't change them by accident but someone can override that if they really want to. PR: 28418 Tested by: Christopher Masto , David Bushong , Santos MFC after: 1 week Revision Changes Path 1.15 +11 -0 src/sys/i386/i386/i686_mem.c 1.9 +2 -2 src/sys/i386/i386/k6_mem.c 1.6 +1 -0 src/sys/sys/memrange.h 1.9 +2 -1 src/usr.sbin/memcontrol/memcontrol.8 1.8 +1 -0 src/usr.sbin/memcontrol/memcontrol.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message