TianoCore EDK2 master
Loading...
Searching...
No Matches
AcpiPlatformLib.h
Go to the documentation of this file.
1
7#ifndef ACPI_PLATFORM_LIB_H_
8#define ACPI_PLATFORM_LIB_H_
9
10#include <Protocol/AcpiTable.h>
11#include <Protocol/PciIo.h>
12
13typedef struct {
15 UINT64 PciAttributes;
17
18typedef struct S3_CONTEXT S3_CONTEXT;
19
32EFIAPI
34 IN UINTN StartAddress,
35 IN UINTN EndAddress,
37 );
38
56EFIAPI
58 IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol,
60 );
61
63EFIAPI
65 IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol
66 );
67
68VOID
70 OUT ORIGINAL_ATTRIBUTES **OriginalAttributes,
71 OUT UINTN *Count
72 );
73
74VOID
76 IN ORIGINAL_ATTRIBUTES *OriginalAttributes,
77 IN UINTN Count
78 );
79
82 OUT S3_CONTEXT **S3Context,
83 IN UINTN WritePointerCount
84 );
85
86VOID
88 IN S3_CONTEXT *S3Context
89 );
90
93 IN OUT S3_CONTEXT *S3Context,
94 IN UINT16 PointerItem,
95 IN UINT8 PointerSize,
96 IN UINT32 PointerOffset,
97 IN UINT64 PointerValue
98 );
99
102 IN S3_CONTEXT *S3Context
103 );
104
105#endif
UINT64 UINTN
VOID RestorePciDecoding(IN ORIGINAL_ATTRIBUTES *OriginalAttributes, IN UINTN Count)
Definition: PciDecoding.c:211
EFI_STATUS SaveCondensedWritePointerToS3Context(IN OUT S3_CONTEXT *S3Context, IN UINT16 PointerItem, IN UINT8 PointerSize, IN UINT32 PointerOffset, IN UINT64 PointerValue)
Definition: BootScript.c:155
EFI_STATUS AllocateS3Context(OUT S3_CONTEXT **S3Context, IN UINTN WritePointerCount)
Definition: BootScript.c:72
VOID EnablePciDecoding(OUT ORIGINAL_ATTRIBUTES **OriginalAttributes, OUT UINTN *Count)
Definition: PciDecoding.c:40
EFI_STATUS TransferS3ContextToBootScript(IN S3_CONTEXT *S3Context)
Definition: BootScript.c:258
EFI_STATUS EFIAPI InstallAcpiTablesFromRsdp(IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol, IN EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER *Rsdp)
EFI_STATUS EFIAPI GetAcpiRsdpFromMemory(IN UINTN StartAddress, IN UINTN EndAddress, OUT EFI_ACPI_2_0_ROOT_SYSTEM_DESCRIPTION_POINTER **RsdpPtr)
EFI_STATUS EFIAPI InstallQemuFwCfgTables(IN EFI_ACPI_TABLE_PROTOCOL *AcpiProtocol)
VOID ReleaseS3Context(IN S3_CONTEXT *S3Context)
Definition: BootScript.c:114
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29