mirror of https://github.com/acidanthera/audk.git
OvmfPkg/MemEncryptSevLib: sort #includes, and entries in INF file sections
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
This commit is contained in:
parent
68e60a388d
commit
bd13ecf355
|
@ -31,8 +31,8 @@
|
|||
#
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
MdePkg/MdePkg.dec
|
||||
OvmfPkg/OvmfPkg.dec
|
||||
UefiCpuPkg/UefiCpuPkg.dec
|
||||
|
||||
|
@ -42,12 +42,12 @@
|
|||
X64/VirtualMemory.c
|
||||
|
||||
[Sources.IA32]
|
||||
MemEncryptSevLibInternal.c
|
||||
Ia32/MemEncryptSevLib.c
|
||||
MemEncryptSevLibInternal.c
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
CpuLib
|
||||
CacheMaintenanceLib
|
||||
CpuLib
|
||||
DebugLib
|
||||
MemoryAllocationLib
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Amd/Cpuid.h>
|
||||
#include <Register/Amd/Msr.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
|
||||
/**
|
||||
This function clears memory encryption bit for the memory region specified by
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Amd/Cpuid.h>
|
||||
#include <Register/Amd/Msr.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
|
||||
STATIC BOOLEAN mSevStatus = FALSE;
|
||||
STATIC BOOLEAN mSevStatusChecked = FALSE;
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Amd/Cpuid.h>
|
||||
#include <Register/Amd/Msr.h>
|
||||
#include <Library/MemEncryptSevLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
|
||||
#include "VirtualMemory.h"
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
**/
|
||||
|
||||
#include <Library/CpuLib.h>
|
||||
#include <Register/Cpuid.h>
|
||||
#include <Register/Amd/Cpuid.h>
|
||||
#include <Register/Cpuid.h>
|
||||
|
||||
#include "VirtualMemory.h"
|
||||
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
#ifndef __VIRTUAL_MEMORY__
|
||||
#define __VIRTUAL_MEMORY__
|
||||
|
||||
#include <Uefi.h>
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Uefi.h>
|
||||
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
#define SYS_CODE64_SEL 0x38
|
||||
|
||||
#pragma pack(1)
|
||||
|
|
Loading…
Reference in New Issue