diff options
author | Steve Price <steve@FreeBSD.org> | 2000-12-11 02:22:36 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-12-11 02:22:36 +0000 |
commit | 53ad9271aa110fd911bd15a99055b1d60462f5ed (patch) | |
tree | d7da2590fb57595fd139b69630f6b381ba802a7a /net/etherboot/files | |
parent | 1f1e1cd7771e3f9198e7477a26c4b19bed15a60c (diff) |
Notes
Diffstat (limited to 'net/etherboot/files')
-rw-r--r-- | net/etherboot/files/patch-aa | 38 | ||||
-rw-r--r-- | net/etherboot/files/patch-ab | 36 |
2 files changed, 22 insertions, 52 deletions
diff --git a/net/etherboot/files/patch-aa b/net/etherboot/files/patch-aa index 0d35ff11ff50..4fb53b6d1fed 100644 --- a/net/etherboot/files/patch-aa +++ b/net/etherboot/files/patch-aa @@ -1,19 +1,7 @@ -*** Makefile.orig Sat Mar 18 00:30:20 2000 ---- Makefile Sat Mar 18 19:46:12 2000 +*** Makefile.orig Mon Oct 16 21:24:09 2000 +--- Makefile Sun Oct 22 10:05:01 2000 *************** -*** 90,95 **** ---- 90,98 ---- - IDENT16= 'Etherboot/16 $(VERSION) (GPL) $@' - IDENT32= 'Etherboot/32 $(VERSION) (GPL) $@' - -+ AS= `echo ../../bin*/gas/as-new` -+ LD32= `echo ../../bin*/ld/ld-new` -+ - # Find out if we're using binutils 2.9.5 which uses a different syntax in some - # places (most prominently in the opcode prefix area). - NEWGAS:= $(shell $(AS) --version | grep -q '2\.9\.1' || echo -DGAS295) -*************** -*** 142,148 **** +*** 149,155 **** #AS86= as86 # If you have made changes to the *.S files and you want to rebuild *loader.bin # and {floppy,com}load.bin and you have nasm (not most people) @@ -21,7 +9,7 @@ # if your as has trouble with the data32 directive, uncomment this # but note that the premade start*.o will be larger than necessary because it ---- 145,151 ---- +--- 149,155 ---- #AS86= as86 # If you have made changes to the *.S files and you want to rebuild *loader.bin # and {floppy,com}load.bin and you have nasm (not most people) @@ -29,21 +17,3 @@ # if your as has trouble with the data32 directive, uncomment this # but note that the premade start*.o will be larger than necessary because it -*************** -*** 207,213 **** - || { $(RM) $@; echo "ERROR: code size exceeds limit!"; exit 1; } - - # Make sure that the relocation address is acceptable for all ROM sizes -! RELOCADDR=0x98000 - # Evaluate ROMLIMIT only once - it is constant during the make run. - # Note that the 3K safety margin below is for the 1K extended BIOS data area - # and for the Etherboot runtime stack. Under normal situations, 2K of stack ---- 211,218 ---- - || { $(RM) $@; echo "ERROR: code size exceeds limit!"; exit 1; } - - # Make sure that the relocation address is acceptable for all ROM sizes -! #RELOCADDR=0x98000 -! RELOCADDR=0x8f000 - # Evaluate ROMLIMIT only once - it is constant during the make run. - # Note that the 3K safety margin below is for the 1K extended BIOS data area - # and for the Etherboot runtime stack. Under normal situations, 2K of stack diff --git a/net/etherboot/files/patch-ab b/net/etherboot/files/patch-ab index 328288314780..719016ea8870 100644 --- a/net/etherboot/files/patch-ab +++ b/net/etherboot/files/patch-ab @@ -1,19 +1,19 @@ -*** Config.orig Mon May 15 10:15:18 2000 ---- Config Mon May 15 10:16:04 2000 +*** main.c.orig Sun Oct 22 10:07:25 2000 +--- main.c Sun Oct 22 10:07:58 2000 *************** -*** 143,149 **** - # CFLAGS32+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3f8 -DCONSPEED=9600 - - # Enable generic ELF, Multiboot ELF or FreeBSD ELF/a.out boot image support -! # CFLAGS32+= -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD - - # Change download protocol to NFS. Only available for Etherboot/32 for now. - # CFLAGS32+= -DDOWNLOAD_PROTO_NFS ---- 143,149 ---- - # CFLAGS32+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3f8 -DCONSPEED=9600 - - # Enable generic ELF, Multiboot ELF or FreeBSD ELF/a.out boot image support -! CFLAGS32+= -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD - - # Change download protocol to NFS. Only available for Etherboot/32 for now. - # CFLAGS32+= -DDOWNLOAD_PROTO_NFS +*** 940,946 **** + memset(motd, 0, sizeof(motd)); + #endif + end_of_rfc1533 = NULL; +! vendorext_isvalid = 0; + if (memcmp(p, rfc1533_cookie, 4)) + return(0); /* no RFC 1533 header found */ + p += 4; +--- 940,946 ---- + memset(motd, 0, sizeof(motd)); + #endif + end_of_rfc1533 = NULL; +! vendorext_isvalid = 1; /* FreeBSD uses this field for swap */ + if (memcmp(p, rfc1533_cookie, 4)) + return(0); /* no RFC 1533 header found */ + p += 4; |