Subject: Re: buggy bios or pnpbios problem?
To: Matthias Drochner <M.Drochner@fz-juelich.de>
From: Castor Fu <castor@geocast.com>
List: port-i386
Date: 12/02/1999 00:56:28
Tried it. . . doesn't seem to help.
Very odd. Well, I suppose I don't really need it for any of the
devices I'm using. It would be nice to have a unified kernel though. . .
-castor
On Wed, 1 Dec 1999, Matthias Drochner wrote:
>
> 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);
>
>
>