From owner-freebsd-current@freebsd.org Tue Sep 18 10:12:27 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D5181099AEC for ; Tue, 18 Sep 2018 10:12:27 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from hraggstad.unrelenting.technology (hraggstad.unrelenting.technology [71.19.146.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "hraggstad.unrelenting.technology", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B6C2189151 for ; Tue, 18 Sep 2018 10:12:26 +0000 (UTC) (envelope-from greg@unrelenting.technology) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=unrelenting.technology; h=date:from:subject:to:message-id; s=default; bh=yc56KSN+7a+HbNJW1rTGaDuAeq4Yw6lpa33oOwVy1xk=; b=MxZtlbNKMsj+Vp2UCIU77qC86AE8SSSAh2Bcccb/KLoO16Qd2qVLjHBiIsG+/sn0gb3Yn2+tjmSCY8+nQ4CvdP9qEspoHfi41so0hA1y+cd9b2WL1lI6BgmUDQQDay3MI0YS4d000b5CA37VuqyUoTKyr4HrEOURFmIA2L3b52s= Received: by hraggstad.unrelenting.technology (OpenSMTPD) with ESMTPSA id 0bb11e17 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Tue, 18 Sep 2018 10:12:00 +0000 (UTC) Date: Tue, 18 Sep 2018 13:11:55 +0300 From: Greg V Subject: Re: FreeBSD EFI projects To: Konstantin Belousov Cc: Warner Losh , rebecca@bluestop.org, FreeBSD Current Message-Id: <1537265515.2378.0@hraggstad.unrelenting.technology> In-Reply-To: <20180917200935.GD3161@kib.kiev.ua> References: <1dbeee10-857e-7fb2-dac2-1047353739ba@bluestop.org> <3ce6e6cb-a608-2969-09d4-201df07df586@bluestop.org> <20180917200935.GD3161@kib.kiev.ua> X-Mailer: geary/0.12.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2018 10:12:27 -0000 On Mon, Sep 17, 2018 at 11:09 PM, Konstantin Belousov wrote: > That said, making only the loader->kernel transition from EFI 32bit to > 64bit kernel should be not too hard, and even significantly simpler > than > to make 32bit EFI load 32bit kernel. amd64 kernels already aware that > there might be no BIOS and they do not try to make vm86 calls into > real > code, and only read memory map from the loader metadata etc. > > Besides old Macs, this should also benefit newer Intel embedded-like > boards. Hi, I can confirm that the kernel already worked fine when booted from 32-bit EFI. I booted an old Mac into HardenedBSD using a 32-bit-EFI build of GRUB2 :)