Subject: Re: buggy bios or pnpbios problem?
To: Castor Fu <castor@geocast.com>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: port-i386
Date: 12/01/1999 15:39:50
castor@geocast.com said:
> Are there restrictions on when the BIOS can be called which we might
> be violating, like something is already configured, or its
> configuration is not registered? 

Not that I'm aware of - the standard doesn't mention such restrictions.
Just one idea - can you try the appended patch?

best regards
Matthias


Index: pnpbios.c
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/i386/pnpbios/pnpbios.c,v
retrieving revision 1.6
diff -c -r1.6 pnpbios.c
*** pnpbios.c	1999/11/30 15:54:55	1.6
--- pnpbios.c	1999/12/01 14:34:18
***************
*** 284,289 ****
--- 284,290 ----
  	int res;
  	short *help = (short *)(pnpbios_scratchbuf + PNPBIOS_BUFSIZE);
  
+ help -= 100;
  	*--help = GSEL(GPNPBIOSDATA_SEL, SEL_KPL);
  	*--help = flags;
  	*--help = GSEL(GPNPBIOSSCRATCH_SEL, SEL_KPL);