summaryrefslogtreecommitdiff
path: root/com32/include/syslinux/pxe_api.h
diff options
context:
space:
mode:
authorLiu Aleaxander <Aleaxander@gmail.com>2009-08-29 07:18:12 +0800
committerLiu Aleaxander <Aleaxander@gmail.com>2009-08-29 07:18:12 +0800
commit71edc894196649651f77fe17b0f2bc81f47324ca (patch)
tree220181a28ed9c49524ab720d47912471054a3946 /com32/include/syslinux/pxe_api.h
parente0b07793a4cccc6921170ad83d292a9aa4895efb (diff)
downloadsyslinux-71edc894196649651f77fe17b0f2bc81f47324ca.tar.gz
Core:pxelinux: The pxe structures are all converted to standard structures.syslinux-4.00-pre3
converts the current pxe structures to standard structures; removes the old one in pxe.h. Signed-off-by: Liu Aleaxander <Aleaxander@gmail.com>
Diffstat (limited to 'com32/include/syslinux/pxe_api.h')
-rw-r--r--com32/include/syslinux/pxe_api.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/com32/include/syslinux/pxe_api.h b/com32/include/syslinux/pxe_api.h
index 5fd102ef..6c9efc24 100644
--- a/com32/include/syslinux/pxe_api.h
+++ b/com32/include/syslinux/pxe_api.h
@@ -379,6 +379,36 @@ typedef struct s_PXENV_UNDI_ISR {
uint8_t ProtType;
uint8_t PktType;
} __packed t_PXENV_UNDI_ISR;
+
+typedef struct s_PXENV_FILE_API_CHECK {
+ pxenv_status_t Status;
+ uint16_t Size;
+ uint32_t Magic;
+ uint32_t Provider;
+ uint32_t APIMask;
+ uint32_t Flags;
+} __packed t_PXENV_FILE_API_CHECK;
+
+typedef struct s_PXENV_FILE_READ {
+ pxenv_status_t Status;
+ uint16_t FileHandle;
+ uint16_t BufferSize;
+ segoff16_t Buffer;
+} __packed t_PXENV_FILE_READ;
+
+typedef struct s_PXENV_FILE_OPEN {
+ pxenv_status_t Status;
+ uint16_t FileHandle;
+ segoff16_t FileName;
+ uint32_t Reserved;
+} __packed t_PXENV_FILE_OPEN;
+
+typedef struct s_PXENV_GET_FILE_SIZE {
+ pxenv_status_t Status;
+ uint16_t FileHandle;
+ uint32_t FileSize;
+} __packed t_PXENV_GET_FILE_SIZE;
+
#define PXENV_UNDI_ISR_IN_START 1
#define PXENV_UNDI_ISR_IN_PROCESS 2
#define PXENV_UNDI_ISR_IN_GET_NEXT 3