diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-20 21:01:21 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-09-20 21:01:21 +0000 |
commit | a9c12422ff2b4d8c4aec3d940302fc61b4ee39f7 (patch) | |
tree | 6ac4a1904fe9ff3eb51d8603e287fda21a5f6e52 /StdLibPrivateInternalFiles/Include | |
parent | 2ca8548911013db4211172e8546fcff3db27f302 (diff) | |
download | edk2-platforms-a9c12422ff2b4d8c4aec3d940302fc61b4ee39f7.tar.xz |
StdLib, StdLibPrivateInternalFiles: Clean up comments, Remove debugging code, Define MAX_OUTPUT, the Maximum number of bytes in a single terminal output operation.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Jaben Carsey <jcarsey@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13735 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLibPrivateInternalFiles/Include')
-rw-r--r-- | StdLibPrivateInternalFiles/Include/kfile.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/StdLibPrivateInternalFiles/Include/kfile.h b/StdLibPrivateInternalFiles/Include/kfile.h index 6e7d1b4c79..6312895c40 100644 --- a/StdLibPrivateInternalFiles/Include/kfile.h +++ b/StdLibPrivateInternalFiles/Include/kfile.h @@ -1,7 +1,7 @@ /** @file
The EFI kernel's interpretation of a "file".
- Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
under the terms and conditions of the BSD License which accompanies this
distribution. The full text of the license may be found at
@@ -82,8 +82,16 @@ struct _Device_Node; struct __filedes {
off_t f_offset; /* current position in file */
const struct fileops *f_ops;
+
+ /* The devdata member has different meanings depending upon whether
+ a block oriented or character oriented device is being accessed.
+ For block devices, devdata holds an EFI handle to the open file or directory.
+ For character devices, devdata points to the device's IIO structure,
+ if it has one. It may be NULL indicating a non-interactive character
+ device.
+ */
void *devdata; /* Device-specific data */
- int Oflags; // From the open call
+ int Oflags; // From the open call, see fcntl.h
int Omode; // From the open call
int RefCount; // Reference count of opens
UINT32 f_flag; /* see fcntl.h */
|