From owner-cvs-all@FreeBSD.ORG Tue Oct 7 14:06:03 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D68AC106568D; Tue, 7 Oct 2008 14:06:03 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id AB54C8FC16; Tue, 7 Oct 2008 14:06:03 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m97E63Vq098994; Tue, 7 Oct 2008 14:06:03 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m97E63xr098993; Tue, 7 Oct 2008 14:06:03 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200810071406.m97E63xr098993@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 7 Oct 2008 14:05:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/boot/i386/libi386 bootinfo64.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2008 14:06:04 -0000 jhb 2008-10-07 14:05:42 UTC FreeBSD src repository Modified files: sys/boot/i386/libi386 bootinfo64.c Log: SVN rev 183667 on 2008-10-07 14:05:42Z by jhb Use CPUID to see if the current CPU supports long mode when attemping to boot an amd64 kernel. If not, then fail the boot request with an error message. Otherwise, the boot attempt will fail with a BTX fault when trying to read the EFER MSR. MFC after: 3 days Revision Changes Path 1.38 +47 -1 src/sys/boot/i386/libi386/bootinfo64.c