Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/pxeboot Incrase pxeboot code size limit ...



details:   https://anonhg.NetBSD.org/src/rev/723aac00eaa0
branches:  trunk
changeset: 1003724:723aac00eaa0
user:      gson <gson%NetBSD.org@localhost>
date:      Fri Sep 27 08:57:10 2019 +0000

description:
Incrase pxeboot code size limit from 64k to 128k.  Fixes PR kern/54560.
The start_pxe.S part was suggested by mlelstv.

diffstat:

 sys/arch/i386/stand/pxeboot/Makefile    |  4 ++--
 sys/arch/i386/stand/pxeboot/start_pxe.S |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r e09a54f77869 -r 723aac00eaa0 sys/arch/i386/stand/pxeboot/Makefile
--- a/sys/arch/i386/stand/pxeboot/Makefile      Fri Sep 27 08:17:11 2019 +0000
+++ b/sys/arch/i386/stand/pxeboot/Makefile      Fri Sep 27 08:57:10 2019 +0000
@@ -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 @@
 #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
diff -r e09a54f77869 -r 723aac00eaa0 sys/arch/i386/stand/pxeboot/start_pxe.S
--- a/sys/arch/i386/stand/pxeboot/start_pxe.S   Fri Sep 27 08:17:11 2019 +0000
+++ b/sys/arch/i386/stand/pxeboot/start_pxe.S   Fri Sep 27 08:57:10 2019 +0000
@@ -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 @@
        # 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 */
 



Home | Main Index | Thread Index | Old Index