Skip to content

Commit

Permalink
QemuQ35Pkg/AcpiPlatformDxe: Drop S3 and Lock Box support
Browse files Browse the repository at this point in the history
Removes S3 boot script related code since S3 is no longer supported.

Signed-off-by: Michael Kubacki <Michael.kubacki@microsoft.com>
  • Loading branch information
makubacki committed Sep 24, 2024
1 parent d21b07f commit 1f90578
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 727 deletions.
27 changes: 0 additions & 27 deletions Platforms/QemuQ35Pkg/AcpiPlatformDxe/AcpiPlatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ typedef struct {
UINT64 PciAttributes;
} ORIGINAL_ATTRIBUTES;

typedef struct S3_CONTEXT S3_CONTEXT;

EFI_STATUS
EFIAPI
InstallCloudHvTables (
Expand Down Expand Up @@ -49,29 +47,4 @@ RestorePciDecoding (
IN UINTN Count
);

EFI_STATUS
AllocateS3Context (
OUT S3_CONTEXT **S3Context,
IN UINTN WritePointerCount
);

VOID
ReleaseS3Context (
IN S3_CONTEXT *S3Context
);

EFI_STATUS
SaveCondensedWritePointerToS3Context (
IN OUT S3_CONTEXT *S3Context,
IN UINT16 PointerItem,
IN UINT8 PointerSize,
IN UINT32 PointerOffset,
IN UINT64 PointerValue
);

EFI_STATUS
TransferS3ContextToBootScript (
IN S3_CONTEXT *S3Context
);

#endif
2 changes: 0 additions & 2 deletions Platforms/QemuQ35Pkg/AcpiPlatformDxe/AcpiPlatformDxe.inf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
[Sources]
AcpiPlatform.c
AcpiPlatform.h
BootScript.c
CloudHvAcpi.c
EntryPoint.c
PciDecoding.c
Expand All @@ -43,7 +42,6 @@
OrderedCollectionLib
PcdLib
QemuFwCfgLib
QemuFwCfgS3Lib
UefiBootServicesTableLib
UefiDriverEntryPoint

Expand Down
276 changes: 0 additions & 276 deletions Platforms/QemuQ35Pkg/AcpiPlatformDxe/BootScript.c

This file was deleted.

Loading

0 comments on commit 1f90578

Please sign in to comment.