From: Kevin O'Connor Subject: Re: [Qemu-devel] [ipxe-devel] Big real mode use in ipxe Date: Sun, 19 Aug 2012 11:53:32 -0400 Message-ID: <20120819155332.GC12794@morn.localdomain> References: <50310119.4070806@redhat.com> <201208191634.50590.mbrown@fensystems.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ipxe-devel@lists.ipxe.org, "seabios@seabios.org" , Avi Kivity , KVM list , qemu-devel To: Michael Brown Return-path: Received: from mail-vc0-f174.google.com ([209.85.220.174]:50156 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753730Ab2HSPxe (ORCPT ); Sun, 19 Aug 2012 11:53:34 -0400 Received: by vcbfk26 with SMTP id fk26so4279733vcb.19 for ; Sun, 19 Aug 2012 08:53:33 -0700 (PDT) Content-Disposition: inline In-Reply-To: <201208191634.50590.mbrown@fensystems.co.uk> Sender: kvm-owner@vger.kernel.org List-ID: On Sun, Aug 19, 2012 at 04:34:50PM +0100, Michael Brown wrote: > On Sunday 19 Aug 2012 16:07:05 Avi Kivity wrote: > > (and that seabios needs changes to either work in > > big real mode, or to put the processor back into big real mode after > > returning from a PMM service. > > If seabios switches into protected mode when performing a PMM service, then it > _must_ leave the segment limits at 4G when returning to real mode. To do > otherwise will violate the PMM spec, and will break conforming clients such as > iPXE. SeaBIOS does switch to 32bit mode during PMM calls and does switch to 16bit "big real" mode (segment limits set to 4G) on return. -Kevin