diff options
author | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-01 11:16:42 +0000 |
---|---|---|
committer | li-elvin <li-elvin@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-03-01 11:16:42 +0000 |
commit | 81c0d6e9a7f78bb43e9a1045ea084e728fa76983 (patch) | |
tree | 49fa82431a59a183b7578e560bd8ca0aedc8fffa /IntelFrameworkModulePkg/Universal/StatusCode | |
parent | 916666c009ebd50500f8c3ed025e688dfb9be05e (diff) | |
download | edk2-platforms-81c0d6e9a7f78bb43e9a1045ea084e728fa76983.tar.xz |
When CSM uses EFI_SEGMENT and EFI_OFFSET to call CSM16 function, some CSM16 use es:[offset + 0xabcd] to get data passed from CSM32, offset + 0xabcd could exceed 0xFFFF which is invalid in real mode. So added NORMALIZE_EFI_SEGMENT and NORMALIZE_EFI_OFFSET to keep offset as small as possible to avoid this issue during CSM16 function call.
Signed-off-by: li-elvin
Reviewed-by: rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13074 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/StatusCode')
0 files changed, 0 insertions, 0 deletions