people/xl0/gpxe-arm.git
13 years agoUpdate Makefile for compilation on ARCH=x86_64
Holger Lubitz [Sun, 17 Jun 2007 20:15:29 +0000 (22:15 +0200)]
Update Makefile for compilation on ARCH=x86_64

13 years agoFix up iscsiboot missing prototype warnings
Michael Brown [Mon, 9 Jul 2007 00:10:32 +0000 (01:10 +0100)]
Fix up iscsiboot missing prototype warnings

13 years agoAdd missing static
Michael Brown [Mon, 9 Jul 2007 00:04:54 +0000 (01:04 +0100)]
Add missing static

13 years agoFix TX state machine and miscellaneous other bits.
Michael Brown [Sun, 8 Jul 2007 23:52:45 +0000 (00:52 +0100)]
Fix TX state machine and miscellaneous other bits.

13 years agoFix root-path parsing.
Michael Brown [Sun, 8 Jul 2007 23:00:34 +0000 (00:00 +0100)]
Fix root-path parsing.

13 years agoMerge branch 'master' into iscsi-update
Michael Brown [Sun, 8 Jul 2007 21:06:33 +0000 (22:06 +0100)]
Merge branch 'master' into iscsi-update

13 years agoAdd strcspn() and strndup()
Michael Brown [Sun, 8 Jul 2007 21:03:12 +0000 (22:03 +0100)]
Add strcspn() and strndup()

13 years agoMake ref_get() return the reference, for cleaner code.
Michael Brown [Sun, 8 Jul 2007 21:02:45 +0000 (22:02 +0100)]
Make ref_get() return the reference, for cleaner code.

13 years agoReady to start testing
Michael Brown [Sun, 8 Jul 2007 21:01:49 +0000 (22:01 +0100)]
Ready to start testing

13 years agoCode in place to use a hypothetical SCSI interface.
Michael Brown [Sun, 8 Jul 2007 18:33:26 +0000 (19:33 +0100)]
Code in place to use a hypothetical SCSI interface.

13 years agoEverything except the SCSI interface should now be present
Michael Brown [Sun, 8 Jul 2007 17:51:56 +0000 (18:51 +0100)]
Everything except the SCSI interface should now be present

13 years agoiSCSI updated to use data-xfer interface on the socket side (TCP).
Michael Brown [Sun, 8 Jul 2007 15:04:13 +0000 (16:04 +0100)]
iSCSI updated to use data-xfer interface on the socket side (TCP).
SCSI interface not yet implemented.

