diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-03-06 11:55:57 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-03-06 11:55:57 -0800 |
commit | e375515ddc712f1f69ee21337db2a3267caa5d49 (patch) | |
tree | 234cecab51fe9bfb341289ce0d0620543f77f047 /doc | |
parent | ead9bc6ff2fdfffc2f0974bb8de02f54a7671922 (diff) | |
download | syslinux-e375515ddc712f1f69ee21337db2a3267caa5d49.tar.gz syslinux-e375515ddc712f1f69ee21337db2a3267caa5d49.tar.xz syslinux-e375515ddc712f1f69ee21337db2a3267caa5d49.zip |
Add 32-bit versions of open file/close file
Add 32-bit API calls for open file and close file.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/comboot.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/comboot.txt b/doc/comboot.txt index b970b281..8adff330 100644 --- a/doc/comboot.txt +++ b/doc/comboot.txt @@ -320,6 +320,16 @@ AX=0006h [2.08] Open file In 3.70 or later, EAX can contain -1 indicating that the file length is unknown. + 32-BIT VERSION: + + int cs_pm->open_file(const char *filename, struct com32_filedata *data) + + filename - null-terminated filename + data - pointer to a file data buffer + + Returns the file handle, or -1 on failure. + The file data buffer contains block size and file size. + AX=0007h [2.08] Read file @@ -373,6 +383,12 @@ AX=0008h [2.08] Close file WARNING: Calling this function with an invalid file handle will probably crash the system. + 32-BIT VERSION: + + void cs_pm->close_file(uint16_t handle) + + handle - file handle to close + AX=0009h [2.00] Call PXE Stack [PXELINUX ONLY] |