mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
add return value check.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7507 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
892b7f90c5
commit
e618d0cb67
@ -1825,6 +1825,7 @@ ExecuteBREAK (
|
||||
IN VM_CONTEXT *VmPtr
|
||||
)
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
UINT8 Operands;
|
||||
VOID *EbcEntryPoint;
|
||||
VOID *Thunk;
|
||||
@ -1887,7 +1888,10 @@ ExecuteBREAK (
|
||||
//
|
||||
// Now create a new thunk
|
||||
//
|
||||
EbcCreateThunks (VmPtr->ImageHandle, EbcEntryPoint, &Thunk, 0);
|
||||
Status = EbcCreateThunks (VmPtr->ImageHandle, EbcEntryPoint, &Thunk, 0);
|
||||
if (EFI_ERROR (Status)) {
|
||||
return Status;
|
||||
}
|
||||
|
||||
//
|
||||
// Finally replace the EBC entry point memory with the thunk address
|
||||
|
Loading…
x
Reference in New Issue
Block a user