diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-04 03:33:53 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-05-04 03:33:53 +0000 |
commit | 8243b089aba90212f295d0454dc2592c256eda20 (patch) | |
tree | ba0c5b00962cff671b0692baf7cf0db0050874aa | |
parent | d1be17ab87c51fd53381491610ede29b6dbd10fa (diff) | |
download | edk2-platforms-8243b089aba90212f295d0454dc2592c256eda20.tar.xz |
Update function comments for AsmPrepareThunk16, AsmThunk16, AsmPrepareAndThunk16 interface. These interfaces could be used in either physical mode or virtual modes with paging enabled where virtual to physical mappings for ThunkContext.RealModeBuffer is mapped to 1:1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8231 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | MdePkg/Include/Library/BaseLib.h | 12 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/X86Thunk.c | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/MdePkg/Include/Library/BaseLib.h b/MdePkg/Include/Library/BaseLib.h index d704e98f5f..291accc46a 100644 --- a/MdePkg/Include/Library/BaseLib.h +++ b/MdePkg/Include/Library/BaseLib.h @@ -7031,8 +7031,8 @@ AsmGetThunk16Properties ( Prepares all structures and code required to use AsmThunk16().
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
If ThunkContext is NULL, then ASSERT().
@@ -7093,8 +7093,8 @@ AsmPrepareThunk16 ( If both THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 and THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL are set in
ThunkAttributes, then ASSERT().
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
@param ThunkContext A pointer to the context structure that describes the
16-bit real mode code to call.
@@ -7118,8 +7118,8 @@ AsmThunk16 ( real mode thunk, then it is more efficient if AsmPrepareThunk16() is called
once and AsmThunk16() can be called for each 16-bit real mode thunk.
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
See AsmPrepareThunk16() and AsmThunk16() for the detailed description and ASSERT() conditions.
diff --git a/MdePkg/Library/BaseLib/X86Thunk.c b/MdePkg/Library/BaseLib/X86Thunk.c index 6b6e9f0f12..2be3c812da 100644 --- a/MdePkg/Library/BaseLib/X86Thunk.c +++ b/MdePkg/Library/BaseLib/X86Thunk.c @@ -110,8 +110,8 @@ AsmGetThunk16Properties ( Prepares all structures and code required to use AsmThunk16().
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
If ThunkContext is NULL, then ASSERT().
@@ -230,8 +230,8 @@ AsmPrepareThunk16 ( If both THUNK_ATTRIBUTE_DISABLE_A20_MASK_INT_15 and THUNK_ATTRIBUTE_DISABLE_A20_MASK_KBD_CTRL are set in
ThunkAttributes, then ASSERT().
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
@param ThunkContext A pointer to the context structure that describes the
16-bit real mode code to call.
@@ -271,8 +271,8 @@ AsmThunk16 ( real mode thunk, then it is more efficient if AsmPrepareThunk16() is called
once and AsmThunk16() can be called for each 16-bit real mode thunk.
- This interface is limited to be used in physical mode but can not be used in
- virtual mode with paging.
+ This interface is limited to be used in either physical mode or virtual modes with paging enabled where the
+ virtual to physical mappings for ThunkContext.RealModeBuffer is mapped 1:1.
See AsmPrepareThunk16() and AsmThunk16() for the detailed description and ASSERT() conditions.
|