You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
Add modules Include, Library, SimicsDxe, SimicsPei, Policy, SmbiosPlatformDxe and SecCore for Simics Quick Start Platform support. Cc: Hao Wu <hao.a.wu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Ankit Sinha <ankit.sinha@intel.com> Cc: Agyeman Prince <prince.agyeman@intel.com> Cc: Kubacki Michael A <michael.a.kubacki@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: David Wei <david.y.wei@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Michael Kubacki <michael.a.kubacki@intel.com>
34 lines
981 B
C
34 lines
981 B
C
/** @file
|
|
Serialize Variables Library implementation
|
|
|
|
Copyright (c) 2009 - 2019 Intel Corporation. All rights reserved. <BR>
|
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
**/
|
|
|
|
#ifndef __SERIALIZE_VARIABLES_LIB_INSTANCE__
|
|
#define __SERIALIZE_VARIABLES_LIB_INSTANCE__
|
|
|
|
#include <Uefi.h>
|
|
|
|
#include <Library/BaseLib.h>
|
|
#include <Library/BaseMemoryLib.h>
|
|
#include <Library/DebugLib.h>
|
|
#include <Library/MemoryAllocationLib.h>
|
|
#include <Library/SerializeVariablesLib.h>
|
|
#include <Library/UefiBootServicesTableLib.h>
|
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
|
|
#define SV_FROM_HANDLE(a) CR (a, SV_INSTANCE, Signature, SV_SIGNATURE)
|
|
#define SV_SIGNATURE SIGNATURE_32 ('S', 'V', 'A', 'R')
|
|
|
|
typedef struct {
|
|
UINT32 Signature;
|
|
VOID *BufferPtr;
|
|
UINTN BufferSize;
|
|
UINTN DataSize;
|
|
} SV_INSTANCE;
|
|
|
|
#endif
|
|
|