Module Name: src Committed By: gson Date: Fri Sep 27 08:57:10 UTC 2019
Modified Files: src/sys/arch/i386/stand/pxeboot: Makefile start_pxe.S Log Message: Incrase pxeboot code size limit from 64k to 128k. Fixes PR kern/54560. The start_pxe.S part was suggested by mlelstv. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/arch/i386/stand/pxeboot/Makefile cvs rdiff -u -r1.6 -r1.7 src/sys/arch/i386/stand/pxeboot/start_pxe.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/i386/stand/pxeboot/Makefile diff -u src/sys/arch/i386/stand/pxeboot/Makefile:1.27 src/sys/arch/i386/stand/pxeboot/Makefile:1.28 --- src/sys/arch/i386/stand/pxeboot/Makefile:1.27 Mon Sep 23 13:42:37 2019 +++ src/sys/arch/i386/stand/pxeboot/Makefile Fri Sep 27 08:57:10 2019 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2019/09/23 13:42:37 christos Exp $ +# $NetBSD: Makefile,v 1.28 2019/09/27 08:57:10 gson Exp $ S= ${.CURDIR}/../../../.. @@ -66,7 +66,7 @@ CPPFLAGS+= -DBOOTPARAM_DEFFLAGS=0x0c #CFLAGS= -O2 -fomit-frame-pointer -fno-defer-pop CFLAGS+= -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-main -SAMISCCPPFLAGS+= -DHEAP_START=0x10000 -DHEAP_LIMIT=0x30000 +SAMISCCPPFLAGS+= -DHEAP_START=0x20000 -DHEAP_LIMIT=0x40000 SAMISCMAKEFLAGS+= SA_USE_CREAD=yes # Read compressed kernels CPPFLAGS+= -DPASS_BIOSGEOM Index: src/sys/arch/i386/stand/pxeboot/start_pxe.S diff -u src/sys/arch/i386/stand/pxeboot/start_pxe.S:1.6 src/sys/arch/i386/stand/pxeboot/start_pxe.S:1.7 --- src/sys/arch/i386/stand/pxeboot/start_pxe.S:1.6 Fri Mar 18 17:46:26 2011 +++ src/sys/arch/i386/stand/pxeboot/start_pxe.S Fri Sep 27 08:57:10 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: start_pxe.S,v 1.6 2011/03/18 17:46:26 jakllsch Exp $ */ +/* $NetBSD: start_pxe.S,v 1.7 2019/09/27 08:57:10 gson Exp $ */ /* * Copyright 2001 Wasabi Systems, Inc. @@ -69,7 +69,7 @@ _C_LABEL(boot_params): # set up %ss and %sp movl $_end, %eax /* top of bss */ shrl $4, %eax /* as a segment */ - addw $0x1001, %ax /* and + 64k */ + addw $0x2001, %ax /* and + 128k */ movw %ax, %ss /* for stack */ movw $0xfffc, %sp /* %sp at top of it */