CVS commit: src/sys/arch/i386/stand/pxeboot
Module Name:src Committed By: msaitoh Date: Fri Oct 18 04:13:56 UTC 2019 Modified Files: src/sys/arch/i386/stand/pxeboot: pxe.h Log Message: Fix typos. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/i386/stand/pxeboot/pxe.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/i386/stand/pxeboot
Module Name:src Committed By: msaitoh Date: Fri Oct 18 04:13:56 UTC 2019 Modified Files: src/sys/arch/i386/stand/pxeboot: pxe.h Log Message: Fix typos. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/i386/stand/pxeboot/pxe.h 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/pxe.h diff -u src/sys/arch/i386/stand/pxeboot/pxe.h:1.7 src/sys/arch/i386/stand/pxeboot/pxe.h:1.8 --- src/sys/arch/i386/stand/pxeboot/pxe.h:1.7 Tue May 28 08:59:34 2019 +++ src/sys/arch/i386/stand/pxeboot/pxe.h Fri Oct 18 04:13:56 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: pxe.h,v 1.7 2019/05/28 08:59:34 msaitoh Exp $ */ +/* $NetBSD: pxe.h,v 1.8 2019/10/18 04:13:56 msaitoh Exp $ */ /* * Copyright (c) 2000 Alfred Perlstein @@ -140,7 +140,7 @@ typedef struct { ADDR32_t ProtocolIni; /* Phys addr of a copy of the driver module */ uint8_t reserved[8]; -} __packed t_PXENV_UNDI_INITALIZE; +} __packed t_PXENV_UNDI_INITIALIZE; #define MAXNUM_MCADDR 8 @@ -219,7 +219,7 @@ typedef struct { #define PXENV_UNDI_SET_STATION_ADDRESS 0x000A typedef struct { PXENV_STATUS_t Status; - MAC_ADDR StationAddress; /* Temp MAC addres to use */ + MAC_ADDR StationAddress; /* Temp MAC address to use */ } __packed t_PXENV_UNDI_SET_STATION_ADDR; #define PXENV_UNDI_SET_PACKET_FILTER 0x000B @@ -345,7 +345,7 @@ typedef struct { # define PXENV_UNDI_ISR_OUT_NOT_OUTS 1 /* - * one of these will bre returnd for PXEND_UNDI_ISR_IN_PROCESS + * one of these will be returned for PXEND_UNDI_ISR_IN_PROCESS * and PXENV_UNDI_ISR_IN_GET_NEXT */ # define PXENV_UNDI_ISR_OUT_DONE 0
CVS commit: src/sys/arch/i386/stand/pxeboot
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=0x1 -DHEAP_LIMIT=0x3 +SAMISCCPPFLAGS+= -DHEAP_START=0x2 -DHEAP_LIMIT=0x4 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 */
CVS commit: src/sys/arch/i386/stand/pxeboot
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.
Re: CVS commit: src/sys/arch/i386/stand/pxeboot
On Sat, Oct 19, 2013 at 08:16:16PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Sun Oct 20 00:16:16 UTC 2013 Modified Files: src/sys/arch/i386/stand/pxeboot: pxe_call.S Log Message: Move an instruction above .code16 so that it produces an R_386_32 instead of an R_386_16 relocation, which is truncated to fit. XXX: untested. Broken - it would have to be moved to before the call to prot_to_real. David -- David Laight: da...@l8s.co.uk
Re: CVS commit: src/sys/arch/i386/stand/pxeboot
On Sun, Oct 20, 2013 at 07:49:55PM +0100, David Laight wrote: On Sat, Oct 19, 2013 at 08:16:16PM -0400, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Sun Oct 20 00:16:16 UTC 2013 Modified Files: src/sys/arch/i386/stand/pxeboot: pxe_call.S Log Message: Move an instruction above .code16 so that it produces an R_386_32 instead of an R_386_16 relocation, which is truncated to fit. XXX: untested. Broken - it would have to be moved to before the call to prot_to_real. Actually, if the value is more that 2^16 it is all broken anyway. When I changed the disk /boot so that it could exceed 64k I didn't change pxeboot (because I couldn't test it). From the code in pxe_call.S it looks as though %cs, %ds, %es (and maybe %ss) all have to be the same. If you look at the disk (etc) bios calls you'll see that they set %ds/%es correctly for the 32bit (well 20bit) linear address - which this code doesn't do. So the value has to fit in an R_386_16 relocation. If it doesn't, it migth explain some of the panics in the pxe code. David -- David Laight: da...@l8s.co.uk
CVS commit: src/sys/arch/i386/stand/pxeboot
Module Name:src Committed By: drochner Date: Sun Jan 17 17:02:47 UTC 2010 Modified Files: src/sys/arch/i386/stand/pxeboot: Makefile Log Message: fix tyop in default flag definition To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/stand/pxeboot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/sys/arch/i386/stand/pxeboot
On Mon, Dec 14, 2009 at 08:05:42PM +, David Laight wrote: Shut down the PXE network stack when we are done with it. I seem to remember some issues where certain bios locked up if/when that was called. Which is why it was commented out. But not, apparently, commented. -- Dan. pgpMpxzkkSPAv.pgp Description: PGP signature