\r
struct fileops {\r
/* These functions must always be implemented. */\r
+\r
+ /** Perform device specific operations for closing the device.\r
+ It is the responsibility of this function to flush or discard\r
+ buffer contents.\r
+ **/\r
int (EFIAPI *fo_close) (struct __filedes *filp);\r
+\r
ssize_t (EFIAPI *fo_read) (struct __filedes *filp, off_t *Offset, size_t Len, void *Buf);\r
ssize_t (EFIAPI *fo_write) (struct __filedes *filp, off_t *Offset, size_t Len, const void *Buf);\r
\r
off_t (EFIAPI *fo_lseek) (struct __filedes *filp, off_t, int);\r
};\r
\r
-/* A generic instance structure which is valid for\r
+/* A generic instance structure which is valid\r
for all device instance structures.\r
\r
All device instance structures MUST be a multiple of 8-bytes in length.\r