opengnsys_ipxe/src/arch
Michael Brown 364b92521a [xfer] Generalise metadata "whence" field to "flags" field
iPXE has never supported SEEK_END; the usage of "whence" offers only
the options of SEEK_SET and SEEK_CUR and so is effectively a boolean
flag.  Further flags will be required to support additional metadata
required by the Fibre Channel network model, so repurpose the "whence"
field as a generic "flags" field.

xfer_seek() has always been used with SEEK_SET, so remove the "whence"
field altogether from its argument list.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-09-03 21:21:14 +01:00
..
i386 [xfer] Generalise metadata "whence" field to "flags" field 2010-09-03 21:21:14 +01:00
x86 [linux] Add most of the linux api 2010-08-19 12:30:39 +01:00
x86_64 [linux] Add command line arguments 2010-08-19 12:45:41 +01:00