13 years agoLimit xmit window to one MTU. (Path MTU discovery not yet
Michael Brown [Sun, 8 Jul 2007 13:33:53 +0000 (14:33 +0100)]
Limit xmit window to one MTU.  (Path MTU discovery not yet
implemented; should be done at some point.)

13 years agoFix typo that was preventing any DHCP option applicators from being
Michael Brown [Sun, 8 Jul 2007 13:32:20 +0000 (14:32 +0100)]
Fix typo that was preventing any DHCP option applicators from being
applied.

13 years agoAdd debug message when nameserver setting is applied/changed via DHCP.
Michael Brown [Sun, 8 Jul 2007 13:31:51 +0000 (14:31 +0100)]
Add debug message when nameserver setting is applied/changed via DHCP.

13 years agoTCP limits advertised TCP window to size of application window
Michael Brown [Sun, 8 Jul 2007 13:14:59 +0000 (14:14 +0100)]
TCP limits advertised TCP window to size of application window
obtained via xfer_window().

13 years agoSeparate the "is data ready" function of xfer_seek() into an
Michael Brown [Sun, 8 Jul 2007 13:11:07 +0000 (14:11 +0100)]
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.

13 years agoKill off unused request() method in data-xfer interface.
Michael Brown [Sun, 8 Jul 2007 01:10:54 +0000 (02:10 +0100)]
Kill off unused request() method in data-xfer interface.

13 years agoRe-added symtab to CLEANUP list
Michael Brown [Sat, 7 Jul 2007 16:49:59 +0000 (17:49 +0100)]
Re-added symtab to CLEANUP list

13 years agoRevert "Cope with builds with differing debug options within a second of each"
Michael Brown [Sat, 7 Jul 2007 16:49:07 +0000 (17:49 +0100)]
Revert "Cope with builds with differing debug options within a second of each"

This reverts commit fc5f6c9de280e117160817be332f3b51f138a4ec.

Reverted commit breaks the much more common case of changing the debug
options in subsequent builds without any code changes.

13 years agoUse net_device_operations structure and netdev_nullify() to allow for
Michael Brown [Sat, 7 Jul 2007 15:43:39 +0000 (16:43 +0100)]
Use net_device_operations structure and netdev_nullify() to allow for
safe dropping of the netdev ref by the driver while other refs still
exist.

Add netdev_irq() method.  Net device open()/close() methods should no
longer enable or disable IRQs.

Remove rx_quota; it wasn't used anywhere and added too much complexity
to implementing correct interrupt-masking behaviour in pxe_undi.c.

13 years agoRevert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"
Michael Brown [Sat, 7 Jul 2007 15:40:58 +0000 (16:40 +0100)]
Revert "Replace natsemi driver with Indolent's updated one that uses the gPXE API"

This reverts commit 3487640397838bc3147881a0e7ded4333239dbd5.

13 years agoMerge branch 'zalloc'
Michael Brown [Sat, 7 Jul 2007 03:01:52 +0000 (04:01 +0100)]
Merge branch 'zalloc'

13 years agoRevert "convert to zalloc"
Michael Brown [Sat, 7 Jul 2007 02:59:37 +0000 (03:59 +0100)]
Revert "convert to zalloc"

This reverts commit 68add6e814091f55e46afbef0b63f3d61f9549ba.

13 years agoRevert "convert to zalloc"
Holger Lubitz [Fri, 6 Jul 2007 23:56:37 +0000 (01:56 +0200)]
Revert "convert to zalloc"

This reverts commit a4bea78974620820774a59f49646eafbdb481148.

13 years agoRevert "convert to zalloc"
Holger Lubitz [Fri, 6 Jul 2007 23:56:27 +0000 (01:56 +0200)]
Revert "convert to zalloc"

This reverts commit 3414fd8df8c514947254fd065d407e8db115221f.

13 years agoRevert "convert to zalloc"
Holger Lubitz [Fri, 6 Jul 2007 23:56:15 +0000 (01:56 +0200)]
Revert "convert to zalloc"

This reverts commit 636bd2cd0abfd9ae774456cd1c00e3f8bb63e7d8.

13 years agoRevert "convert to zalloc"
Holger Lubitz [Fri, 6 Jul 2007 23:55:45 +0000 (01:55 +0200)]
Revert "convert to zalloc"

This reverts commit 7297f04481f6737b0a40161da6d8413ca0f478d2.

13 years agoRevert "convert to zalloc"
Holger Lubitz [Fri, 6 Jul 2007 23:55:23 +0000 (01:55 +0200)]
Revert "convert to zalloc"

This reverts commit 5ce16b03a1cb036ad0ab818473fe8f9c158949ed.

13 years agoconvert to zalloc
Holger Lubitz [Fri, 6 Jul 2007 19:08:54 +0000 (21:08 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Fri, 6 Jul 2007 19:08:41 +0000 (21:08 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Fri, 6 Jul 2007 19:08:29 +0000 (21:08 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Fri, 6 Jul 2007 19:08:21 +0000 (21:08 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:21 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:18 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:15 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:13 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:10 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:07 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:05 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:03 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:25:00 +0000 (01:25 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:57 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:54 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:51 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:49 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:46 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:44 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:41 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:34 +0000 (01:24 +0200)]
convert to zalloc

13 years agoconvert to zalloc
Holger Lubitz [Sun, 17 Jun 2007 23:24:14 +0000 (01:24 +0200)]
convert to zalloc

13 years agoApply global DHCP options when register_dhcp_options() is called. Do
Michael Brown [Fri, 6 Jul 2007 16:07:50 +0000 (17:07 +0100)]
Apply global DHCP options when register_dhcp_options() is called.  Do
not apply DHCP options in dhcp_configure_netdev().

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Fri, 6 Jul 2007 12:31:58 +0000 (13:31 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe

13 years agoAdded PXENV_GET_FILE_SIZE.
Michael Brown [Fri, 6 Jul 2007 12:31:40 +0000 (13:31 +0100)]
Added PXENV_GET_FILE_SIZE.

Documented non-blocking nature of PXENV_FILE_READ.

Changed FileName field in PXENV_FILE_OPEN to be a SEGOFF16, to avoid a
fixed 256-byte length limit on URLs.

13 years agoAdd strlen_user() (will be needed for PXE API extensions)
Michael Brown [Fri, 6 Jul 2007 12:07:10 +0000 (13:07 +0100)]
Add strlen_user() (will be needed for PXE API extensions)

13 years agoMerge branch 'master' of /pub/scm/gpxe
Marty Connor [Fri, 6 Jul 2007 12:04:55 +0000 (08:04 -0400)]
Merge branch 'master' of /pub/scm/gpxe

13 years agoRename .lilo extension to .lkrn and updated dependencies
Marty Connor [Fri, 6 Jul 2007 12:04:06 +0000 (08:04 -0400)]
Rename .lilo extension to .lkrn and updated dependencies

13 years agoAdd .pdsk target (padded .dsk, suitable for qemu).
Michael Brown [Thu, 5 Jul 2007 22:37:17 +0000 (23:37 +0100)]
Add .pdsk target (padded .dsk, suitable for qemu).

13 years agoPad ROM images to 512 bytes, not powers of two
Michael Brown [Thu, 5 Jul 2007 22:36:45 +0000 (23:36 +0100)]
Pad ROM images to 512 bytes, not powers of two

13 years agoAllocate heap at first usage, rather than assuming we can fit it in
Michael Brown [Thu, 5 Jul 2007 21:30:34 +0000 (22:30 +0100)]
Allocate heap at first usage, rather than assuming we can fit it in
below _text.  This should help with the gPXE-on-gPXE-via-PXE case.

13 years agoRemap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user is
Michael Brown [Thu, 5 Jul 2007 17:47:46 +0000 (18:47 +0100)]
Remap EBADF to PXENV_STATUS_TFTP_FILE_NOT_FOUND; the only user is
posix_io.c and this PXE error makes more sense in this context.

13 years agoAdd concept of DHCP option applicators.
Michael Brown [Thu, 5 Jul 2007 17:38:14 +0000 (18:38 +0100)]
Add concept of DHCP option applicators.

13 years agoFirst draft of PXE extensions API.
Michael Brown [Thu, 5 Jul 2007 17:03:09 +0000 (18:03 +0100)]
First draft of PXE extensions API.

13 years agoUse netdev_rx_err() to report receive errors.
Michael Brown [Thu, 5 Jul 2007 16:23:03 +0000 (17:23 +0100)]
Use netdev_rx_err() to report receive errors.

13 years agoAllow recording of TX and RX errors to aid in end-user debugging.
Michael Brown [Thu, 5 Jul 2007 16:18:27 +0000 (17:18 +0100)]
Allow recording of TX and RX errors to aid in end-user debugging.

13 years agoUse partition type 0xeb ("EtherBoot"), to avoid any attempts to mount
Michael Brown [Thu, 5 Jul 2007 13:20:55 +0000 (14:20 +0100)]
Use partition type 0xeb ("EtherBoot"), to avoid any attempts to mount
the Etherboot partition.

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Thu, 5 Jul 2007 13:15:58 +0000 (14:15 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe

13 years agoAdd .usb target
Michael Brown [Thu, 5 Jul 2007 13:15:43 +0000 (14:15 +0100)]
Add .usb target

13 years agoReplace natsemi driver with Indolent's updated one that uses the gPXE API
Marty Connor [Thu, 5 Jul 2007 12:54:12 +0000 (08:54 -0400)]
Replace natsemi driver with Indolent's updated one that uses the gPXE API

This version uses the gPXE driver API rather than the legacy wrapper API.

13 years agoWorking with multi-sector reads
Michael Brown [Thu, 5 Jul 2007 12:30:49 +0000 (13:30 +0100)]
Working with multi-sector reads

13 years agohdprefix that works for LBA only
Michael Brown [Thu, 5 Jul 2007 11:58:16 +0000 (12:58 +0100)]
hdprefix that works for LBA only

13 years agoMiscellaneous efficiency improvements, and extend read_sectors to
Michael Brown [Thu, 5 Jul 2007 11:36:39 +0000 (12:36 +0100)]
Miscellaneous efficiency improvements, and extend read_sectors to
handle multiple sectors.

13 years agoMake masking constants unsigned, to avoid a gcc3-only compiler warning.
Michael Brown [Thu, 5 Jul 2007 11:04:53 +0000 (12:04 +0100)]
Make masking constants unsigned, to avoid a gcc3-only compiler warning.

13 years agoSwitch compiler warning on tcp_open() to a #warning
Michael Brown [Thu, 5 Jul 2007 11:00:35 +0000 (12:00 +0100)]
Switch compiler warning on tcp_open() to a #warning

13 years agoWarnings purge for via-velocity.[ch]
Marty Connor [Thu, 5 Jul 2007 01:58:28 +0000 (21:58 -0400)]
Warnings purge for via-velocity.[ch]

13 years agoUpdate warnings in depca.c ns8390.c
Marty Connor [Thu, 5 Jul 2007 00:14:10 +0000 (20:14 -0400)]
Update warnings in depca.c ns8390.c

13 years agoPurge warnings from tg3.c
Marty Connor [Wed, 4 Jul 2007 23:49:46 +0000 (19:49 -0400)]
Purge warnings from tg3.c

13 years agoMerge branch 'master' of /pub/scm/gpxe
Marty Connor [Wed, 4 Jul 2007 23:47:13 +0000 (19:47 -0400)]
Merge branch 'master' of /pub/scm/gpxe

13 years agoPurge warnings from prism2 drivers
Marty Connor [Wed, 4 Jul 2007 23:47:01 +0000 (19:47 -0400)]
Purge warnings from prism2 drivers

13 years agoAdded active partition locator, and simple MBR built using it.
Michael Brown [Wed, 4 Jul 2007 23:21:01 +0000 (00:21 +0100)]
Added active partition locator, and simple MBR built using it.

13 years agoRevert "Added master boot record capable of locating active partition"
Michael Brown [Wed, 4 Jul 2007 23:20:04 +0000 (00:20 +0100)]
Revert "Added master boot record capable of locating active partition"

This reverts commit 844d088c514bb962b3cbd00892db67bad4daa203.

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Wed, 4 Jul 2007 23:05:36 +0000 (00:05 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe

13 years agoAdded master boot record capable of locating active partition
Michael Brown [Wed, 4 Jul 2007 23:05:26 +0000 (00:05 +0100)]
Added master boot record capable of locating active partition
(including logical partitions).

13 years agoKill off lots of warnings in via-velocity.c by correcting these definitions.
Michael Brown [Wed, 4 Jul 2007 22:36:16 +0000 (23:36 +0100)]
Kill off lots of warnings in via-velocity.c by correcting these definitions.

13 years agoMerge branch 'master' of /pub/scm/gpxe
Marty Connor [Wed, 4 Jul 2007 22:33:22 +0000 (18:33 -0400)]
Merge branch 'master' of /pub/scm/gpxe

13 years agoRemove deprecation of pci_bar_size()
Marty Connor [Wed, 4 Jul 2007 22:28:37 +0000 (18:28 -0400)]
Remove deprecation of pci_bar_size()

13 years agoWarnings purge of drivers (continued)
Marty Connor [Wed, 4 Jul 2007 09:52:56 +0000 (05:52 -0400)]
Warnings purge of drivers (continued)

13 years agoUNDI loader entry point implemented; seems to work.
Michael Brown [Wed, 4 Jul 2007 02:23:02 +0000 (03:23 +0100)]
UNDI loader entry point implemented; seems to work.

13 years ago!PXE and PXENV+ structures are in code segment, not data segment.
Michael Brown [Wed, 4 Jul 2007 02:20:18 +0000 (03:20 +0100)]
!PXE and PXENV+ structures are in code segment, not data segment.

13 years agoFix typo
Michael Brown [Wed, 4 Jul 2007 01:25:07 +0000 (02:25 +0100)]
Fix typo

13 years agoCope with builds with differing debug options within a second of each
Michael Brown [Wed, 4 Jul 2007 01:24:24 +0000 (02:24 +0100)]
Cope with builds with differing debug options within a second of each
other.

13 years agoAdd (untested) UNDI loader C-level implementation.
Michael Brown [Tue, 3 Jul 2007 22:41:35 +0000 (23:41 +0100)]
Add (untested) UNDI loader C-level implementation.

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Tue, 3 Jul 2007 22:10:16 +0000 (23:10 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe

13 years agoSeparated out initialisation functions from startup/shutdown functions.
Michael Brown [Tue, 3 Jul 2007 22:09:56 +0000 (23:09 +0100)]
Separated out initialisation functions from startup/shutdown functions.

13 years agoremove obsolete file: src/arch/i386/prefix/int19exit.c
Marty Connor [Tue, 3 Jul 2007 20:24:06 +0000 (16:24 -0400)]
remove obsolete file:  src/arch/i386/prefix/int19exit.c

13 years agoAdded missing line to set return status code.
Michael Brown [Tue, 3 Jul 2007 20:22:12 +0000 (21:22 +0100)]
Added missing line to set return status code.

13 years agoLine buffer API changed a while ago
Michael Brown [Tue, 3 Jul 2007 20:21:50 +0000 (21:21 +0100)]
Line buffer API changed a while ago

13 years agoWarnings purge iscsiboot.c
Marty Connor [Tue, 3 Jul 2007 20:20:54 +0000 (16:20 -0400)]
Warnings purge iscsiboot.c

13 years agoAdded missing "extern"
Michael Brown [Tue, 3 Jul 2007 20:12:54 +0000 (21:12 +0100)]
Added missing "extern"

13 years agoMerge branch 'master' of rom.etherboot.org:/pub/scm/gpxe
Michael Brown [Tue, 3 Jul 2007 20:09:26 +0000 (21:09 +0100)]
Merge branch 'master' of rom.etherboot.org:/gpxe