summaryrefslogtreecommitdiff
path: root/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2015-07-02 07:23:33 +0000
committerjljusten <jljusten@Edk2>2015-07-02 07:23:33 +0000
commit288ed5907950a0231f214ef33d6a4b0b262f88d5 (patch)
treef10e734d01b1c7fdfd4486bf86934a5367ed7ba8 /OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c
parent504ab5731ddce578e8247824a149cc45e4c31803 (diff)
downloadedk2-platforms-288ed5907950a0231f214ef33d6a4b0b262f88d5.tar.xz
Revert tree to r17801
Revert r17802 "BaseTools: AArch64: use explicit linker scripts" Revert r17803 "ArmVirtPkg: build runtime drivers with 64 KB section alignment" Revert r17804 "IntelFrameworkModulePkg: AcpiS3SaveDxe: prepare for End-of-Dxe callback" Revert r17805 "IntelFrameworkModulePkg: AcpiS3SaveDxe: call S3Ready() at End-of-Dxe" Revert r17806 "OvmfPkg: AcpiS3SaveDxe: prepare for End-of-Dxe callback" Requested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17807 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c')
-rw-r--r--OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c b/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c
index f05764af8b..f322981b53 100644
--- a/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c
+++ b/OvmfPkg/AcpiS3SaveDxe/AcpiS3Save.c
@@ -2,7 +2,6 @@
This is an implementation of the ACPI S3 Save protocol. This is defined in
S3 boot path specification 0.9.
-Copyright (c) 2014-2015, Red Hat, Inc.<BR>
Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
@@ -403,8 +402,6 @@ LegacyGetS3MemorySize (
OUT UINTN *Size
)
{
- ASSERT (FALSE);
-
if (Size == NULL) {
return EFI_INVALID_PARAMETER;
}
@@ -494,8 +491,6 @@ S3Ready (
}
AlreadyEntered = TRUE;
- ASSERT (LegacyMemoryAddress == NULL);
-
AcpiS3Context = AllocateMemoryBelow4G (EfiReservedMemoryType, sizeof(*AcpiS3Context));
ASSERT (AcpiS3Context != NULL);
AcpiS3ContextBuffer = (EFI_PHYSICAL_ADDRESS)(UINTN)AcpiS3Context;