Commit Graph

  • 1567b69895 Add concept of DHCP option applicators. Michael Brown 2007-07-05 18:38:14 +01:00
  • d64e1be1f8 First draft of PXE extensions API. Michael Brown 2007-07-05 18:03:09 +01:00
  • ed7eae6005 Use netdev_rx_err() to report receive errors. Michael Brown 2007-07-05 17:23:03 +01:00
  • 539ff45fd0 Allow recording of TX and RX errors to aid in end-user debugging. Michael Brown 2007-07-05 17:18:27 +01:00
  • 07ea125213 Use partition type 0xeb ("EtherBoot"), to avoid any attempts to mount the Etherboot partition. Michael Brown 2007-07-05 14:20:55 +01:00
  • db1d99df39 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-07-05 14:15:58 +01:00
  • 6e082c9b81 Add .usb target Michael Brown 2007-07-05 14:15:43 +01:00
  • 3487640397 Replace natsemi driver with Indolent's updated one that uses the gPXE API Marty Connor 2007-07-05 08:54:12 -04:00
  • a0f078d7f5 Working with multi-sector reads Michael Brown 2007-07-05 13:30:49 +01:00
  • 66208dd65d hdprefix that works for LBA only Michael Brown 2007-07-05 12:58:16 +01:00
  • 839960276d Miscellaneous efficiency improvements, and extend read_sectors to handle multiple sectors. Michael Brown 2007-07-05 12:36:39 +01:00
  • bdd1a0f462 Make masking constants unsigned, to avoid a gcc3-only compiler warning. Michael Brown 2007-07-05 12:04:53 +01:00
  • 8156f6bd19 Switch compiler warning on tcp_open() to a #warning Michael Brown 2007-07-05 12:00:35 +01:00
  • 1069a74d20 Warnings purge for via-velocity.[ch] Marty Connor 2007-07-04 21:58:28 -04:00
  • 8d39559192 Update warnings in depca.c ns8390.c Marty Connor 2007-07-04 20:14:10 -04:00
  • 13016297ed Purge warnings from tg3.c Marty Connor 2007-07-04 19:49:46 -04:00
  • a75fb80107 Merge branch 'master' of /pub/scm/gpxe Marty Connor 2007-07-04 19:47:13 -04:00
  • e5950283ec Purge warnings from prism2 drivers Marty Connor 2007-07-04 19:47:01 -04:00
  • 3c2d50e5de Added active partition locator, and simple MBR built using it. Michael Brown 2007-07-05 00:21:01 +01:00
  • 738ebaf4a5 Revert "Added master boot record capable of locating active partition" Michael Brown 2007-07-05 00:20:04 +01:00
  • 7918fc97b8 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-07-05 00:05:36 +01:00
  • 844d088c51 Added master boot record capable of locating active partition (including logical partitions). Michael Brown 2007-07-05 00:05:26 +01:00
  • 77c1777b44 Merge branch 'master' of /pub/scm/gpxe Marty Connor 2007-07-04 18:33:22 -04:00
  • 5e3f2247e0 Kill off lots of warnings in via-velocity.c by correcting these definitions. Michael Brown 2007-07-04 23:36:16 +01:00
  • b219814627 Remove deprecation of pci_bar_size() Marty Connor 2007-07-04 18:28:37 -04:00
  • 1af1668c95 Warnings purge of drivers (continued) Marty Connor 2007-07-04 05:52:56 -04:00
  • ac69b85adb UNDI loader entry point implemented; seems to work. Michael Brown 2007-07-04 03:23:02 +01:00
  • 0324d5ff70 !PXE and PXENV+ structures are in code segment, not data segment. Michael Brown 2007-07-04 03:20:18 +01:00
  • 1ecb9acb87 Fix typo Michael Brown 2007-07-04 02:25:07 +01:00
  • fc5f6c9de2 Cope with builds with differing debug options within a second of each other. Michael Brown 2007-07-04 02:24:24 +01:00
  • dca470cb21 Add (untested) UNDI loader C-level implementation. Michael Brown 2007-07-03 23:41:35 +01:00
  • 7db6b4b79c Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-07-03 23:10:16 +01:00
  • 89349d7fad Separated out initialisation functions from startup/shutdown functions. Michael Brown 2007-07-03 23:09:56 +01:00
  • 79238335b0 remove obsolete file: src/arch/i386/prefix/int19exit.c Marty Connor 2007-07-03 16:24:06 -04:00
  • ec0da04e7d Warnings purge iscsiboot.c Marty Connor 2007-07-03 16:20:54 -04:00
  • a5f33ea283 Added missing line to set return status code. Michael Brown 2007-07-03 21:22:12 +01:00
  • 01b3dd4fc3 Line buffer API changed a while ago Michael Brown 2007-07-03 21:21:50 +01:00
  • 1f24ba73c4 Added missing "extern" Michael Brown 2007-07-03 21:12:54 +01:00
  • cbd4542dc0 Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe Michael Brown 2007-07-03 21:09:26 +01:00
  • 6be8cdbb6f Merge branch 'master' of /pub/scm/gpxe Marty Connor 2007-07-03 16:02:26 -04:00
  • 9b3c4e4d79 Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot Marty Connor 2007-07-03 16:02:15 -04:00
  • b5311c2c88 This comment is no longer relevant. Michael Brown 2007-07-03 20:39:47 +01:00
  • 438d1cc0b9 Should be using the generic device probe mechanism, when (if) they eventually get updated. Michael Brown 2007-07-03 20:39:30 +01:00
  • fae10a7ca1 We don't actually use the reset functions anywhere, and nothing really provides them. Michael Brown 2007-07-03 20:34:51 +01:00
  • 5ce5e6d846 Move pxe_netdev and set_pxe_netdev to pxe_undi.c and remove now-obsolete pxe.c. Michael Brown 2007-07-03 20:21:16 +01:00
  • fd86c819ba Use a linker-table based system to automatically mark and start up permanent processes, rather than requiring each one to have its own initialisation function. Michael Brown 2007-07-03 20:09:14 +01:00
  • 4bcfe7507b Merge branch 'master' of /pub/scm/gpxe Marty Connor 2007-07-03 13:20:54 -04:00
  • c77704cb60 Warnings purge: src/{crypto,hci,net} Marty Connor 2007-07-03 13:20:22 -04:00
  • 0924cf678e Implemented (untested) PXENV_START_UNDI. Michael Brown 2007-07-03 18:17:14 +01:00
  • 30a442aef8 Report our interface type as "gPXE" to avoid working around Etherboot 5.4 bugs when driving ourselves via UNDI. Michael Brown 2007-07-03 15:57:32 +01:00
  • 2dc8ed1eb8 Work around Etherboot 5.4 bug when multiple packets are received. Michael Brown 2007-07-03 15:53:29 +01:00
  • ca4bd3e24e Kill off now-redundant _irq() methods. Michael Brown 2007-07-03 15:37:56 +01:00
  • 1ce0b4bbfb Kill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to suspect that we need it, and implementing it would require needlessly complicating the net device API. Michael Brown 2007-07-03 15:36:29 +01:00
  • e436b993a9 Avoid double free on I/O buffer when rtl_transmit() returns failure. Michael Brown 2007-07-03 14:44:33 +01:00
  • 0958726ebb It's not just Etherboot that fails to generate TX completions. Michael Brown 2007-07-03 14:43:57 +01:00
  • 5b52630a9c Never attempt to route the broadcast address. Michael Brown 2007-07-03 13:55:45 +01:00
  • adb3dd03e5 Document TX completion bug. Michael Brown 2007-07-03 13:17:58 +01:00
  • 71f500ff1b Enable/disable interrupts in driver open/close. Michael Brown 2007-07-03 12:50:58 +01:00
  • 5f92f0bd82 Reserve space for link-layer header in pxenv_undi_transmit() when not handed a P_UNKNOWN packet. Michael Brown 2007-07-03 04:05:30 +01:00
  • 290280f90e Enable/disable interrupts at open/close time. Michael Brown 2007-07-03 03:34:08 +01:00
  • 258afef751 Add missing call to free_iob() in pxenv_undi_isr(). Michael Brown 2007-07-03 00:57:53 +01:00
  • a2a0c2eace Enable/disable interrupts on open/close. Michael Brown 2007-07-03 00:57:04 +01:00
  • 4968caab82 Add trivial net device statistics (TX and RX packet count), reported via UNDI API and also by ifstat command; may be useful for debugging. Michael Brown 2007-07-03 00:15:53 +01:00
  • 071356d976 Ensure that pxe_netdev is set before starting up PXE NBP. Michael Brown 2007-07-03 00:02:26 +01:00
  • cbd956535e Place netdev_open()/netdev_close() calls in appropriate places. Michael Brown 2007-07-03 00:02:06 +01:00
  • 8f37a6a424 Add mechanism for providing TX completion events. Michael Brown 2007-07-02 23:49:00 +01:00
  • 0297a63877 Merge branch 'master' of ssh://rom.etherboot.org/pub/scm/gpxe Marty Connor 2007-07-02 15:36:19 -04:00
  • f04899bf6c Warnings purge Marty Connor 2007-07-02 15:33:34 -04:00
  • b234d4a13e Warnings purge Marty Connor 2007-07-02 15:29:37 -04:00
  • ef7f6e72a1 Warnings purge Marty Connor 2007-07-02 15:28:55 -04:00
  • bf871c4d03 Warnings purge of src/core Marty Connor 2007-07-02 15:26:40 -04:00
  • 332614a382 Add untested support for UNDI transmit and receive. Michael Brown 2007-07-02 20:05:58 +01:00
  • e42eba4af4 Use a common base-memory packet buffer for DHCP construction (as used by PXE and NBI) and UNDI packets (as used by undinet and UNDI). Michael Brown 2007-07-02 18:33:41 +01:00
  • 5f17089b14 pxe_netdev now holds a reference to the network device. Michael Brown 2007-07-02 17:43:32 +01:00
  • 8febe42f78 Build bochs with ne2000 support, and add sample lines in bochsrc.txt to match. Michael Brown 2007-07-02 03:14:27 +01:00
  • e3bbfd7a75 Call shutdown() from pxenv_undi_shutdown(). Probably not totally correct, but it's enough to get RIS working. Michael Brown 2007-07-02 03:12:35 +01:00
  • d7e471f654 Improve debugging Michael Brown 2007-07-01 22:04:19 +01:00
  • 15f8323055 Removing obsolete files. Michael Brown 2007-07-01 15:30:12 +01:00
  • 95cb7aaacf Support cards such as natsemi which treat the data as little-endian (i.e. LSB transmitted first on the wire), even though SPI commands and addresses always have to be big-endian. Michael Brown 2007-07-01 15:22:12 +01:00
  • 3bf5eb49d0 Can't use strncpy() to copy strings that aren't NUL-terminated to begin with. Michael Brown 2007-07-01 03:22:28 +01:00
  • 31fe5b9415 Hack together far enough to support ne2k-pci. Michael Brown 2007-07-01 00:37:29 +01:00
  • f33bbd4112 How has the legacy wrapper been working for the past month or so...? Michael Brown 2007-07-01 00:36:48 +01:00
  • b743b63ae9 DUMP_GDBSYM should not be enabled by default. Michael Brown 2007-07-01 00:05:36 +01:00
  • d5451d210c Add ability to resolve relative symbols as well as locate absolute ones. Michael Brown 2007-06-30 22:59:15 +01:00
  • 8f6a4e8140 Add gdbsym.c object to help with running gdb-to-qemu Michael Brown 2007-06-30 22:43:31 +01:00
  • e1646b4080 Place the actual version string in .data16, rather than just the pointer to it. Michael Brown 2007-06-30 21:36:54 +01:00
  • 4472e22b5e Implement the two UNDI API calls used by RIS. Michael Brown 2007-06-30 15:56:00 +01:00
  • d05d8edd42 Implement the "overwrite TFTP filename" Microsoft RIS bug workaround. Michael Brown 2007-06-30 15:13:18 +01:00
  • 8130443f9f Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c Michael Brown 2007-06-30 14:56:35 +01:00
  • acd598b4f9 Don't build option-overloaded packets; they just confuse people (ISC DHCPD and Windows RIS in particular). Michael Brown 2007-06-30 01:32:53 +01:00
  • 9125070f51 I really, really screwed up the semantics of BufferSize and BufferLimit. Michael Brown 2007-06-29 20:16:30 +01:00
  • 40d6d3dcf4 Windows RIS now gets as far as downloading NTLDR. Michael Brown 2007-06-29 01:42:59 +01:00
  • 6f14c9d169 Initial notes on RIS Michael Brown 2007-06-29 00:15:36 +01:00
  • d71b116f54 Fix stack on return from PXE NBP so that we can return properly. Michael Brown 2007-06-28 23:37:49 +01:00
  • 045fb24557 Use internal real-mode stack from non-returnable prefixes Michael Brown 2007-06-28 21:56:14 +01:00
  • 00473f0952 Revert "Move stack to below 0x7c00; leaving it at the default location" Michael Brown 2007-06-28 21:50:36 +01:00
  • c73bff7ae5 Set current working URI based on TFTP server specified by DHCP. Michael Brown 2007-06-28 21:22:25 +01:00
  • 82a873546a Current bochs has a 128kB BIOS, not 64kB Michael Brown 2007-06-28 21:16:39 +01:00
  • 03ca71c38d Move stack to below 0x7c00; leaving it at the default location (0x7ef4) tends to really screw up anything that loads at 0x7c00... Michael Brown 2007-06-28 21:15:47 +01:00
  • dffdc285b3 Obsoleted by downloader.c Michael Brown 2007-06-28 19:28:26 +01:00