From: Michael Brown Subject: Re: [Patch] [BIOS] support BCV for rombios Date: Thu, 11 Dec 2008 04:57:57 +0000 Message-ID: <200812110457.57802.mbrown@fensystems.co.uk> References: <0C959291A7343takebe_akio@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bochs-developers-bounces@lists.sourceforge.net To: bochs-developers@lists.sourceforge.net Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Thursday 11 December 2008 00:02:40 Sebastian Herbszt wrote: > > + ;; Point ES:DI at "$PnP", which tells the ROM that we are a PnP BIOS. > > + mov bx, #0xf000 > > + mov es, bx > > + lea di, pnp_string > > Should ax, bx and dx get set to some sane value, e.g. 0? Those are only > needed for PnP ISA devices, but some broken option rom might expect > something there. I haven't checked the spec, but if the parameters are meant to match the initialisation vector or other similar entry points (e.g. the UNDI loader entry point for PXE ROMs) then %ax should contain the PCI bus:dev.fn number. Michael ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/