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/13/1999 14:40:23
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);