diff options
author | Michael Brown | 2007-07-08 15:11:07 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-08 15:11:07 +0200 |
commit | b34d4d044978714abe771ca8d7d07153ad048d82 (patch) | |
tree | 017d6c4e37f0bc49df6ae461074a41691e08013f /src/core/posix_io.c | |
parent | Kill off unused request() method in data-xfer interface. (diff) | |
download | ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.gz ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.tar.xz ipxe-b34d4d044978714abe771ca8d7d07153ad048d82.zip |
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
Diffstat (limited to 'src/core/posix_io.c')
-rw-r--r-- | src/core/posix_io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 03d440a6..21f818bf 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -160,6 +160,7 @@ static struct xfer_interface_operations posix_file_xfer_operations = { .close = posix_file_xfer_close, .vredirect = xfer_vopen, .seek = posix_file_xfer_seek, + .window = unlimited_xfer_window, .alloc_iob = default_xfer_alloc_iob, .deliver_iob = posix_file_xfer_deliver_iob, .deliver_raw = xfer_deliver_as_iob, |