SourceLevelDebugPkg: Replace Opcode with the corresponding instructions.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3790 Replace Opcode with the corresponding instructions. The code changes have been verified with CompareBuild.py tool, which can be used to compare the results of two different EDK II builds to determine if they generate the same binaries. (tool link: https://github.com/mdkinney/edk2/tree/sandbox/CompareBuild) Signed-off-by: Jason Lou <yun.lou@intel.com> Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
;------------------------------------------------------------------------------
|
||||
;
|
||||
; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
; Copyright (c) 2016 - 2022, Intel Corporation. All rights reserved.<BR>
|
||||
; SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
;
|
||||
; Module Name:
|
||||
@ -293,7 +293,7 @@ NoExtrPush:
|
||||
rep stosq
|
||||
pop rcx
|
||||
mov rdi, rsp
|
||||
db 0xf, 0xae, 00000111y ;fxsave [rdi]
|
||||
fxsave [rdi]
|
||||
|
||||
;; save the exception data
|
||||
push qword [rbp + 16]
|
||||
@ -314,7 +314,7 @@ NoExtrPush:
|
||||
add rsp, 8
|
||||
|
||||
mov rsi, rsp
|
||||
db 0xf, 0xae, 00001110y ; fxrstor [rsi]
|
||||
fxrstor [rsi]
|
||||
add rsp, 512
|
||||
|
||||
;; UINT64 Dr0, Dr1, Dr2, Dr3, Dr6, Dr7;
|
||||
|
Reference in New Issue
Block a user