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.
2007-09-28 01:23:06 +01:00
Michael Brown
14fb6ba189
Quick and very dirty hack to get r8169 driver working again, prior to
...
any rewrite.
2007-09-26 17:58:51 +01:00
Michael Brown
ed5ff61790
Standardise DBG_PRINTF()->DBG(), and remove custom definitions for
...
DBG_PRINTF() and assert().
2007-09-26 17:38:36 +01:00
Michael Brown
881dd8e102
Switch rm_ss and rm_sp back to being words; it'll make it less
...
confusing to read the code.
2007-09-25 20:16:32 +01:00
Michael Brown
42d96bcb07
Don't use the "rep ss movsb" trick to copy the RM stack to the PM
...
stack; it breaks vmxassist.
2007-09-25 20:14:20 +01:00
Michael Brown
0ed066bc50
rm_ss, rm_sp, and pm_esp don't need to be accessed from anywhere
...
outside of librm.S.
2007-09-25 19:20:38 +01:00
Michael Brown
b8a8eea850
Minor refactoring to eliminate duplication.
2007-09-25 19:06:38 +01:00
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.
2007-09-25 18:01:15 +01:00
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.
2007-09-21 18:33:17 +01:00
Michael Brown
1e677b2024
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
2007-09-21 01:26:06 +01:00
Michael Brown
5793dbe96f
Infinband requires longer link-layer addresses and headers than Ethernet.
2007-09-21 01:23:57 +01:00
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).
2007-09-21 01:19:04 +01:00
Michael Brown
1af346b531
Minor debug message improvement.
2007-09-21 01:17:46 +01:00
Michael Brown
af303db75d
Use RFC4390 whenever hardware address exceeds 16 bytes; this allows us
...
to construct DHCP packets suitable for Infiniband.
2007-09-21 01:15:58 +01:00
Michael Brown
9c264faa0c
Add const attribute to byte-swapping functions
2007-09-21 01:15:06 +01:00
Michael Brown
7e3527a658
Don't get stuck in an infinite loop on negative integers!
2007-09-21 01:14:44 +01:00
Michael Brown
db124b1255
Add fls() for non-constant values.
2007-09-21 01:14:38 +01:00
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.
2007-09-21 01:13:22 +01:00
Michael Brown
99411e36da
Added netdev_priv() to ease Linux driver compatibility.
2007-09-13 13:34:38 +01:00
Michael Brown
eecf71e4a0
Removed file checked in accidentally
2007-09-13 12:57:25 +01:00
Michael Brown
771455653b
Bugfix: DHCP message type should be a one-byte option... (d'oh)
2007-09-13 01:16:23 +01:00
Michael Brown
98de16befd
Merge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
2007-09-09 13:31:38 +01:00
Michael Brown
6f799db5bd
Use "/bin/echo -e" instead of shell builtin echo; some shells don't
...
implement the -e option.
(Thanks to Jim McQuillan for this suggestion.)
2007-09-08 23:38:17 +01:00
Michael Brown
972f293e46
Check for correct block number in tftp_rx_data().
...
(Problem observed by Clay McClure in VMware Fusion.)
2007-09-08 19:30:25 +01:00
Michael Brown
fbec308f41
Re-added the kpxe prefix. I have no idea when this disappeared.
2007-09-08 15:57:01 +01:00
Michael Brown
66207bb912
Add the possibility to create .o files from arbitrary binary blobs.
2007-09-06 15:11:09 +01:00
Michael Brown
a82e6ec2de
Added missing .kpxe prefix.
2007-09-06 15:08:41 +01:00
Michael Brown
00d93c6dd9
Minor style fix: structure fields are generally initialised in the
...
order in which they occur.
2007-09-06 13:37:47 +01:00
Marty Connor
14e1d3cc4d
TFTP default blocksize fix from Vampyre
2007-08-30 13:51:38 -04:00
Marty Connor
63f0e4e796
allpxes allroms alldsks fixes from Vampyre
2007-08-30 13:08:46 -04:00
Marty Connor
eaca053174
Add sis900 variant (patch from Vampyre)
2007-08-30 08:36:00 -04:00
Holger Lubitz
5d6f6fb924
Merge branch 'master' into curses
...
Conflicts:
src/include/compiler.h
src/include/readline/readline.h
created by strings branch merge. resolved.
2007-08-23 23:15:54 +02:00
Holger Lubitz
376bacab67
Merge branch 'master' of git://git.etherboot.org/scm/gpxe
2007-08-23 23:10:59 +02:00
Michael Brown
746d0f8feb
Merge commit 'holger/strings'
2007-08-23 21:51:57 +01:00
Michael Brown
01b755704a
Auto-assign drive number only if set to 0xff; almost all applications
...
require that we use drive 0x80, so it should probably be the default.
2007-08-23 20:50:24 +01:00
Michael Brown
d078fb3cb7
Allow legacy "make bin/etherboot.%".
2007-08-22 23:10:00 +01:00
Holger Lubitz
f92096d180
use malloc attribute
2007-08-20 20:30:24 +02:00
Holger Lubitz
bc9f960b66
use malloc attribute
2007-08-20 20:30:17 +02:00
Holger Lubitz
6f0eca1400
use malloc attribute
2007-08-20 20:30:11 +02:00
Holger Lubitz
8bb295e3fd
use malloc attribute
2007-08-20 20:29:58 +02:00
Holger Lubitz
6f61e254dc
use malloc attribute
2007-08-20 20:29:50 +02:00
Holger Lubitz
347ab9b8c2
use malloc attribute
2007-08-20 20:29:41 +02:00
Holger Lubitz
c4285e148d
use malloc attribute
2007-08-20 20:29:30 +02:00
Holger Lubitz
05708503e5
use malloc attribute
2007-08-20 20:29:23 +02:00
Holger Lubitz
9386263433
use malloc attribute
2007-08-20 20:29:09 +02:00
Holger Lubitz
68455adf37
use malloc attribute
2007-08-20 20:28:47 +02:00
Holger Lubitz
dea89e8d62
use malloc attribute
2007-08-20 20:28:23 +02:00
Holger Lubitz
2220e1a676
define malloc attribute
2007-08-20 20:28:11 +02:00
Holger Lubitz
2e88138b06
__nonnull changes
2007-08-20 00:35:07 +02:00
Holger Lubitz
a0fbce4656
__nonnull changes
2007-08-20 00:34:59 +02:00