From owner-freebsd-hackers@FreeBSD.ORG Tue May 15 08:00:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A9B61106566B for ; Tue, 15 May 2012 08:00:56 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:70:0:1:25:1]) by mx1.freebsd.org (Postfix) with ESMTP id 2F4EB8FC15 for ; Tue, 15 May 2012 08:00:56 +0000 (UTC) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3VsB6Q6MzPz4KMZ2; Tue, 15 May 2012 10:00:46 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 3VsB6Q5fkVz4KK5f; Tue, 15 May 2012 10:00:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id xVQcQnIVcC6u; Tue, 15 May 2012 10:00:46 +0200 (CEST) Received: from mail.reifenberger.com (ppp-93-104-54-128.dynamic.mnet-online.de [93.104.54.128]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Tue, 15 May 2012 10:00:45 +0200 (CEST) Received: by mail.reifenberger.com (Postfix, from userid 1001) id 4EBD82686A; Tue, 15 May 2012 10:00:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.reifenberger.com (Postfix) with ESMTP id 27F7226867; Tue, 15 May 2012 10:00:45 +0200 (CEST) Date: Tue, 15 May 2012 10:00:44 +0200 (CEST) From: Michael Reifenberger To: Eric McCorkle In-Reply-To: <4FB17B85.9080701@shadowsun.net> Message-ID: References: <4FA95960.7090908@shadowsun.net> <4FB17B85.9080701@shadowsun.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: GSoC Project: EFI on amd64/i386 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 08:00:56 -0000 On Mon, 14 May 2012, Eric McCorkle wrote: ... > If I understand things correctly, boot2 handles the switch to > protected mode (as well as enabling A20), both loader(8) and the > kernel begin their execution in a protected mode environment. Can I > get an absolute confirmation on this? Obviously if this is not the > case, then there will need to be another (protected mode) entry point > into the kernel. > No. *boot* and *loader should be the same on X32 and AMD64. The kernel seems to switch to long mode in /sys/amd64/amd64/mpboot.S Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com