Michael Brown
fb809da2df
Remove some assumptions about DHCP obtaining only a single options block.
преди 17 години
Michael Brown
8d18338ae7
Add PXE-required DHCP options to DHCPDISCOVER and DHCPREQUEST packets.
преди 17 години
Michael Brown
26f3a09ccf
Add UUID to DHCP request as option 97 (if available).
преди 17 години
Michael Brown
899f5b8ab2
Added definition of a UUID and uuid_ntoa() (for debugging), and
implemented smbios_get_uuid().
преди 17 години
Michael Brown
68c438954d
Update SMBIOS internal API to be easier to use, and not to require
potentially exorbitant amounts of stack space.
преди 17 години
Michael Brown
89eaab79c8
Replace "Etherboot" strings with "gPXE".
преди 17 години
Michael Brown
6855c357a5
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
преди 17 години
Michael Brown
a1e243d504
Add bin/pci_VVVV_DDDD target to allow building ROM images without
needing to know the gPXE internal ROM name.
преди 17 години
Marty Connor
9a4ed0f2d5
Remove unnecessary variable.
преди 17 години
Michael Brown
c194b0c4bf
Work around a bug in the OpenSolaris iSCSI target.
We didn't specify values for MaxRecvDataSegmentLength and
MaxBurstLength (to save space, since we were happy with the
RFC-defined default values of 8kB and 256kB respectively). However,
the OpenSolaris target (incorrectly) assumes default values of zero
for these parameters.
The upshot was that the OpenSolaris target would get stuck in an
endless loop trying to send us the first 512-byte sector, zero bytes
at a time, and would eventually run out of memory and core-dump.
Fixed by explicitly specifying the default values for these two
parameters.
преди 17 години
Michael Brown
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.
преди 17 години
Michael Brown
c482fef058
Add missing attribute(packed) to two structures.
преди 17 години
Michael Brown
82124ea688
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
преди 17 години
Michael Brown
1620b3512c
Merge branch '3leaf'
преди 17 години
Michael Brown
be7d32396f
Added one more PCI ID
преди 17 години
Michael Brown
338d45a61e
Change ROM names to lower case.
преди 17 години
Michael Brown
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).
This fixes the "0kB base memory" error message upon starting Windows
2003 on a SunFire X2100.
преди 17 години
Michael Brown
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).
This fixes the "0kB base memory" error message upon starting Windows
2003 on a SunFire X2100.
преди 17 години
Michael Brown
8069598a99
Add a missing PCI ID that is tested as working.
преди 17 години
Michael Brown
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.
преди 17 години
Michael Brown
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.
преди 17 години
Michael Brown
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).
This avoids integer overflow on 64-bit kernels, where
bzhdr.initrd_addr_max may be 0xffffffffffffffff; under the old
behaviour we set mem_limit equal to initrd_addr_max+1, which meant it
ended up as zero. Kernel loads would fail with ENOBUFS.
преди 17 години
Michael Brown
14fb6ba189
Quick and very dirty hack to get r8169 driver working again, prior to
any rewrite.
преди 17 години
Michael Brown
ed5ff61790
Standardise DBG_PRINTF()->DBG(), and remove custom definitions for
DBG_PRINTF() and assert().
преди 17 години
Michael Brown
881dd8e102
Switch rm_ss and rm_sp back to being words; it'll make it less
confusing to read the code.
преди 17 години
Michael Brown
42d96bcb07
Don't use the "rep ss movsb" trick to copy the RM stack to the PM
stack; it breaks vmxassist.
преди 17 години
Michael Brown
0ed066bc50
rm_ss, rm_sp, and pm_esp don't need to be accessed from anywhere
outside of librm.S.
преди 17 години
Michael Brown
b8a8eea850
Minor refactoring to eliminate duplication.
преди 17 години
Michael Brown
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.
преди 17 години
Michael Brown
a7eee64506
Added more verbose memory-map debugging.
Added redundant call to get_memmap() in int13_boot() immediately
before jumping to boot sector, to assist in debugging.
преди 17 години
Michael Brown
0979e674bb
Added more verbose memory-map debugging.
Added redundant call to get_memmap() in int13_boot() immediately
before jumping to boot sector, to assist in debugging.
преди 17 години
Michael Brown
44461b1854
Merge branch 'master' into 3leaf-delivery
преди 17 години
Michael Brown
1e677b2024
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
преди 17 години
Michael Brown
5793dbe96f
Infinband requires longer link-layer addresses and headers than Ethernet.
преди 17 години
Michael Brown
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).
преди 17 години
Michael Brown
1af346b531
Minor debug message improvement.
преди 17 години
Michael Brown
af303db75d
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
to construct DHCP packets suitable for Infiniband.
преди 17 години
Michael Brown
9c264faa0c
Add const attribute to byte-swapping functions
преди 17 години
Michael Brown
7e3527a658
Don't get stuck in an infinite loop on negative integers!
преди 17 години
Michael Brown
db124b1255
Add fls() for non-constant values.
преди 17 години
Michael Brown
f09173326c
Moved iobuf.h assertions outside the static inline functions, so that
the assert message's file and line number gives some clue as to the
real location of the problem.
Added similar assertions to list.h.
преди 17 години
Michael Brown
0f60150c44
Reverted driver/net/mlx_ipoib to clean master state
преди 17 години
Michael Brown
148055dd79
Merge branch 'master' into 3leaf-rewrite
преди 17 години
Michael Brown
30717896f5
IB can't afford many RX buffers, because the MTU is so large. Reduce
the TCP window to compensate.
преди 17 години
Michael Brown
2f23881856
Added arbel.c
преди 17 години
Michael Brown
95498fa038
Remove the last remaining visible hack.
преди 17 години
Michael Brown
982e4dd101
Separated out to a clean new drivers/infiniband directory.
преди 17 години
Michael Brown
a5ec029d24
First version that works with SELF_INIT!
преди 17 години
Michael Brown
8423b0b109
Gets most of the way through initialisation.
преди 17 години
Michael Brown
def5ae9127
Added sw2hw_mpt
преди 17 години