Last change
on this file since 109091 was 99404, checked in by vboxsync, 2 years ago |
Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643
|
-
Property svn:eol-style
set to
native
|
File size:
973 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | The header file of SMM access DXE.
|
---|
3 |
|
---|
4 | Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef SMM_ACCESS_DRIVER_H_
|
---|
10 | #define SMM_ACCESS_DRIVER_H_
|
---|
11 |
|
---|
12 | #include <PiDxe.h>
|
---|
13 | #include <Protocol/SmmAccess2.h>
|
---|
14 | #include <Library/HobLib.h>
|
---|
15 | #include <Library/BaseLib.h>
|
---|
16 | #include <Library/UefiBootServicesTableLib.h>
|
---|
17 | #include <Library/DebugLib.h>
|
---|
18 | #include <Library/MemoryAllocationLib.h>
|
---|
19 | #include <Library/BaseMemoryLib.h>
|
---|
20 | #include <Guid/SmramMemoryReserve.h>
|
---|
21 |
|
---|
22 | #define SMM_ACCESS_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('S', 'M', 'M', 'A')
|
---|
23 |
|
---|
24 | typedef struct {
|
---|
25 | UINTN Signature;
|
---|
26 | EFI_HANDLE Handle;
|
---|
27 | EFI_SMM_ACCESS2_PROTOCOL SmmAccess;
|
---|
28 | //
|
---|
29 | // Local Data for SMM Access interface goes here
|
---|
30 | //
|
---|
31 | UINT32 SmmRegionState;
|
---|
32 | UINT32 NumberRegions;
|
---|
33 | EFI_SMRAM_DESCRIPTOR *SmramDesc;
|
---|
34 | } SMM_ACCESS_PRIVATE_DATA;
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.