summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c
diff options
context:
space:
mode:
Diffstat (limited to 'OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c')
-rw-r--r--OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c
index 0de8b39f54..a31fd0e7bb 100644
--- a/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c
+++ b/OvmfPkg/Library/ResetSystemLib/DxeResetSystemLibMicrovm.c
@@ -37,8 +37,11 @@ DxeResetSystemLibMicrovmConstructor (
return RETURN_UNSUPPORTED;
}
- Status = gDS->SetMemorySpaceAttributes (Address, SIZE_4KB,
- Descriptor.Attributes | EFI_MEMORY_RUNTIME);
+ Status = gDS->SetMemorySpaceAttributes (
+ Address,
+ SIZE_4KB,
+ Descriptor.Attributes | EFI_MEMORY_RUNTIME
+ );
if (EFI_ERROR (Status)) {
DEBUG ((DEBUG_INFO, "%a: SetMemorySpaceAttributes failed\n", __FUNCTION__));
return RETURN_UNSUPPORTED;