]> git.proxmox.com Git - mirror_edk2.git/commit - EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.asm
I fixed following bugs in EDKII.
authormikewuping <mikewuping@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 3 Nov 2006 03:34:43 +0000 (03:34 +0000)
committermikewuping <mikewuping@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 3 Nov 2006 03:34:43 +0000 (03:34 +0000)
commitc91eaa3d55d88598baaa979097a31cb1001ecc0d
tree222ee4336cc2884c432a7f2ce14561a4a953c6b7
parent511710d68f477e0210ae1830769e5d0cde4ea36a
 I fixed following bugs in EDKII.
1. In AsmFuncs.asm, DebugSupport, Vect2Desc() function will use hardcode CS to fill the IDT. 20h for Ia32.If the system CS is changed by CPU driver, this driver can not work. System maybe crash.
2. In EBC, RegisterExceptionCallback() can not restore the environment and I add some enhancements.
3. In Image.c, CoreLoadImageCommon never return EFI_SECURITY_VIOLATION when SecurityStatus == EFI_SECURITY_VIOLATION.
4. In Variable.c, 1. There're additional unnecessary loop. All blocks will be gone through even if all the data has been written. We should check the "CurrWriteSize" to see if there's no more data to write, and stop the for loop immediately. 2 "if.else." can be merged to save lines of code.
5. in FvbServices,c, Checksum calculation error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1891 6f19259b-4bc3-4df7-8a09-765794883524
EdkModulePkg/Core/Dxe/Image/Image.c
EdkModulePkg/Universal/DebugSupport/Dxe/Ia32/AsmFuncs.asm
EdkModulePkg/Universal/Ebc/Dxe/EbcExecute.c
EdkModulePkg/Universal/Ebc/Dxe/EbcInt.c
EdkModulePkg/Universal/Ebc/Dxe/EbcInt.h
EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
EdkNt32Pkg/RuntimeDxe/FvbServices/FWBlockService.c