Commit Graph

  • 105ebec4f3 Merge commit 'laptop/master' Michael Brown 2008-01-22 18:57:01 +00:00
  • 122abb50af Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2008-01-22 18:53:01 +00:00
  • c9c8cdeb8b Add pxe_set_cached_filename() so that pxe_tftp.c can also update the stored DHCP packets. Michael Brown 2008-01-22 18:51:12 +00:00
  • 84f99f781e Use XFER_INIT() macro. Michael Brown 2008-01-22 18:50:24 +00:00
  • a2b4252d5a Add XFER_INIT() macro. Michael Brown 2008-01-22 18:48:47 +00:00
  • f6a8158eed Make seek information part of the xfer metadata, rather than an entirely separate xfer method. Michael Brown 2008-01-08 16:46:55 +00:00
  • 74fd544101 Added the embedded pxelinux payload patch from hpa. Michael Brown 2008-01-08 15:51:36 +00:00
  • 3311169707 When the DHCP file/sname fields are empty, don't allow them to override their equivalent DHCP-option-specified values. Michael Brown 2008-01-07 13:50:32 +00:00
  • de29e5a39c Use .SECONDARY instead of .PRECIOUS for bin/%.tmp targets. Michael Brown 2008-01-07 13:15:12 +00:00
  • 82bae302b1 Fix off-by-one error (discovered by Shao Miller). Michael Brown 2008-01-07 13:12:43 +00:00
  • a9b8197f64 Unconditionally set utility program variables in Makefile to allow CROSS_COMPILE to work. Marty Connor 2008-01-02 12:50:30 -05:00
  • af56768e98 Retain some intermediate object files, suggested by Geert Stappers and Alexey Zaytsev. Marty Connor 2007-12-28 14:33:11 -05:00
  • f3265b4bf8 Add preliminary support for MTFTP. Michael Brown 2007-12-26 18:51:20 +00:00
  • 9d4e4dbc32 3c90x driver fix (legacy) from Geert Staapers Marty Connor 2007-12-20 11:53:00 -05:00
  • ff476c04e9 Fix e1000 receive tail pointer (RDT) handling Marty Connor 2007-12-17 13:07:29 -05:00
  • bea8787a03 Kill off the now-obsolete *_fill_nic() functions. Michael Brown 2007-12-15 19:40:55 +00:00
  • 7e8624a26f Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-12-15 19:37:44 +00:00
  • 5172d7b266 Autodetect whether or not we need to be using -fno-stack-protector. Michael Brown 2007-12-15 19:37:21 +00:00
  • 1d7974182e Overwrite the device descriptor's IRQ number with whatever the legacy driver's probe() routine fills in in nic->irqno. This is so that non-interrupt-capable legacy drivers which set nic->irqno=0 will end up reporting IRQ#0 via PXENV_UNDI_GET_INFORMATION; this in turn means that the calling PXE NBP will (should) hook the timer interrupt, and everything will sort of work. Michael Brown 2007-12-15 19:32:32 +00:00
  • bd2607305c Correct e1000 interrupt routine to enable on 1 disable on 0. duh. Marty Connor 2007-12-13 11:20:45 -05:00
  • 1a867bfb39 Remove *_fill_nic() calls, and directly set nic->ioaddr and nic->irqno . Marty Connor 2007-12-13 11:08:40 -05:00
  • 9747c1a486 Remove the obsolete pre-aBFT AoE boot table. Michael Brown 2007-12-12 14:32:02 +00:00
  • 3ab571006e Yet another attempt to autodetect an appropriate "echo -e". Michael Brown 2007-12-07 14:25:02 -06:00
  • 27b414da81 Ignore .echocheck internal housekeeping file. Michael Brown 2007-12-08 00:51:24 +00:00
  • a8bddfe153 Another (hopefully more robust) attempt to find a usable substitute for "echo -e" on the host system. Michael Brown 2007-12-08 00:50:57 +00:00
  • 2c7a9e803c Remove the (unused) option to override _prefix_link_addr, _textdata_link_addr, _load_addr and _max_align in the linker scripts. A bug in some versions of ld causes segfaults if the DEFINED() macro is used in a linker script *and* the -Map option to ld is present. Michael Brown 2007-12-07 01:34:11 -06:00
  • cf895a8c7c Avoid Makefile syntax that requires make >= 3.81. Michael Brown 2007-12-07 04:14:06 +00:00
  • 3b58fc0baf Try to fix echo-detection to work on all systems that provide any suitable "echo -e" substitute. Michael Brown 2007-12-07 03:35:32 +00:00
  • 1949641d10 Fix compiler warnings that appear only on OpenBSD. Michael Brown 2007-12-06 14:16:46 -06:00
  • 798f7f6b8e Kill off some warnings-problematic debug statements in ndp.c; the code is non-functional anyway. Michael Brown 2007-12-07 01:51:08 +00:00
  • 6b0e147e0d Don't complain when callers provide too-short buffers for PXENV_GET_CACHED_INFO. NTLDR does this. Michael Brown 2007-12-07 01:06:37 +00:00
  • 698b5bc887 Fix a minor logical error in posix_io.c Michael Brown 2007-12-07 00:52:48 +00:00
  • df868476e7 Various warnings fixups for OpenBSD with gcc-3.3.5. Michael Brown 2007-12-07 00:11:43 +00:00
  • 64787bad29 Fix prototype mismatch. Michael Brown 2007-12-06 23:35:37 +00:00
  • be6ada2b7b Add missing format qualifier Michael Brown 2007-12-06 21:38:23 +00:00
  • 82a3e80645 Add copyright, clean up comments a bit, remove unnecessary code. Marty Connor 2007-12-03 01:17:14 -05:00
  • 1de705e30f Reallocate memory for bitmaps only when necessary. Michael Brown 2007-11-29 19:10:10 +00:00
  • 423e9d72f3 udp_open_promisc() calls udp_open_common() with peer==NULL. Michael Brown 2007-11-28 11:56:14 +00:00
  • 3b1efba864 Add RFC2090 TFTP multicast support. Michael Brown 2007-11-28 10:57:26 +00:00
  • f770744ee0 Quick hack to be able to accept transfers from servers that don't supply options. Michael Brown 2007-11-25 16:06:29 +00:00
  • 7f1518b236 Merge branch 'mdc-working' of ssh://git.etherboot.org//pub/scm/people/mdc/gpxe Marty Connor 2007-11-23 21:54:26 -05:00
  • 838ecba131 Provide individually cached constructed copies of DHCP packets via PXENV_GET_CACHED_INFO. If we dont do this, Altiris' NBP screws up; it relies on being able to grab pointers to each of the three packets and then read them at will later. Michael Brown 2007-11-22 04:43:11 +00:00
  • 3a2473f123 Do not fill in the BufferLimit field in struct s_PXENV_GET_CACHED_INFO, because this field doesn't exist in earlier versions of the PXE spec, and some callers don't allocate space for it. Michael Brown 2007-11-22 00:31:21 +00:00
  • b3abf25e3c Allow DHCP server to instruct gPXE to ignore ProxyDHCP (which will also avoid waiting for ProxyDHCP offers). Michael Brown 2007-11-21 22:10:04 +00:00
  • 0becbf5fba Add ProxyDHCP support. Michael Brown 2007-11-21 21:51:43 +00:00
  • fa0bd77270 Added netdev_nullify to natsemi_remove() Marty Connor 2007-11-21 10:33:51 -05:00
  • de329a36d0 Removed old e1000 driver. Michael Brown 2007-11-21 15:37:58 +00:00
  • b53ee1eb16 Merge commit 'origin/mdc-working' Michael Brown 2007-11-21 15:35:08 +00:00
  • 83c5a37aae Added netdev_nullify to natsemi_remove() Marty Connor 2007-11-21 10:33:51 -05:00
  • fb809da2df Remove some assumptions about DHCP obtaining only a single options block. Michael Brown 2007-11-21 04:48:18 +00:00
  • 8d18338ae7 Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets. Michael Brown 2007-11-21 03:57:30 +00:00
  • 26f3a09ccf Add UUID to DHCP request as option 97 (if available). Michael Brown 2007-11-21 03:29:53 +00:00
  • 2d60a3963f Fixed receive instability by not enabling interrupts. duh. Marty Connor 2007-11-20 21:33:42 -05:00
  • 899f5b8ab2 Added definition of a UUID and uuid_ntoa() (for debugging), and implemented smbios_get_uuid(). Michael Brown 2007-11-21 02:27:07 +00:00
  • 68c438954d Update SMBIOS internal API to be easier to use, and not to require potentially exorbitant amounts of stack space. Michael Brown 2007-11-21 01:58:27 +00:00
  • 645a752bc2 This version now transmits and receives. Marty Connor 2007-11-20 16:23:12 -05:00
  • 8973caa1e6 Autonegotiation fixes. NIC now autonegotiates to whatever the switch supports. Marty Connor 2007-11-20 12:06:22 -05:00
  • e41550b0ba A version of the new e1000 driver that transmits. Marty Connor 2007-11-20 10:23:32 -05:00
  • 89eaab79c8 Replace "Etherboot" strings with "gPXE". Michael Brown 2007-11-20 02:00:54 +00:00
  • 6855c357a5 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-11-19 20:14:49 +00:00
  • a1e243d504 Add bin/pci_VVVV_DDDD target to allow building ROM images without needing to know the gPXE internal ROM name. Michael Brown 2007-11-19 20:14:20 +00:00
  • 8ce93f0876 Fix typo. Marty Connor 2007-11-18 11:12:54 -05:00
  • e21391d7b5 Add e1000 directory to build, since the driver compiles cleanly. Marty Connor 2007-11-18 10:57:20 -05:00
  • 8b0d86914b Rename e1000_main.c to e1000.c to so we can type 'make bin/e1000.dsk' instead of 'make bin/e1000_main.dsk' Marty Connor 2007-11-18 10:54:42 -05:00
  • 048a234dce Add errfile definition for new e1000.c Marty Connor 2007-11-18 10:45:20 -05:00
  • 0fea19c398 Introduce files for new e1000 driver Marty Connor 2007-11-18 10:31:00 -05:00
  • 2b8f77aca1 Add src/drivers/net/e1000 as home of new e1000 driver Marty Connor 2007-11-18 10:28:25 -05:00
  • 8564711c20 Move current e1000 driver files to e1000-old/ directory to avoid collisions Marty Connor 2007-11-18 09:58:28 -05:00
  • 8bd670301c Add ERRFILE information for e1000_main and e1000_hw, part of the new e1000 driver Marty Connor 2007-11-18 09:51:21 -05:00
  • 9a4ed0f2d5 Remove unnecessary variable. Marty Connor 2007-11-18 03:11:02 -05:00
  • c194b0c4bf Work around a bug in the OpenSolaris iSCSI target. Michael Brown 2007-11-05 13:29:05 +00:00
  • 755cb8379d Allow space for the kernel's real-mode .bss. Previously we weren't allowing any space for this, which makes it surprising that bzImage loading ever worked. Michael Brown 2007-11-04 04:27:38 +00:00
  • c482fef058 Add missing attribute(packed) to two structures. Michael Brown 2007-10-29 21:22:00 +00:00
  • 82124ea688 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-10-29 17:22:27 +00:00
  • 1620b3512c Merge branch '3leaf' Michael Brown 2007-10-29 17:21:58 +00:00
  • be7d32396f Added one more PCI ID Michael Brown 2007-10-22 16:24:09 +01:00
  • 338d45a61e Change ROM names to lower case. Michael Brown 2007-10-11 00:43:21 +01:00
  • 35ee7e4479 Ensure that empty e820 regions are skipped even at the end of the memory map. (We achieve this by setting CF on the last entry if it is zero-length; this avoids the need to look ahead to see at each entry if the *next* entry would be both the last entry and zero-length). Michael Brown 2007-10-10 20:12:25 +01:00
  • e445c2c07c Ensure that empty e820 regions are skipped even at the end of the memory map. (We achieve this by setting CF on the last entry if it is zero-length; this avoids the need to look ahead to see at each entry if the *next* entry would be both the last entry and zero-length). Michael Brown 2007-10-10 20:12:25 +01:00
  • 8069598a99 Add a missing PCI ID that is tested as working. Michael Brown 2007-10-10 02:07:18 +01:00
  • 9ac0377fbb Force a netdevice poll in net_tx() before attempting to transmit packet, to work around the problem whereby small TX rings get backed up because we haven't yet poll()ed for TX completions. Michael Brown 2007-10-04 14:46:56 +01:00
  • 2303c45d65 Force a netdevice poll in net_tx() before attempting to transmit packet, to work around the problem whereby small TX rings get backed up because we haven't yet poll()ed for TX completions. Michael Brown 2007-10-04 14:46:56 +01:00
  • 56550e400e Redefine bzimage_exec_context::mem_limit to be the highest permissible byte, rather than the number of permissible bytes (i.e. subtract one from the value under the previous definition to get the value under the new definition). Michael Brown 2007-09-28 01:23:06 +01:00
  • 14fb6ba189 Quick and very dirty hack to get r8169 driver working again, prior to any rewrite. Michael Brown 2007-09-26 17:58:51 +01:00
  • ed5ff61790 Standardise DBG_PRINTF()->DBG(), and remove custom definitions for DBG_PRINTF() and assert(). Michael Brown 2007-09-26 17:38:36 +01:00
  • 881dd8e102 Switch rm_ss and rm_sp back to being words; it'll make it less confusing to read the code. Michael Brown 2007-09-25 20:16:32 +01:00
  • 42d96bcb07 Don't use the "rep ss movsb" trick to copy the RM stack to the PM stack; it breaks vmxassist. Michael Brown 2007-09-25 20:14:20 +01:00
  • 0ed066bc50 rm_ss, rm_sp, and pm_esp don't need to be accessed from anywhere outside of librm.S. Michael Brown 2007-09-25 19:20:38 +01:00
  • b8a8eea850 Minor refactoring to eliminate duplication. Michael Brown 2007-09-25 19:06:38 +01:00
  • dec325fe43 Use full protected mode for access to high memory within prefix, to work around limitations in real-mode virtualisation support on Intel VT-capable chips. Michael Brown 2007-09-25 18:01:15 +01:00
  • a7eee64506 Added more verbose memory-map debugging. Michael Brown 2007-09-21 18:27:51 +01:00
  • 0979e674bb Added more verbose memory-map debugging. Michael Brown 2007-09-21 18:27:51 +01:00
  • 44461b1854 Merge branch 'master' into 3leaf-delivery Michael Brown 2007-09-21 01:27:03 +01:00
  • 1e677b2024 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-09-21 01:26:06 +01:00
  • 5793dbe96f Infinband requires longer link-layer addresses and headers than Ethernet. Michael Brown 2007-09-21 01:23:57 +01:00
  • 2ee76d0c93 Added defines for Infiniband files (which can't be committed to the main tree yet, but reserving the error numbers now avoids problems later). Michael Brown 2007-09-21 01:19:04 +01:00
  • 1af346b531 Minor debug message improvement. Michael Brown 2007-09-17 18:57:32 +01:00
  • af303db75d Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us to construct DHCP packets suitable for Infiniband. Michael Brown 2007-09-13 01:53:04 +01:00
  • 9c264faa0c Add const attribute to byte-swapping functions Michael Brown 2007-09-15 18:44:35 +01:00
  • 7e3527a658 Don't get stuck in an infinite loop on negative integers! Michael Brown 2007-09-16 17:39:29 +01:00