diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2013-02-25 15:25:16 +0000 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2013-02-26 11:29:04 +0000 |
| commit | 76da2ae050d72a31fd47c2fb53f7081781de62ff (patch) | |
| tree | 6da146b5f19ca17ff24d4e74940f14264d38f914 /com32/include/syslinux | |
| parent | 41c29c26d70fde563d7c255872bbadad87a39dfa (diff) | |
| parent | 79312306de0150ef64213ef9fbc5aa8580544f03 (diff) | |
| download | syslinux-76da2ae050d72a31fd47c2fb53f7081781de62ff.tar.gz | |
Merge branch 'lwip' into elflink
Welcome to Syslinux 5.10.
Conflicts:
NEWS
com32/lib/Makefile
com32/lib/sys/open.c
com32/lib/syslinux/ipappend.c
com32/modules/Makefile
com32/modules/prdhcp.c
core/Makefile
core/cmdline.inc
core/com32.inc
core/comboot.inc
core/configinit.inc
core/fs/chdir.c
core/fs/fs.c
core/fs/pxe/dnsresolv.c
core/fs/pxe/pxe.c
core/fs/pxe/pxe.h
core/idle.c
core/include/ctype.h
core/init.inc
core/mem/init.c
core/parseconfig.inc
core/runkernel.inc
core/syslinux.ld
core/ui.inc
doc/comboot.txt
version
Diffstat (limited to 'com32/include/syslinux')
| -rw-r--r-- | com32/include/syslinux/config.h | 2 | ||||
| -rw-r--r-- | com32/include/syslinux/pmapi.h | 5 | ||||
| -rw-r--r-- | com32/include/syslinux/pxe_api.h | 22 | ||||
| -rw-r--r-- | com32/include/syslinux/sysappend.h | 59 |
4 files changed, 85 insertions, 3 deletions
diff --git a/com32/include/syslinux/config.h b/com32/include/syslinux/config.h index 8f4124ce..235f288d 100644 --- a/com32/include/syslinux/config.h +++ b/com32/include/syslinux/config.h @@ -39,7 +39,7 @@ #include <com32.h> enum syslinux_filesystem { - SYSLINUX_FS_UNKNOWN = 0x30, + SYSLINUX_FS_UNKNOWN = 0x30, SYSLINUX_FS_SYSLINUX = 0x31, SYSLINUX_FS_PXELINUX = 0x32, SYSLINUX_FS_ISOLINUX = 0x33, diff --git a/com32/include/syslinux/pmapi.h b/com32/include/syslinux/pmapi.h index fa390185..14a2c326 100644 --- a/com32/include/syslinux/pmapi.h +++ b/com32/include/syslinux/pmapi.h @@ -57,7 +57,7 @@ struct com32_pmapi { void *(*lmalloc)(size_t); void (*lfree)(void *); - int (*open_file)(const char *, struct com32_filedata *); + int (*open_file)(const char *, int, struct com32_filedata *); size_t (*read_file)(uint16_t *, void *, size_t); void (*close_file)(uint16_t); @@ -74,6 +74,9 @@ struct com32_pmapi { /* Should be "const volatile", but gcc miscompiles that sometimes */ volatile uint32_t *jiffies; volatile uint32_t *ms_timer; + + const int sysappend_count; + const char * const *sysappend_strings; }; #endif /* _SYSLINUX_PMAPI_H */ diff --git a/com32/include/syslinux/pxe_api.h b/com32/include/syslinux/pxe_api.h index 203ab38f..e9baa48c 100644 --- a/com32/include/syslinux/pxe_api.h +++ b/com32/include/syslinux/pxe_api.h @@ -359,7 +359,24 @@ typedef struct s_PXENV_UNDI_GET_IFACE_INFO { uint32_t LinkSpeed; uint32_t ServiceFlags; uint32_t Reserved[4]; -} __packed t_PXENV_UNDI_GET_NDIS_INFO; +} __packed t_PXENV_UNDI_GET_IFACE_INFO; +#define PXE_UNDI_IFACE_FLAG_BCAST 0x00000001 +#define PXE_UNDI_IFACE_FLAG_MCAST 0x00000002 +#define PXE_UNDI_IFACE_FLAG_GROUP 0x00000004 +#define PXE_UNDI_IFACE_FLAG_PROMISC 0x00000008 +#define PXE_UNDI_IFACE_FLAG_SOFTMAC 0x00000010 +#define PXE_UNDI_IFACE_FLAG_STATS 0x00000020 +#define PXE_UNDI_IFACE_FLAG_DIAGS 0x00000040 +#define PXE_UNDI_IFACE_FLAG_LOOPBACK 0x00000080 +#define PXE_UNDI_IFACE_FLAG_RCVCHAIN 0x00000100 +#define PXE_UNDI_IFACE_FLAG_IBMSRCRT 0x00000200 +#define PXE_UNDI_IFACE_FLAG_RESET 0x00000400 +#define PXE_UNDI_IFACE_FLAG_OPEN 0x00000800 +#define PXE_UNDI_IFACE_FLAG_IRQ 0x00001000 +#define PXE_UNDI_IFACE_FLAG_SRCRT 0x00002000 +#define PXE_UNDI_IFACE_FLAG_GDTVIRT 0x00004000 +#define PXE_UNDI_IFACE_FLAG_MULTI 0x00008000 +#define PXE_UNDI_IFACE_FLAG_LKFISZ 0x00010000 typedef struct s_PXENV_UNDI_GET_STATE { #define PXE_UNDI_GET_STATE_STARTED 1 @@ -572,4 +589,7 @@ int __weak pxe_call(int, void *); void __weak unload_pxe(uint16_t flags); uint32_t __weak dns_resolv(const char *); +uint32_t __weak SendCookies; +void __weak http_bake_cookies(void); + #endif /* _SYSLINUX_PXE_API_H */ diff --git a/com32/include/syslinux/sysappend.h b/com32/include/syslinux/sysappend.h new file mode 100644 index 00000000..f243eabc --- /dev/null +++ b/com32/include/syslinux/sysappend.h @@ -0,0 +1,59 @@ +/* ----------------------------------------------------------------------- * + * + * Copyright 2011 Intel Corporation; author: H. Peter Anvin + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom + * the Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall + * be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * ----------------------------------------------------------------------- */ + +/* + * syslinux/sysappend.h + * + * List of the Syslinux sysappend strings + */ + +#ifndef _SYSLINUX_SYSAPPEND_H +#define _SYSLINUX_SYSAPPEND_H + +enum syslinux_sysappend { + SYSAPPEND_IP, /* PXELINUX: ip= address */ + SYSAPPEND_BOOTIF, /* PXELINUX: BOOTIF= address */ + SYSAPPEND_SYSUUID, /* System UUID from PXE or DMI */ + SYSAPPEND_CPU, /* CPU features */ + SYSAPPEND_SYSVENDOR, /* System or MB vendor from DMI */ + SYSAPPEND_SYSPRODUCT, /* System or MB product from DMI */ + SYSAPPEND_SYSVERSION, /* System or MB version from DMI */ + SYSAPPEND_SYSSERIAL, /* System or MB serial from DMI */ + SYSAPPEND_SYSSKU, /* System SKU from DMI */ + SYSAPPEND_SYSFAMILY, /* System family from DMI */ + SYSAPPEND_MBVENDOR, /* System or MB vendor from DMI */ + SYSAPPEND_MBPRODUCT, /* System or MB product from DMI */ + SYSAPPEND_MBVERSION, /* System or MB version from DMI */ + SYSAPPEND_MBSERIAL, /* System or MB serial from DMI */ + SYSAPPEND_MBASSET, /* MB asset tag from DMI */ + SYSAPPEND_BIOSVENDOR, /* BIOS vendor */ + SYSAPPEND_BIOSVERSION, /* BIOS version string */ + SYSAPPEND_SYSFF, /* System form factor */ + SYSAPPEND_MAX /* Total number of strings */ +}; + +#endif |
