Last change
on this file 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:
828 bytes
|
Line | |
---|
1 | /** @file
|
---|
2 | Serialize Variables Library implementation
|
---|
3 |
|
---|
4 | Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef __SERIALIZE_VARIABLES_LIB_INSTANCE__
|
---|
10 | #define __SERIALIZE_VARIABLES_LIB_INSTANCE__
|
---|
11 |
|
---|
12 | #include <Uefi.h>
|
---|
13 |
|
---|
14 | #include <Library/BaseLib.h>
|
---|
15 | #include <Library/BaseMemoryLib.h>
|
---|
16 | #include <Library/DebugLib.h>
|
---|
17 | #include <Library/MemoryAllocationLib.h>
|
---|
18 | #include <Library/SerializeVariablesLib.h>
|
---|
19 | #include <Library/UefiBootServicesTableLib.h>
|
---|
20 | #include <Library/UefiRuntimeServicesTableLib.h>
|
---|
21 |
|
---|
22 | #define SV_FROM_HANDLE(a) CR (a, SV_INSTANCE, Signature, SV_SIGNATURE)
|
---|
23 | #define SV_SIGNATURE SIGNATURE_32 ('S', 'V', 'A', 'R')
|
---|
24 |
|
---|
25 | typedef struct {
|
---|
26 | UINT32 Signature;
|
---|
27 | VOID *BufferPtr;
|
---|
28 | UINTN BufferSize;
|
---|
29 | UINTN DataSize;
|
---|
30 | } SV_INSTANCE;
|
---|
31 |
|
---|
32 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.