Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
il y a 17 ans
Michael Brown
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.
il y a 17 ans
Marty Connor
c77704cb60
Warnings purge: src/{crypto,hci,net}
il y a 17 ans
Michael Brown
0924cf678e
Implemented (untested) PXENV_START_UNDI.
il y a 17 ans
Michael Brown
30a442aef8
Report our interface type as "gPXE" to avoid working around Etherboot
5.4 bugs when driving ourselves via UNDI.
il y a 17 ans
Michael Brown
2dc8ed1eb8
Work around Etherboot 5.4 bug when multiple packets are received.
il y a 17 ans
Michael Brown
ca4bd3e24e
Kill off now-redundant _irq() methods.
il y a 17 ans
Michael Brown
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.
il y a 17 ans
Michael Brown
e436b993a9
Avoid double free on I/O buffer when rtl_transmit() returns failure.
Convert printf() to DBG(); printf() is not allowed in drivers.
il y a 17 ans
Michael Brown
0958726ebb
It's not just Etherboot that fails to generate TX completions.
il y a 17 ans
Michael Brown
5b52630a9c
Never attempt to route the broadcast address.
il y a 17 ans
Michael Brown
adb3dd03e5
Document TX completion bug.
il y a 17 ans
Michael Brown
71f500ff1b
Enable/disable interrupts in driver open/close.
il y a 17 ans
Michael Brown
5f92f0bd82
Reserve space for link-layer header in pxenv_undi_transmit() when not
handed a P_UNKNOWN packet.
il y a 17 ans
Michael Brown
290280f90e
Enable/disable interrupts at open/close time.
il y a 17 ans
Michael Brown
258afef751
Add missing call to free_iob() in pxenv_undi_isr().
Correct typo in pxenv_set_station_address().
il y a 17 ans
Michael Brown
a2a0c2eace
Enable/disable interrupts on open/close.
il y a 17 ans
Michael Brown
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.
il y a 17 ans
Michael Brown
071356d976
Ensure that pxe_netdev is set before starting up PXE NBP.
il y a 17 ans
Michael Brown
cbd956535e
Place netdev_open()/netdev_close() calls in appropriate places.
il y a 17 ans
Michael Brown
8f37a6a424
Add mechanism for providing TX completion events.
il y a 17 ans
Marty Connor
f04899bf6c
Warnings purge
il y a 17 ans
Marty Connor
b234d4a13e
Warnings purge
il y a 17 ans
Marty Connor
ef7f6e72a1
Warnings purge
il y a 17 ans
Marty Connor
bf871c4d03
Warnings purge of src/core
il y a 17 ans
Michael Brown
332614a382
Add untested support for UNDI transmit and receive.
il y a 17 ans
Michael Brown
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).
il y a 17 ans
Michael Brown
5f17089b14
pxe_netdev now holds a reference to the network device.
Use generic fields in struct device_description rather than assuming
that the struct device * is contained within a pci_device or
isapnp_device; this assumption is broken when using the undionly
driver.
Add PXENV_UNDI_SET_STATION_ADDRESS.
il y a 17 ans
Michael Brown
e3bbfd7a75
Call shutdown() from pxenv_undi_shutdown(). Probably not totally
correct, but it's enough to get RIS working.
il y a 17 ans
Michael Brown
d7e471f654
Improve debugging
il y a 17 ans
Michael Brown
15f8323055
Removing obsolete files.
il y a 17 ans
Michael Brown
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.
il y a 17 ans
Michael Brown
3bf5eb49d0
Can't use strncpy() to copy strings that aren't NUL-terminated to
begin with.
il y a 17 ans
Michael Brown
31fe5b9415
Hack together far enough to support ne2k-pci.
il y a 17 ans
Michael Brown
f33bbd4112
How has the legacy wrapper been working for the past month or so...?
il y a 17 ans
Michael Brown
b743b63ae9
DUMP_GDBSYM should not be enabled by default.
il y a 17 ans
Michael Brown
d5451d210c
Add ability to resolve relative symbols as well as locate absolute ones.
il y a 17 ans
Michael Brown
8f6a4e8140
Add gdbsym.c object to help with running gdb-to-qemu
il y a 17 ans
Michael Brown
e1646b4080
Place the actual version string in .data16, rather than just the
pointer to it.
il y a 17 ans
Michael Brown
4472e22b5e
Implement the two UNDI API calls used by RIS.
il y a 17 ans
Michael Brown
d05d8edd42
Implement the "overwrite TFTP filename" Microsoft RIS bug workaround.
il y a 17 ans
Michael Brown
8130443f9f
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Implement PXENV_RESTART_TFTP.
il y a 17 ans
Michael Brown
acd598b4f9
Don't build option-overloaded packets; they just confuse people (ISC
DHCPD and Windows RIS in particular).
il y a 17 ans
Michael Brown
9125070f51
I really, really screwed up the semantics of BufferSize and BufferLimit.
il y a 17 ans
Michael Brown
40d6d3dcf4
Windows RIS now gets as far as downloading NTLDR.
il y a 17 ans
Michael Brown
d71b116f54
Fix stack on return from PXE NBP so that we can return properly.
il y a 17 ans
Michael Brown
045fb24557
Use internal real-mode stack from non-returnable prefixes
il y a 17 ans
Michael Brown
00473f0952
Revert "Move stack to below 0x7c00; leaving it at the default location"
This reverts commit 03ca71c38d .
il y a 17 ans
Michael Brown
c73bff7ae5
Set current working URI based on TFTP server specified by DHCP.
il y a 17 ans
Michael Brown
03ca71c38d
Move stack to below 0x7c00; leaving it at the default location
(0x7ef4) tends to really screw up anything that loads at 0x7c00...
il y a 17 ans