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/14/1999 11:14:29
I can't tell any difference in behavior between this and the original.

	-castor

On Mon, 13 Dec 1999, Matthias Drochner wrote:

> Just another idea which could help if an insane BIOS draws
> too fargoing conclusions from the stack's default size.
> Can you give it a try?
> 
> best regards
> Matthias
> 
> 
> Index: arch/i386/pnpbios/pnpbios.c
> ===================================================================
> RCS file: /cvsroot/syssrc/sys/arch/i386/pnpbios/pnpbios.c,v
> retrieving revision 1.6
> diff -u -r1.6 pnpbios.c
> --- pnpbios.c	1999/11/30 15:54:55	1.6
> +++ pnpbios.c	1999/12/13 11:08:41
> @@ -216,7 +216,7 @@
>  		   SDT_MEMRWA, SEL_KPL, 0, 0);
>  	setsegment(&gdt[GPNPBIOSSCRATCH_SEL].sd,
>  		   pnpbios_scratchbuf, PNPBIOS_BUFSIZE - 1,
> -		   SDT_MEMRWA, SEL_KPL, 0, 0);
> +		   SDT_MEMRWA, SEL_KPL, 1, 0);
>  	setsegment(&gdt[GPNPBIOSTRAMP_SEL].sd,
>  		   pnpbiostramp, epnpbiostramp - pnpbiostramp - 1,
>  		   SDT_MEMERA, SEL_KPL, 1, 0);