opengnsys_ipxe/src/include/ipxe
Michael Brown 7348035231 [libc] Redefine low 8 bits of error code as "platform error code"
The low 8 bits of an iPXE error code are currently defined as the
closest equivalent PXE error code.  Generalise this scheme to
platforms other than PC-BIOS by extending this definition to "closest
equivalent platform error code".  This allows for the possibility of
returning meaningful errors via EFI APIs.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2013-04-19 13:34:13 +01:00
..
efi [efi] Remove obsolete EFI I/O implementation using EFI_CPU_IO_PROTOCOL 2013-04-19 00:45:13 +01:00
errno [libc] Redefine low 8 bits of error code as "platform error code" 2013-04-19 13:34:13 +01:00
linux [uaccess] Add userptr_sub() to find the difference between two user pointers 2012-11-05 16:15:14 +00:00
acpi.h [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
aes.h [crypto] Upgrade AES and RSA code to upstream axTLS version 1.4.5 2012-03-09 17:14:39 +00:00
ansiesc.h [syslog] Pass internal syslog() priority through to syslog console 2012-03-26 21:58:58 +01:00
aoe.h [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
api.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
arc4.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
arp.h [arp] Maintain an ARP transmission queue 2012-03-02 23:46:29 +00:00
asn1.h [crypto] Add framework for OCSP 2012-05-15 13:24:23 +01:00
ata.h [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
base16.h [base16] Add generic base16 encoding and decoding routines 2010-05-28 15:41:37 +01:00
base64.h [base64] Add ability to decode base64 strings 2010-05-28 12:47:10 +01:00
bigint.h [crypto] Force caller to provide temporary storage for modular calculations 2012-03-18 20:22:43 +00:00
bitbash.h [bitbash] Add optional open() and close() methods for bit-bashing interfaces 2012-08-24 17:26:10 +01:00
bitmap.h [bitmap] Fix bitmaps on 64-bit 2010-05-27 01:18:17 +01:00
bitops.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
blockdev.h [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
bofm.h [bofm] Allow garbage collection of BOFM code in non-BOFM builds 2011-03-03 02:40:11 +00:00
cbc.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
chap.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
clientcert.h [build] Allow a client certificate to be specified at build time 2012-03-20 20:39:11 +00:00
cms.h [crypto] Allow certificate chains to be long-lived data structures 2012-05-04 17:54:31 +01:00
command.h [cmdline] Add generic concat_args() function 2011-03-07 19:21:43 +00:00
console.h [console] Add "log message" console usage and an internal syslog() call 2012-03-26 19:58:14 +01:00
cpio.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
crc32.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
crypto.h [crypto] Add abstraction for a public-key algorithm 2012-03-18 13:35:32 +00:00
device.h [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
dhcp.h [ipoib] Expose Ethernet-compatible eIPoIB link-layer addresses and headers 2012-08-31 21:22:59 +01:00
dhcpopts.h [settings] Formalise notion of setting applicability 2011-03-22 19:54:58 +00:00
dhcppkt.h [dhcp] Rename length fields for DHCP options 2011-01-10 03:39:26 +00:00
dns.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
downloader.h [image] Allow download job to complete before acting upon image 2011-03-02 19:29:24 +00:00
drbg.h [rng] Choose HMAC_DRBG using SHA-256 as the DRBG algorithm 2012-03-06 13:42:06 +00:00
eapol.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
edd.h [int13] Add infrastructure to support EDD version 4.0 2010-09-22 17:09:56 +01:00
editbox.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
editstring.h [readline] Add replace_string() 2011-03-30 19:26:48 +01:00
eisa.h [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
elf.h [multiboot] Place multiboot modules low in memory 2012-04-19 13:13:32 +01:00
eltorito.h [int13] Split out ISO9660 and El Torito definitions to separate header files 2013-03-19 23:21:15 +00:00
entropy.h [rng] Add Linux entropy source using /dev/random 2012-03-18 17:06:03 +00:00
errfile.h [intel] Add intelx driver for Intel 10 Gigabit Ethernet NICs 2013-04-18 23:56:06 +01:00
errortab.h [libc] Enable automated extraction of error usage reports 2010-05-31 03:11:57 +01:00
eth_slow.h [lacp] Add simple LACP implementation 2010-05-10 16:34:17 +01:00
ethernet.h [ethernet] Expose eth_broadcast as a global constant 2012-08-31 20:21:10 +01:00
fakedhcp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
fc.h [fc] Send xfer_window_changed() when FCP link is established 2011-06-28 14:45:07 +01:00
fcels.h [fc] Support Fibre Channel ECHO 2010-11-08 03:35:36 +00:00
fcns.h [fc] Add support for Fibre Channel name server lookups 2010-11-08 03:35:36 +00:00
fcoe.h [fcoe] Add support for FIP VLAN discovery 2010-11-26 01:09:41 +00:00
fcp.h [fcp] Add support for the Fibre Channel Protocol 2010-09-15 03:20:26 +01:00
features.h [sdi] Add support for SDI images 2012-09-05 14:11:01 +01:00
fip.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
ftp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
gdbserial.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
gdbstub.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
gdbudp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
hash_df.h [rng] Allow hash_df() to accept multiple underlying hash algorithms 2012-03-05 23:23:45 +00:00
hidemem.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
hmac.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
hmac_drbg.h [rng] Allow HMAC_DRBG to use multiple underlying hash algorithms 2012-03-06 13:12:30 +00:00
http.h [tls] Add support for Server Name Indication (SNI) 2012-03-03 20:15:21 +00:00
i2c.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
ib_cm.h [infiniband] Match GID/GUID terminology as used in the IBA 2010-09-15 19:25:05 +01:00
ib_cmrc.h [infiniband] Match GID/GUID terminology as used in the IBA 2010-09-15 19:25:05 +01:00
ib_mad.h [infiniband] Match GID/GUID terminology as used in the IBA 2010-09-15 19:25:05 +01:00
ib_mcast.h [infiniband] Match GID/GUID terminology as used in the IBA 2010-09-15 19:25:05 +01:00
ib_mi.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
ib_packet.h [infiniband] Include destination address vector in ib_complete_recv() 2012-08-31 21:22:58 +01:00
ib_pathrec.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
ib_sma.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
ib_smc.h [infiniband] Always call ib_link_state_changed() in ib_smc_update() 2010-09-16 03:30:45 +01:00
ib_srp.h [infiniband] Match GID/GUID terminology as used in the IBA 2010-09-15 19:25:05 +01:00
ibft.h [block] Replace gPXE block-device API with an iPXE asynchronous interface 2010-09-14 20:37:15 +01:00
icmp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
icmp6.h [build] Fix misaligned table entries when using gcc 4.5 2010-08-20 10:13:04 +01:00
ieee80211.h [libc] Enable automated extraction of error usage reports 2010-05-31 03:11:57 +01:00
if_arp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
if_ether.h [vlan] Add support for IEEE 802.1Q VLANs 2010-11-20 16:52:04 +00:00
image.h [image] Add "--autofree" option 2012-07-20 12:44:40 +01:00
in.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
infiniband.h [infiniband] Include destination address vector in ib_complete_recv() 2012-08-31 21:22:58 +01:00
init.h [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
interface.h [interface] Allow for non-pass-through interface methods 2010-06-22 19:12:40 +01:00
io.h [efi] Remove obsolete EFI I/O implementation using EFI_CPU_IO_PROTOCOL 2013-04-19 00:45:13 +01:00
iobuf.h [tls] Concatenate received non-data records before processing 2013-01-31 09:59:36 +00:00
ip.h [dhcp] Request broadcast responses when we already have an IPv4 address 2012-06-20 12:01:50 +01:00
ip6.h [build] Fix misaligned table entries when using gcc 4.5 2010-08-20 10:13:04 +01:00
ipoib.h [ipoib] Expose Ethernet-compatible eIPoIB link-layer addresses and headers 2012-08-31 21:22:59 +01:00
isa.h [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
isa_ids.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
isapnp.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
iscsi.h [src] Fix spelling in comments, debug messages and local variable names 2013-01-03 15:18:48 +00:00
iso9660.h [int13] Split out ISO9660 and El Torito definitions to separate header files 2013-03-19 23:21:15 +00:00
job.h [interface] Convert all job-control interfaces to generic interfaces 2010-06-22 14:40:09 +01:00
keymap.h [console] Add facility for rudimentary keyboard mapping 2011-03-16 12:02:52 +00:00
keys.h [bios] Recognise scancodes for F5-F12 inclusive 2011-03-07 19:22:20 +00:00
linebuf.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
lineconsole.h [console] Do not share ANSI escape context between lineconsole users 2012-03-26 21:58:50 +01:00
linux.h [linux] Add device and driver model 2010-08-19 12:42:42 +01:00
linux_compat.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
list.h [list] Reduce overall code size by externalising many list functions 2012-11-02 16:21:06 +00:00
login_ui.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
malloc.h [malloc] Allow allocation of memory with a specified alignment offset 2012-08-31 21:22:45 +01:00
mca.h [device] Make driver name a generic device property 2011-04-07 23:09:19 +01:00
md5.h [crypto] Replace MD5 implementation 2012-03-05 10:25:58 +00:00
memblock.h [umalloc] Split largest_memblock() function out from init_eheap() 2012-11-06 17:44:40 +00:00
menu.h [menu] Add "--default" option to "choose" command 2012-04-28 23:42:15 +01:00
mii.h [mii] Add separate mii_restart() function 2012-08-23 21:25:51 +01:00
monojob.h [interface] Convert all job-control interfaces to generic interfaces 2010-06-22 14:40:09 +01:00
nap.h [linux] Add nap 2010-08-19 12:38:08 +01:00
ndp.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
net80211.h [ath9k] Add ath9k driver 2011-10-14 15:34:52 +01:00
net80211_err.h [libc] Use __einfo() tuple as first argument to EUNIQ() 2013-04-19 00:45:13 +01:00
netdevice.h [ipoib] Expose Ethernet-compatible eIPoIB link-layer addresses and headers 2012-08-31 21:22:59 +01:00
null_entropy.h [rng] Allow entropy_enable() to return an error 2012-03-18 17:05:37 +00:00
null_nap.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
null_reboot.h [efi] Add "reboot" command for EFI 2013-03-22 13:44:02 +00:00
null_sanboot.h [sanboot] Add "sanhook" and "sanunhook" commands 2011-04-24 16:44:34 +01:00
null_time.h [time] Define an API for getting the current time 2012-03-19 22:13:27 +00:00
nvo.h [nvo] Expose nvo_applies() 2012-10-15 18:32:16 +01:00
nvs.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
nvsvpd.h [pci] Auto-resize VPD fields used for non-volatile storage 2011-01-19 13:52:56 +00:00
ocsp.h [crypto] Allow an error margin on X.509 certificate validity periods 2012-06-20 12:15:42 +01:00
open.h [xfer] Expose xfer_uri_opener() 2011-01-27 18:46:07 +00:00
parseopt.h [menu] Add menu commands 2012-03-29 14:02:02 +01:00
pci.h [src] Fix spelling in comments, debug messages and local variable names 2013-01-03 15:18:48 +00:00
pci_ids.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
pci_io.h [efi] Rename efi_pci.h to efi_pci_api.h 2011-02-17 01:59:30 +00:00
pcibackup.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
pcivpd.h [pci] Add ability to resize a VPD field 2011-01-19 13:52:55 +00:00
pending.h [pending] Add concept of "pending operations" 2012-06-09 18:48:28 +01:00
posix_io.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
process.h [process] Add support for one-shot processes 2011-06-28 14:45:09 +01:00
profile.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
random_nz.h [rng] Add get_random_nz() function required by RSA algorithm 2012-02-21 12:42:54 +00:00
rarp.h [build] Fix misaligned table entries when using gcc 4.5 2010-08-20 10:13:04 +01:00
rbg.h [rng] Add ANS X9.82 RBG wrapper functions 2012-02-21 12:42:46 +00:00
rc80211.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
reboot.h [cmdline] Add ability to perform a warm reboot 2013-03-22 13:54:44 +00:00
refcnt.h [refcnt] Check reference validity on each use of ref_get() and ref_put() 2010-11-08 03:35:35 +00:00
resolv.h [interface] Convert all name-resolution interfaces to generic interfaces 2010-06-22 15:45:57 +01:00
retry.h [retry] Expose retry_poll() to explicitly poll all running timers 2012-08-31 20:21:15 +01:00
rootcert.h [tls] Add full X.509 certificate parsing 2012-03-19 00:22:22 +00:00
rotate.h [crypto] Use standard bit-rotation functions 2012-03-21 16:27:12 +00:00
rsa.h [crypto] Move all ASN.1 OIDs to asn1.h 2012-03-21 16:27:12 +00:00
sanboot.h [sanboot] Add "sanhook" and "sanunhook" commands 2011-04-24 16:44:34 +01:00
script.h [prefix] Allow iPXE's own command line to be executed as a script 2011-03-07 22:28:31 +00:00
scsi.h [scsi] Wait for a successful TEST UNIT READY command 2010-10-19 19:10:02 +01:00
sec80211.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
segment.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
serial.h [serial] Don't enable serial console without serial support 2012-10-05 15:18:57 +01:00
settings.h [settings] Add fetchf_named_setting_copy() 2012-10-24 20:42:42 -07:00
settings_ui.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
sha1.h [crypto] Replace SHA-1 implementation 2012-03-04 17:42:29 +00:00
sha256.h [crypto] Add SHA-256 algorithm 2012-03-05 00:18:49 +00:00
shell.h [cmdline] Match user expectations for &&, ||, goto, and exit 2010-11-29 14:19:59 +00:00
smbios.h [smbios] Provide SMBIOS version number via smbios_version() 2013-03-20 00:12:30 +00:00
socket.h [fc] Allow FLOGI response to be sent to newly-assigned peer port ID 2010-09-21 02:06:06 +01:00
spi.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
spi_bit.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
srp.h [infiniband] Include the SRP login rejection reason in the error number 2010-09-22 20:05:39 +01:00
syslog.h [syslog] Include hostname within syslog messages where possible 2012-06-20 14:59:06 +01:00
tables.h [build] Avoid spurious unused-but-set-variable warnings in gcc 4.6 2011-03-16 19:31:44 +00:00
tcp.h [tcp] Increase maximum window size to 256kB 2012-07-09 10:15:24 +01:00
tcpip.h [tcpip] Allow for architecture-specific TCP/IP checksum routines 2012-06-27 19:15:17 +01:00
test.h [test] Add a basic infrastructure for running self-tests 2011-10-14 14:33:31 +01:00
tftp.h [tftp] Allow TFTP block size to be controlled via the PXE TFTP API 2013-03-06 17:35:30 +00:00
threewire.h [natsemi] Replace driver for National Semicondutor NICs 2012-04-26 14:17:24 +01:00
time.h [time] Add Linux time source using gettimeofday() 2012-05-04 17:54:31 +01:00
timer.h [linux] Add timer 2010-08-19 12:32:53 +01:00
tls.h [tls] Split received records over multiple I/O buffers 2012-09-27 01:56:01 +01:00
uaccess.h [uaccess] Add userptr_sub() to find the difference between two user pointers 2012-11-05 16:15:14 +00:00
udp.h [udp] Remove obsolete constants 2010-11-19 16:08:05 +00:00
umalloc.h [linux] Add umalloc 2010-08-19 12:37:48 +01:00
uri.h [uri] Add uri_has_path() 2011-02-01 04:25:19 +00:00
uuid.h [uuid] Abstract UUID mangling code out to a separate uuid_mangle() function 2013-03-20 15:06:40 +00:00
validator.h [crypto] Add asynchronous certificate validator 2012-05-08 12:49:01 +01:00
version.h [build] Include version number within only a single object file 2012-11-02 14:46:39 +00:00
virtio-pci.h [virtio] Replace virtio-net with native iPXE driver 2010-07-17 17:07:14 +01:00
virtio-ring.h [virtio] Replace virtio-net with native iPXE driver 2010-07-17 17:07:14 +01:00
vlan.h [netdevice] Add vlan_tag() to get the VLAN tag of a network device 2013-03-01 16:11:40 +00:00
vsprintf.h [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
wpa.h [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
x509.h [crypto] Allow an error margin on X.509 certificate validity periods 2012-06-20 12:15:42 +01:00
xfer.h [fc] Add support for Fibre Channel devices 2010-09-15 03:16:24 +01:00
xferbuf.h [xferbuf] Add generic data-transfer buffer 2012-05-08 19:16:46 +01:00