summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ppi
diff options
context:
space:
mode:
authorAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-18 20:28:02 +0000
committerAJFISH <AJFISH@6f19259b-4bc3-4df7-8a09-765794883524>2007-06-18 20:28:02 +0000
commit00edb2182b6203a037219c29317ab6362c78b422 (patch)
tree35812fbf442b36bd80270ff0c6ad9f9be4906b92 /MdePkg/Include/Ppi
parent00a8a5bfbb20efde3bedc3329a646209c2d1d6ac (diff)
downloadedk2-platforms-00edb2182b6203a037219c29317ab6362c78b422.tar.xz
Removed tabs and fixed some minor coding style issues. Also fixed typo in EFI_PEI_ENTRY_POINT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2668 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Ppi')
-rw-r--r--MdePkg/Include/Ppi/Decompress.h44
-rw-r--r--MdePkg/Include/Ppi/FirmwareVolume.h176
-rw-r--r--MdePkg/Include/Ppi/FirmwareVolumeInfo.h52
-rw-r--r--MdePkg/Include/Ppi/GuidedSectionExtraction.h66
-rw-r--r--MdePkg/Include/Ppi/LoadFile.h48
-rw-r--r--MdePkg/Include/Ppi/LoadImage.h22
-rw-r--r--MdePkg/Include/Ppi/PciCfg2.h8
-rw-r--r--MdePkg/Include/Ppi/ReadOnlyVariable2.h82
-rw-r--r--MdePkg/Include/Ppi/SecPlatformInformation.h8
-rw-r--r--MdePkg/Include/Ppi/Smbus2.h96
-rw-r--r--MdePkg/Include/Ppi/Stall.h2
-rw-r--r--MdePkg/Include/Ppi/TemporaryRamSupport.h34
12 files changed, 319 insertions, 319 deletions
diff --git a/MdePkg/Include/Ppi/Decompress.h b/MdePkg/Include/Ppi/Decompress.h
index 21ef964c59..097dc9303c 100644
--- a/MdePkg/Include/Ppi/Decompress.h
+++ b/MdePkg/Include/Ppi/Decompress.h
@@ -21,60 +21,60 @@
#define __DECOMPRESS_PPI_H__
#define EFI_PEI_DECOMPRESS_PPI_GUID \
- { 0x1a36e4e7, 0xfab6, 0x476a, { 0x8e, 0x75, 0x69, 0x5a, 0x5, 0x76, 0xfd, 0xd7 } }
+ { 0x1a36e4e7, 0xfab6, 0x476a, { 0x8e, 0x75, 0x69, 0x5a, 0x5, 0x76, 0xfd, 0xd7 } }
-typedef struct _EFI_PEI_DECOMPRESS_PPI EFI_PEI_DECOMPRESS_PPI;;
+typedef struct _EFI_PEI_DECOMPRESS_PPI EFI_PEI_DECOMPRESS_PPI;;
/**
Decompresses the data in a compressed section and returns it
as a series of standard PI Firmware File Sections. The
required memory is allocated from permanent memory.
- @param This Points to this instance of the
- EFI_PEI_DECOMPRESS_PEI PPI. InputSection Points to
- the compressed section.
+ @param This Points to this instance of the
+ EFI_PEI_DECOMPRESS_PEI PPI. InputSection Points to
+ the compressed section.
@param OutputBuffer Holds the returned pointer to the
decompressed sections.
- @param OutputSize Holds the returned size of the decompress
+ @param OutputSize Holds the returned size of the decompress
section streams.
- @retval EFI_SUCCESS The section was decompressed
- successfully. OutputBuffer contains the
- resulting data and OutputSize contains
- the resulting size.
+ @retval EFI_SUCCESS The section was decompressed
+ successfully. OutputBuffer contains the
+ resulting data and OutputSize contains
+ the resulting size.
- @retval EFI_OUT_OF_RESOURCES Unable to allocate sufficient
+ @retval EFI_OUT_OF_RESOURCES Unable to allocate sufficient
memory to hold the decompressed data.
- @retval EFI_UNSUPPORTED The compression type specified
- in the compression header is unsupported.
+ @retval EFI_UNSUPPORTED The compression type specified
+ in the compression header is unsupported.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_DECOMPRESS_DECOMPRESS)(
- IN CONST EFI_PEI_DECOMPRESS_PPI *This,
- IN CONST EFI_COMPRESSION_SECTION *InputSection,
- OUT VOID **OutputBuffer,
- OUT UINTN *OutputSize
+ IN CONST EFI_PEI_DECOMPRESS_PPI *This,
+ IN CONST EFI_COMPRESSION_SECTION *InputSection,
+ OUT VOID **OutputBuffer,
+ OUT UINTN *OutputSize
);
/**
This PPI¡¯s single member function decompresses a compression
- encapsulated section. It is used by the PEI Foundation to
- process sectioned files. Prior to the installation of this PPI,
+ encapsulated section. It is used by the PEI Foundation to
+ process sectioned files. Prior to the installation of this PPI,
compression sections will be ignored.
- @param Decompress Decompress a single compression section in
+ @param Decompress Decompress a single compression section in
a firmware file.
**/
struct _EFI_PEI_DECOMPRESS_PPI {
- EFI_PEI_DECOMPRESS_DECOMPRESS Decompress;
+ EFI_PEI_DECOMPRESS_DECOMPRESS Decompress;
};
-extern EFI_GUID gEfiPeiDecompressPpiGuid;
+extern EFI_GUID gEfiPeiDecompressPpiGuid;
#endif
diff --git a/MdePkg/Include/Ppi/FirmwareVolume.h b/MdePkg/Include/Ppi/FirmwareVolume.h
index 3cafd0c003..953ea6ac60 100644
--- a/MdePkg/Include/Ppi/FirmwareVolume.h
+++ b/MdePkg/Include/Ppi/FirmwareVolume.h
@@ -27,7 +27,7 @@
// EFI_FIRMWARE_FILE_SYSTEM2_GUID is the PI Firmware Volume format.
//
-typedef struct _EFI_PEI_FIRMWARE_VOLUME_PPI EFI_PEI_FIRMWARE_VOLUME_PPI;
+typedef struct _EFI_PEI_FIRMWARE_VOLUME_PPI EFI_PEI_FIRMWARE_VOLUME_PPI;
/**
@@ -40,26 +40,26 @@ typedef struct _EFI_PEI_FIRMWARE_VOLUME_PPI EFI_PEI_FIRMWARE_VOLUME_PPI;
from the EFI_FIRMWARE_VOLUME_INFO_PPI.
- @param This Points to this instance of the
+ @param This Points to this instance of the
EFI_PEI_FIRMWARE_VOLUME_PPI
- @param Buffer Points to the start of the buffer.
- @param BufferSize Size of the buffer.
- @param FvHandle Points to the returned firmware volume
+ @param Buffer Points to the start of the buffer.
+ @param BufferSize Size of the buffer.
+ @param FvHandle Points to the returned firmware volume
handle. The firmware volume handle must
be unique within the system.
- @retval EFI_SUCCESS Firmware volume handle.
- @retval EFI_VOLUME_CORRUPTED Volume was corrupt.
+ @retval EFI_SUCCESS Firmware volume handle.
+ @retval EFI_VOLUME_CORRUPTED Volume was corrupt.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FV_PROCESS_FV) (
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST VOID *Buffer,
- IN CONST UINTN BufferSize,
- OUT EFI_PEI_FV_HANDLE *FvHandle
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST VOID *Buffer,
+ IN CONST UINTN BufferSize,
+ OUT EFI_PEI_FV_HANDLE *FvHandle
);
@@ -73,76 +73,76 @@ EFI_STATUS
from the EFI_FIRMWARE_VOLUME_INFO_PPI.
- @param This Points to this instance of the
+ @param This Points to this instance of the
EFI_PEI_FIRMWARE_VOLUME_PPI
- @param Buffer Points to the start of the buffer.
- @param BufferSize Size of the buffer.
- @param FvHandle Points to the returned firmware volume
+ @param Buffer Points to the start of the buffer.
+ @param BufferSize Size of the buffer.
+ @param FvHandle Points to the returned firmware volume
handle. The firmware volume handle must
be unique within the system.
- @retval EFI_SUCCESS Firmware volume handle.
- @retval EFI_VOLUME_CORRUPTED Volume was corrupt.
+ @retval EFI_SUCCESS Firmware volume handle.
+ @retval EFI_VOLUME_CORRUPTED Volume was corrupt.
**/
/**
This service enables PEI modules to discover additional firmware files. The FileHandle must be
- unique within the system.
+ unique within the system.
- @param This Points to this instance of the
- EFI_PEI_FIRMWARE_VOLUME_PPI. SearchType A filter
- to find only files of this type. Type
- EFI_FV_FILETYPE_ALL causes no filtering to be
- done.
- @param FvHandle Handle of firmware volume in which to
- search.
+ @param This Points to this instance of the
+ EFI_PEI_FIRMWARE_VOLUME_PPI. SearchType A filter
+ to find only files of this type. Type
+ EFI_FV_FILETYPE_ALL causes no filtering to be
+ done.
+ @param FvHandle Handle of firmware volume in which to
+ search.
- @param FileHandle Points to the current handle from which to
+ @param FileHandle Points to the current handle from which to
begin searching or NULL to start at the
beginning of the firmware volume. Updated
upon return to reflect the file found.
- @retval EFI_SUCCESS The file was found.
+ @retval EFI_SUCCESS The file was found.
@retval EFI_NOT_FOUND The file was not found. FileHandle
- contains NULL.
+ contains NULL.
**/
typedef EFI_STATUS
(EFIAPI *EFI_PEI_FV_FIND_FILE_TYPE) (
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST EFI_FV_FILETYPE SearchType,
- IN CONST EFI_PEI_FV_HANDLE FvHandle,
- IN OUT EFI_PEI_FILE_HANDLE *FileHandle
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST EFI_FV_FILETYPE SearchType,
+ IN CONST EFI_PEI_FV_HANDLE FvHandle,
+ IN OUT EFI_PEI_FILE_HANDLE *FileHandle
);
/**
- This service searches for files with a specific name, within
- either the specified firmware volume or all firmware volumes.
+ This service searches for files with a specific name, within
+ either the specified firmware volume or all firmware volumes.
@param This Points to this instance of the
EFI_PEI_FIRMWARE_VOLUME_PPI.
- @param FileName A pointer to the name of the file to find
+ @param FileName A pointer to the name of the file to find
within the firmware volume.
- @param FvHandle Upon entry, the pointer to the firmware
+ @param FvHandle Upon entry, the pointer to the firmware
volume to search or NULL if all firmware
volumes should be searched. Upon exit, the
actual firmware volume in which the file was
found.
- @param FileHandle Upon exit, points to the found file's
+ @param FileHandle Upon exit, points to the found file's
handle or NULL if it could not be found.
- @retval EFI_SUCCESS File was found.
+ @retval EFI_SUCCESS File was found.
- @param EFI_NOT_FOUND File was not found.
+ @param EFI_NOT_FOUND File was not found.
- @param EFI_INVALID_PARAMETER FvHandle or FileHandle or
+ @param EFI_INVALID_PARAMETER FvHandle or FileHandle or
FileName was NULL.
@@ -150,29 +150,29 @@ typedef EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FV_FIND_FILE_NAME) (
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST EFI_GUID *FileName,
- IN CONST EFI_PEI_FV_HANDLE FvHandle,
- OUT EFI_PEI_FILE_HANDLE *FileHandle
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST EFI_GUID *FileName,
+ IN CONST EFI_PEI_FV_HANDLE FvHandle,
+ OUT EFI_PEI_FILE_HANDLE *FileHandle
);
/**
This function returns information about a specific
- file, including its file name, type, attributes, starting
+ file, including its file name, type, attributes, starting
address and size.
- @param This Points to this instance of the
- EFI_PEI_FIRMWARE_VOLUME_PPI.
+ @param This Points to this instance of the
+ EFI_PEI_FIRMWARE_VOLUME_PPI.
@param FileHandle Handle of the file.
- @param FileInfo Upon exit, points to the file????s
- information.
+ @param FileInfo Upon exit, points to the file????s
+ information.
- @retval EFI_SUCCESS File information returned.
+ @retval EFI_SUCCESS File information returned.
- @retval EFI_INVALID_PARAMETER If FileHandle does not
+ @retval EFI_INVALID_PARAMETER If FileHandle does not
represent a valid file.
EFI_INVALID_PARAMETER If
FileInfo is NULL
@@ -181,88 +181,88 @@ EFI_STATUS
typedef
EFI_STATUS (EFIAPI *EFI_PEI_FV_GET_FILE_INFO) (
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST EFI_PEI_FILE_HANDLE FileHandle,
- OUT EFI_FV_FILE_INFO *FileInfo
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST EFI_PEI_FILE_HANDLE FileHandle,
+ OUT EFI_FV_FILE_INFO *FileInfo
);
/**
- This function returns information about the firmware
+ This function returns information about the firmware
volume.
- @param This Points to this instance of the
- EFI_PEI_FIRMWARE_VOLUME_PPI.
+ @param This Points to this instance of the
+ EFI_PEI_FIRMWARE_VOLUME_PPI.
- @param FvHandle Handle to the firmware handle.
+ @param FvHandle Handle to the firmware handle.
@param VolumeInfo Points to the returned firmware volume
information.
- @retval EFI_SUCCESS Information returned
+ @retval EFI_SUCCESS Information returned
successfully.
- @retval EFI_INVALID_PARAMETER FvHandle does not indicate a
- valid firmware volume or VolumeInfo is NULL
+ @retval EFI_INVALID_PARAMETER FvHandle does not indicate a
+ valid firmware volume or VolumeInfo is NULL
**/
typedef
EFI_STATUS (EFIAPI *EFI_PEI_FV_GET_INFO)(
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST EFI_PEI_FV_HANDLE FvHandle,
- OUT EFI_FV_INFO *VolumeInfo
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST EFI_PEI_FV_HANDLE FvHandle,
+ OUT EFI_FV_INFO *VolumeInfo
);
/**
This service enables PEI modules to discover sections of a given type within a valid file.
- @param This Points to this instance of the
+ @param This Points to this instance of the
EFI_PEI_FIRMWARE_VOLUME_PPI.
- @param SearchType A filter to find only sections of this
+ @param SearchType A filter to find only sections of this
type.
- @param FileHandle Handle of firmware file in which to
+ @param FileHandle Handle of firmware file in which to
search.
@param SectionData Updated upon return to point to the
section found.
- @retval EFI_SUCCESS Section was found.
+ @retval EFI_SUCCESS Section was found.
- @retval EFI_NOT_FOUND Section of the specified type was not
- found. SectionData contains NULL.
+ @retval EFI_NOT_FOUND Section of the specified type was not
+ found. SectionData contains NULL.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_FV_FIND_SECTION) (
- IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
- IN CONST EFI_SECTION_TYPE SearchType,
- IN CONST EFI_PEI_FILE_HANDLE FileHandle,
- OUT VOID **SectionData
+ IN CONST EFI_PEI_FIRMWARE_VOLUME_PPI *This,
+ IN CONST EFI_SECTION_TYPE SearchType,
+ IN CONST EFI_PEI_FILE_HANDLE FileHandle,
+ OUT VOID **SectionData
);
/*
- This PPI provides functions for accessing a memory-mapped firmware volume of a specific format.
+ This PPI provides functions for accessing a memory-mapped firmware volume of a specific format.
- @param ProcessVolume Process a firmware volume and create a volume handle.
- @param FindFileByType Find all files of a specific type.
- @param FindFileByName Find the file with a specific name.
- @param GetFileInfo Return the information about a specific file
- @param GetVolumeInfo Return the firmware volume attributes.
- @param FindSectionByType Find all sections of a specific type.
+ @param ProcessVolume Process a firmware volume and create a volume handle.
+ @param FindFileByType Find all files of a specific type.
+ @param FindFileByName Find the file with a specific name.
+ @param GetFileInfo Return the information about a specific file
+ @param GetVolumeInfo Return the firmware volume attributes.
+ @param FindSectionByType Find all sections of a specific type.
**/
struct _EFI_PEI_FIRMWARE_VOLUME_PPI {
- EFI_PEI_FV_PROCESS_FV ProcessVolume;
- EFI_PEI_FV_FIND_FILE_TYPE FindFileByType;
- EFI_PEI_FV_FIND_FILE_NAME FindFileByName;
- EFI_PEI_FV_GET_FILE_INFO GetFileInfo;
- EFI_PEI_FV_GET_INFO GetVolumeInfo;
- EFI_PEI_FV_FIND_SECTION FindSectionByType;
+ EFI_PEI_FV_PROCESS_FV ProcessVolume;
+ EFI_PEI_FV_FIND_FILE_TYPE FindFileByType;
+ EFI_PEI_FV_FIND_FILE_NAME FindFileByName;
+ EFI_PEI_FV_GET_FILE_INFO GetFileInfo;
+ EFI_PEI_FV_GET_INFO GetVolumeInfo;
+ EFI_PEI_FV_FIND_SECTION FindSectionByType;
} ;
-extern EFI_GUID gEfiPeiFirmwareVolumePpiGuid;
+extern EFI_GUID gEfiPeiFirmwareVolumePpiGuid;
#endif
diff --git a/MdePkg/Include/Ppi/FirmwareVolumeInfo.h b/MdePkg/Include/Ppi/FirmwareVolumeInfo.h
index 7f8698d077..a95addf315 100644
--- a/MdePkg/Include/Ppi/FirmwareVolumeInfo.h
+++ b/MdePkg/Include/Ppi/FirmwareVolumeInfo.h
@@ -26,44 +26,44 @@
#define EFI_PEI_FIRMWARE_VOLUME_INFO_PPI_GUID \
{ 0x49edb1c1, 0xbf21, 0x4761, { 0xbb, 0x12, 0xeb, 0x0, 0x31, 0xaa, 0xbb, 0x39 } }
-typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;
+typedef struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI EFI_PEI_FIRMWARE_VOLUME_INFO_PPI;
/**
- This PPI describes the location and format of a firmware volume.
- The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for
- a user-defined format. The EFI_FIRMWARE_FILE_SYSTEM2_GUID is
- the PI Firmware Volume format.
+ This PPI describes the location and format of a firmware volume.
+ The FvFormat can be EFI_FIRMWARE_FILE_SYSTEM2_GUID or the GUID for
+ a user-defined format. The EFI_FIRMWARE_FILE_SYSTEM2_GUID is
+ the PI Firmware Volume format.
- @param FvFormat Unique identifier of the format of the memory-mapped firmware volume.
+ @param FvFormat Unique identifier of the format of the memory-mapped firmware volume.
- @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to
- process the volume. The format of this buffer is
- specific to the FvFormat. For memory-mapped firmware volumes,
- this typically points to the first byte of the firmware volume.
+ @param FvInfo Points to a buffer which allows the EFI_PEI_FIRMWARE_VOLUME_PPI to
+ process the volume. The format of this buffer is
+ specific to the FvFormat. For memory-mapped firmware volumes,
+ this typically points to the first byte of the firmware volume.
- @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes,
- this is typically the size of the firmware volume.
+ @param FvInfoSize Size of the data provided by FvInfo. For memory-mapped firmware volumes,
+ this is typically the size of the firmware volume.
- @param ParentFvName If the firmware volume originally came from a firmware file,
- then these point to the parent firmware volume
- name and firmware volume file. If it did not originally come
- from a firmware file, these should be NULL.
+ @param ParentFvName If the firmware volume originally came from a firmware file,
+ then these point to the parent firmware volume
+ name and firmware volume file. If it did not originally come
+ from a firmware file, these should be NULL.
- @param ParentFileName If the firmware volume originally came from a firmware file,
- then these point to the parent firmware volume
- name and firmware volume file. If it did not originally come
- from a firmware file, these should be NULL.
+ @param ParentFileName If the firmware volume originally came from a firmware file,
+ then these point to the parent firmware volume
+ name and firmware volume file. If it did not originally come
+ from a firmware file, these should be NULL.
**/
struct _EFI_PEI_FIRMWARE_VOLUME_INFO_PPI {
- EFI_GUID FvFormat;
- VOID *FvInfo;
- UINT32 FvInfoSize;
- EFI_GUID *ParentFvName;
- EFI_GUID *ParentFileName;
+ EFI_GUID FvFormat;
+ VOID *FvInfo;
+ UINT32 FvInfoSize;
+ EFI_GUID *ParentFvName;
+ EFI_GUID *ParentFileName;
};
-extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;
+extern EFI_GUID gEfiPeiFirmwareVolumeInfoPpiGuid;
#endif
diff --git a/MdePkg/Include/Ppi/GuidedSectionExtraction.h b/MdePkg/Include/Ppi/GuidedSectionExtraction.h
index bf1716e4eb..796f8cede9 100644
--- a/MdePkg/Include/Ppi/GuidedSectionExtraction.h
+++ b/MdePkg/Include/Ppi/GuidedSectionExtraction.h
@@ -1,8 +1,8 @@
/* @file
If a GUID-defined section is encountered when doing section extraction,
- the PEI Foundation or the EFI_PEI_FILE_LOADER_PPI instance
- calls the appropriate instance of the GUIDed Section Extraction PPI
- to extract the section stream contained therein..
+ the PEI Foundation or the EFI_PEI_FILE_LOADER_PPI instance
+ calls the appropriate instance of the GUIDed Section Extraction PPI
+ to extract the section stream contained therein..
Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -37,40 +37,40 @@
//
-typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI;
+typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI;
//
// Bit values for AuthenticationStatus
//
-#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE 0x01
-#define EFI_AUTH_STATUS_IMAGE_SIGNED 0x02
-#define EFI_AUTH_STATUS_NOT_TESTED 0x04
-#define EFI_AUTH_STATUS_TEST_FAILED 0x08
+#define EFI_AUTH_STATUS_PLATFORM_OVERRIDE 0x01
+#define EFI_AUTH_STATUS_IMAGE_SIGNED 0x02
+#define EFI_AUTH_STATUS_NOT_TESTED 0x04
+#define EFI_AUTH_STATUS_TEST_FAILED 0x08
/**
The ExtractSection() function processes the input section and
- returns a pointer to the section contents. If the section being
+ returns a pointer to the section contents. If the section being
extracted does not require processing (if the section
- GuidedSectionHeader.Attributes has the
- EFI_GUIDED_SECTION_PROCESSING_REQUIRED field cleared), then
- OutputBuffer is just updated to point to the start of the
+ GuidedSectionHeader.Attributes has the
+ EFI_GUIDED_SECTION_PROCESSING_REQUIRED field cleared), then
+ OutputBuffer is just updated to point to the start of the
section's contents. Otherwise, *Buffer must be allocated
from PEI permanent memory.
- @param This Indicates the
- EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI instance.
- Buffer containing the input GUIDed section to be
- processed. OutputBuffer OutputBuffer is
- allocated from PEI permanent memory and contains
- the new section stream.
+ @param This Indicates the
+ EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI instance.
+ Buffer containing the input GUIDed section to be
+ processed. OutputBuffer OutputBuffer is
+ allocated from PEI permanent memory and contains
+ the new section stream.
- @param OutputSize A pointer to a caller-allocated
- UINTN in which the size of *OutputBuffer
- allocation is stored. If the function
- returns anything other than EFI_SUCCESS,
- the value of OutputSize is undefined.
+ @param OutputSize A pointer to a caller-allocated
+ UINTN in which the size of *OutputBuffer
+ allocation is stored. If the function
+ returns anything other than EFI_SUCCESS,
+ the value of OutputSize is undefined.
- @param AuthenticationStatus A pointer to a caller-allocated
+ @param AuthenticationStatus A pointer to a caller-allocated
UINT32 that indicates the
authentication status of the
output buffer. If the input
@@ -87,11 +87,11 @@ typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI EFI_PEI_GUIDED_SECTION_EX
AuthenticationStatus is
undefined.
- @retval EFI_SUCCESS The InputSection was
+ @retval EFI_SUCCESS The InputSection was
successfully processed and the
section contents were returned.
- @retval EFI_OUT_OF_RESOURCES The system has insufficient
+ @retval EFI_OUT_OF_RESOURCES The system has insufficient
resources to process the request.
@reteval EFI_INVALID_PARAMETER The GUID in InputSection does
@@ -101,11 +101,11 @@ typedef struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI EFI_PEI_GUIDED_SECTION_EX
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_EXTRACT_GUIDED_SECTION)(
- IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,
- IN CONST VOID *InputSection,
- OUT VOID **OutputBuffer,
- OUT UINTN *OutputSize,
- OUT UINT32 *AuthenticationStatus
+ IN CONST EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI *This,
+ IN CONST VOID *InputSection,
+ OUT VOID **OutputBuffer,
+ OUT UINTN *OutputSize,
+ OUT UINT32 *AuthenticationStatus
);
@@ -118,14 +118,14 @@ EFI_STATUS
therein.
- @param ExtractSection Takes the GUIDed section as input and
+ @param ExtractSection Takes the GUIDed section as input and
produces the section stream data. See
the ExtractSection() function
description.
**/
struct _EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI {
- EFI_PEI_EXTRACT_GUIDED_SECTION ExtractSection;
+ EFI_PEI_EXTRACT_GUIDED_SECTION ExtractSection;
};
diff --git a/MdePkg/Include/Ppi/LoadFile.h b/MdePkg/Include/Ppi/LoadFile.h
index 0417221665..2d00ae6278 100644
--- a/MdePkg/Include/Ppi/LoadFile.h
+++ b/MdePkg/Include/Ppi/LoadFile.h
@@ -21,32 +21,32 @@
#define __FV_FILE_LOADER_PPI_H__
#define EFI_PEI_LOAD_FILE_PPI_GUID \
- { 0xb9e0abfe, 0x5979, 0x4914, { 0x97, 0x7f, 0x6d, 0xee, 0x78, 0xc2, 0x78, 0xa6 } }
+ { 0xb9e0abfe, 0x5979, 0x4914, { 0x97, 0x7f, 0x6d, 0xee, 0x78, 0xc2, 0x78, 0xa6 } }
-typedef struct _EFI_PEI_LOAD_FILE_PPI EFI_PEI_LOAD_FILE_PPI;
+typedef struct _EFI_PEI_LOAD_FILE_PPI EFI_PEI_LOAD_FILE_PPI;
/**
This service is the single member function of EFI_LOAD_FILE_PPI. This service separates
image loading and relocating from the PEI Foundation.
- @param This Interface pointer that implements
+ @param This Interface pointer that implements
the Load File PPI instance.
- @param FileHandle File handle of the file to load.
- Type EFI_PEI_FILE_HANDLE is defined in
- FfsFindNextFile().
+ @param FileHandle File handle of the file to load.
+ Type EFI_PEI_FILE_HANDLE is defined in
+ FfsFindNextFile().
- @param ImageAddress Pointer to the address of the
- loaded image.
+ @param ImageAddress Pointer to the address of the
+ loaded image.
- @param ImageSize Pointer to the size of the loaded
+ @param ImageSize Pointer to the size of the loaded
image.
- @param EntryPoint Pointer to the entry point of the
+ @param EntryPoint Pointer to the entry point of the
image.
- @param AuthenticationState On exit, points to the attestation
+ @param AuthenticationState On exit, points to the attestation
authentication state of the image
or 0 if no attestation was
performed. The format of
@@ -54,29 +54,29 @@ typedef struct _EFI_PEI_LOAD_FILE_PPI EFI_PEI_LOAD_FILE_PPI;
EFI_PEI_GUIDED_SECTION_EXTRACTION_PPI.ExtractSection()
- @retval EFI_SUCCESS The image was loaded successfully.
+ @retval EFI_SUCCESS The image was loaded successfully.
- @retval EFI_OUT_OF_RESOURCES There was not enough memory.
+ @retval EFI_OUT_OF_RESOURCES There was not enough memory.
- @retval EFI_LOAD_ERROR There was no supported image in
+ @retval EFI_LOAD_ERROR There was no supported image in
the file EFI_INVALID_PARAMETER
FileHandle was not a valid
firmware file handle.
- @retval EFI_INVALID_PARAMETER EntryPoint was NULL.
+ @retval EFI_INVALID_PARAMETER EntryPoint was NULL.
- @retval EFI_NOT_SUPPORTED An image requires relocations or
- is not memory mapped.
+ @retval EFI_NOT_SUPPORTED An image requires relocations or
+ is not memory mapped.
**/
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_LOAD_FILE) (
- IN CONST EFI_PEI_LOAD_FILE_PPI *This,
- IN CONST EFI_PEI_FILE_HANDLE FileHandle,
- OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
- OUT UINT64 *ImageSize,
- OUT EFI_PHYSICAL_ADDRESS *EntryPoint,
- OUT UINT32 *AuthenticationState
+ IN CONST EFI_PEI_LOAD_FILE_PPI *This,
+ IN CONST EFI_PEI_FILE_HANDLE FileHandle,
+ OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
+ OUT UINT64 *ImageSize,
+ OUT EFI_PHYSICAL_ADDRESS *EntryPoint,
+ OUT UINT32 *AuthenticationState
);
@@ -92,7 +92,7 @@ EFI_STATUS
**/
struct _EFI_PEI_LOAD_FILE_PPI {
- EFI_PEI_LOAD_FILE LoadFile;
+ EFI_PEI_LOAD_FILE LoadFile;
};
diff --git a/MdePkg/Include/Ppi/LoadImage.h b/MdePkg/Include/Ppi/LoadImage.h
index 40fc7ea289..eef7bae32c 100644
--- a/MdePkg/Include/Ppi/LoadImage.h
+++ b/MdePkg/Include/Ppi/LoadImage.h
@@ -1,6 +1,6 @@
/* @file
The file descript the PPI which notifies other drivers
- of the PEIM being initialized by the PEI Dispatcher.
+ of the PEIM being initialized by the PEI Dispatcher.
Copyright (c) 2006 - 2007, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -23,28 +23,28 @@
#define __LOADED_IMAGE_PPI_H__
#define EFI_PEI_LOADED_IMAGE_PPI_GUID \
- { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }
+ { 0xc1fcd448, 0x6300, 0x4458, { 0xb8, 0x64, 0x28, 0xdf, 0x1, 0x53, 0x64, 0xbc } }
-typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
+typedef struct _EFI_PEI_LOADED_IMAGE_PPI EFI_PEI_LOADED_IMAGE_PPI;
/*
- This interface is installed by the PEI Dispatcher after the image has been
- loaded and after all security checks have been performed,
- to notify other PEIMs of the files which are being loaded.
+ This interface is installed by the PEI Dispatcher after the image has been
+ loaded and after all security checks have been performed,
+ to notify other PEIMs of the files which are being loaded.
@param ImageAddress Address of the image at the address where it will be executed.
@param ImageSize Size of the image as it will be executed.
- @param FileHandle File handle from which the image was loaded. Can be NULL,
- indicating the image was not loaded from a handle.
+ @param FileHandle File handle from which the image was loaded. Can be NULL,
+ indicating the image was not loaded from a handle.
**/
struct _EFI_PEI_LOADED_IMAGE_PPI {
- EFI_PHYSICAL_ADDRESS ImageAddress;
- UINT64 ImageSize;
- EFI_PEI_FILE_HANDLE FileHandle;
+ EFI_PHYSICAL_ADDRESS ImageAddress;
+ UINT64 ImageSize;
+ EFI_PEI_FILE_HANDLE FileHandle;
};
diff --git a/MdePkg/Include/Ppi/PciCfg2.h b/MdePkg/Include/Ppi/PciCfg2.h
index c778e69a49..ed3ba80231 100644
--- a/MdePkg/Include/Ppi/PciCfg2.h
+++ b/MdePkg/Include/Ppi/PciCfg2.h
@@ -83,10 +83,10 @@ typedef struct {
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_PCI_CFG_PPI_IO) (
- IN CONST EFI_PEI_SERVICES **PeiServices,
- IN CONST EFI_PEI_PCI_CFG2_PPI *This,
- IN CONST EFI_PEI_PCI_CFG_PPI_WIDTH Width,
- IN CONST UINT64 Address,
+ IN CONST EFI_PEI_SERVICES **PeiServices,
+ IN CONST EFI_PEI_PCI_CFG2_PPI *This,
+ IN CONST EFI_PEI_PCI_CFG_PPI_WIDTH Width,
+ IN CONST UINT64 Address,
IN OUT VOID *Buffer
);
diff --git a/MdePkg/Include/Ppi/ReadOnlyVariable2.h b/MdePkg/Include/Ppi/ReadOnlyVariable2.h
index fb76ce2984..fc7bf8eec8 100644
--- a/MdePkg/Include/Ppi/ReadOnlyVariable2.h
+++ b/MdePkg/Include/Ppi/ReadOnlyVariable2.h
@@ -22,31 +22,31 @@
#define __PEI_READ_ONLY_VARIABLE2_PPI_H__
#define EFI_PEI_READ_ONLY_VARIABLE2_PPI_GUID \
- { 0x2ab86ef5, 0xecb5, 0x4134, { 0xb5, 0x56, 0x38, 0x54, 0xca, 0x1f, 0xe1, 0xb4 } }
+ { 0x2ab86ef5, 0xecb5, 0x4134, { 0xb5, 0x56, 0x38, 0x54, 0xca, 0x1f, 0xe1, 0xb4 } }
typedef struct _EFI_PEI_READ_ONLY_VARIABLE2_PPI EFI_PEI_READ_ONLY_VARIABLE2_PPI;
/**
Read the specified variable from the UEFI variable store. If the Data
- buffer is too small to hold the contents of the variable,
- the error EFI_BUFFER_TOO_SMALL is returned and DataSize is set to the
- required buffer size to obtain the data.
+ buffer is too small to hold the contents of the variable,
+ the error EFI_BUFFER_TOO_SMALL is returned and DataSize is set to the
+ required buffer size to obtain the data.
- @param This A pointer to this instance of the EFI_PEI_READ_ONLY_VARIABLE2_PPI.
+ @param This A pointer to this instance of the EFI_PEI_READ_ONLY_VARIABLE2_PPI.
- @param VariableName A pointer to a null-terminated string that is the variable¡¯s name.
+ @param VariableName A pointer to a null-terminated string that is the variable¡¯s name.
- @param VendorGuid A pointer to an EFI_GUID that is the variable¡¯s GUID. The combination of
- VariableGuid and VariableName must be unique.
+ @param VendorGuid A pointer to an EFI_GUID that is the variable¡¯s GUID. The combination of
+ VariableGuid and VariableName must be unique.
- @param Attributes If non-NULL, on return, points to the variable¡¯s attributes. See ¡°Related Definitons¡±
- below for possible attribute values.
+ @param Attributes If non-NULL, on return, points to the variable¡¯s attributes. See ¡°Related Definitons¡±
+ below for possible attribute values.
- @param DataSize On entry, points to the size in bytes of the Data buffer. On return, points to the size of
- the data returned in Data.
+ @param DataSize On entry, points to the size in bytes of the Data buffer. On return, points to the size of
+ the data returned in Data.
- @param Data Points to the buffer which will hold the returned variable value.
+ @param Data Points to the buffer which will hold the returned variable value.
@retval EFI_SUCCESS The function completed successfully.
@@ -54,8 +54,8 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE2_PPI EFI_PEI_READ_ONLY_VARIABLE2_PPI
@retval EFI_NOT_FOUND The variable was not found.
@retval EFI_BUFFER_TOO_SMALL The DataSize is too small for the resulting data.
- DataSize is updated with the size required for
- the specified variable.
+ DataSize is updated with the size required for
+ the specified variable.
@retval EFI_INVALID_PARAMETER VariableName, VariableGuid, DataSize or Data is NULL.
@@ -65,32 +65,32 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE2_PPI EFI_PEI_READ_ONLY_VARIABLE2_PPI
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_GET_VARIABLE2)(
- IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This,
- IN CONST CHAR16 *VariableName,
- IN CONST EFI_GUID *VariableGuid,
- OUT UINT32 *Attributes,
- IN OUT UINTN *DataSize,
- OUT VOID *Data
+ IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This,
+ IN CONST CHAR16 *VariableName,
+ IN CONST EFI_GUID *VariableGuid,
+ OUT UINT32 *Attributes,
+ IN OUT UINTN *DataSize,
+ OUT VOID *Data
);
/**
This function is called multiple times to retrieve the VariableName
- and VariableGuid of all variables currently available in the system.
- On each call, the previous results are passed into the interface,
- and, on return, the interface returns the data for the next
- interface. When the entire variable list has been returned,
- EFI_NOT_FOUND is returned.
+ and VariableGuid of all variables currently available in the system.
+ On each call, the previous results are passed into the interface,
+ and, on return, the interface returns the data for the next
+ interface. When the entire variable list has been returned,
+ EFI_NOT_FOUND is returned.
- @param This A pointer to this instance of the EFI_PEI_READ_ONLY_VARIABLE2_PPI.
+ @param This A pointer to this instance of the EFI_PEI_READ_ONLY_VARIABLE2_PPI.
- @param VariableNameSize On entry, points to the size of the buffer pointed to by VariableName.
+ @param VariableNameSize On entry, points to the size of the buffer pointed to by VariableName.
- @param VariableName On entry, a pointer to a null-terminated string that is the variable¡¯s name.
- On return, points to the next variable¡¯s null-terminated name string.
+ @param VariableName On entry, a pointer to a null-terminated string that is the variable¡¯s name.
+ On return, points to the next variable¡¯s null-terminated name string.
- @param VendorGuid On entry, a pointer to an UEFI _GUID that is the variable¡¯s GUID.
- On return, a pointer to the next variable¡¯s GUID.
+ @param VendorGuid On entry, a pointer to an UEFI _GUID that is the variable¡¯s GUID.
+ On return, a pointer to the next variable¡¯s GUID.
@retval EFI_SUCCESS The variable was read successfully.
@@ -98,11 +98,11 @@ EFI_STATUS
@retval EFI_NOT_FOUND The variable could not be found.
@retval EFI_BUFFER_TOO_SMALL The VariableNameSize is too small for the resulting
- data. VariableNameSize is updated with the size
- required for the specified variable.
+ data. VariableNameSize is updated with the size
+ required for the specified variable.
@retval EFI_INVALID_PARAMETER VariableName, VariableGuid or
- VariableNameSize is NULL.
+ VariableNameSize is NULL.
@retval EFI_DEVICE_ERROR The variable could not be retrieved because of a device error.
@@ -110,10 +110,10 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_NEXT_VARIABLE_NAME2) (
- IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This,
- IN OUT UINTN *VariableNameSize,
- IN OUT CHAR16 *VariableName,
- IN OUT EFI_GUID *VariableGuid
+ IN CONST EFI_PEI_READ_ONLY_VARIABLE2_PPI *This,
+ IN OUT UINTN *VariableNameSize,
+ IN OUT CHAR16 *VariableName,
+ IN OUT EFI_GUID *VariableGuid
);
/**
@@ -128,8 +128,8 @@ EFI_STATUS
**/
struct _EFI_PEI_READ_ONLY_VARIABLE2_PPI {
- EFI_PEI_GET_VARIABLE2 GetVariable;
- EFI_PEI_NEXT_VARIABLE_NAME2 NextVariableName;
+ EFI_PEI_GET_VARIABLE2 GetVariable;
+ EFI_PEI_NEXT_VARIABLE_NAME2 NextVariableName;
};
extern EFI_GUID gEfiPeiReadOnlyVariable2PpiGuid;
diff --git a/MdePkg/Include/Ppi/SecPlatformInformation.h b/MdePkg/Include/Ppi/SecPlatformInformation.h
index ce4dda60b5..da75ad89f2 100644
--- a/MdePkg/Include/Ppi/SecPlatformInformation.h
+++ b/MdePkg/Include/Ppi/SecPlatformInformation.h
@@ -66,14 +66,14 @@ typedef struct {
typedef
EFI_STATUS
(EFIAPI *EFI_SEC_PLATFORM_INFORMATION) (
- IN CONST EFI_PEI_SERVICES **PeiServices,
- IN OUT UINT64 *StructureSize,
- OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord
+ IN CONST EFI_PEI_SERVICES **PeiServices,
+ IN OUT UINT64 *StructureSize,
+ OUT EFI_SEC_PLATFORM_INFORMATION_RECORD *PlatformInformationRecord
);
/**
- Ppi Description:
+ Ppi Description:
@param Name
diff --git a/MdePkg/Include/Ppi/Smbus2.h b/MdePkg/Include/Ppi/Smbus2.h
index b5e2631aa2..42246e10f2 100644
--- a/MdePkg/Include/Ppi/Smbus2.h
+++ b/MdePkg/Include/Ppi/Smbus2.h
@@ -24,7 +24,7 @@
#include <IndustryStandard/SmBus.h>
#define EFI_PEI_SMBUS2_PPI_GUID \
- { 0x9ca93627, 0xb65b, 0x4324, { 0xa2, 0x2, 0xc0, 0xb4, 0x61, 0x76, 0x45, 0x43 } }
+ { 0x9ca93627, 0xb65b, 0x4324, { 0xa2, 0x2, 0xc0, 0xb4, 0x61, 0x76, 0x45, 0x43 } }
typedef struct _EFI_PEI_SMBUS2_PPI EFI_PEI_SMBUS2_PPI;
@@ -32,36 +32,36 @@ typedef struct _EFI_PEI_SMBUS2_PPI EFI_PEI_SMBUS2_PPI;
//
// EFI_SMBUS_DEVICE_COMMAND
//
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
+typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
/*
Executes an SMBus operation to an SMBus controller.
- @param This A pointer to the EFI_PEI_SMBUS2_PPI instance.
- @param SlaveAddress The SMBUS hardware address to which the SMBUS device is preassigned or
- allocated.
- @param Command This command is transmitted by the SMBus host controller to the SMBus slave
- device and the interpretation is SMBus slave device specific.
- It can mean the offset to a list of functions inside
- an SMBus slave device. Not all operations or slave devices support
- this command's registers.
+ @param This A pointer to the EFI_PEI_SMBUS2_PPI instance.
+ @param SlaveAddress The SMBUS hardware address to which the SMBUS device is preassigned or
+ allocated.
+ @param Command This command is transmitted by the SMBus host controller to the SMBus slave
+ device and the interpretation is SMBus slave device specific.
+ It can mean the offset to a list of functions inside
+ an SMBus slave device. Not all operations or slave devices support
+ this command's registers.
- @param Operation Signifies which particular SMBus hardware protocol instance that it
- will use to execute the SMBus transactions.
- This SMBus hardware protocol is defined by the System Management Bus (SMBus)
- Specification and is not related to UEFI.
+ @param Operation Signifies which particular SMBus hardware protocol instance that it
+ will use to execute the SMBus transactions.
+ This SMBus hardware protocol is defined by the System Management Bus (SMBus)
+ Specification and is not related to UEFI.
- @param PecCheck Defines if Packet Error Code (PEC) checking is required for this operation.
+ @param PecCheck Defines if Packet Error Code (PEC) checking is required for this operation.
- @param Length Signifies the number of bytes that this operation will do.
- The maximum number of bytes can be revision specific and operation specific.
- This parameter will contain the actual number of bytes that are executed
- for this operation. Not all operations require this argument.
+ @param Length Signifies the number of bytes that this operation will do.
+ The maximum number of bytes can be revision specific and operation specific.
+ This parameter will contain the actual number of bytes that are executed
+ for this operation. Not all operations require this argument.
- @param Buffer Contains the value of data to execute to the SMBus slave device.
- Not all operations require this argument.
- The length of this buffer is identified by Length.
+ @param Buffer Contains the value of data to execute to the SMBus slave device.
+ Not all operations require this argument.
+ The length of this buffer is identified by Length.
@retval EFI_SUCCESS The last data that was returned from the access
@@ -83,13 +83,13 @@ typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION) (
- IN CONST EFI_PEI_SMBUS2_PPI *This,
- IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
- IN CONST EFI_SMBUS_DEVICE_COMMAND Command,
- IN CONST EFI_SMBUS_OPERATION Operation,
- IN CONST BOOLEAN PecCheck,
- IN OUT UINTN *Length,
- IN OUT VOID *Buffer
+ IN CONST EFI_PEI_SMBUS2_PPI *This,
+ IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
+ IN CONST EFI_SMBUS_DEVICE_COMMAND Command,
+ IN CONST EFI_SMBUS_OPERATION Operation,
+ IN CONST BOOLEAN PecCheck,
+ IN OUT UINTN *Length,
+ IN OUT VOID *Buffer
);
@@ -119,9 +119,9 @@ typedef struct {
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_SMBUS_NOTIFY2_FUNCTION) (
- IN CONST EFI_PEI_SMBUS2_PPI *SmbusPpi,
- IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
- IN CONST UINTN Data
+ IN CONST EFI_PEI_SMBUS2_PPI *SmbusPpi,
+ IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
+ IN CONST UINTN Data
);
/**
The ArpDevice() function enumerates the entire bus or enumerates a specific
@@ -149,10 +149,10 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_SMBUS2_PPI_ARP_DEVICE) (
- IN CONST EFI_PEI_SMBUS2_PPI *This,
- IN CONST BOOLEAN ArpAll,
- IN CONST EFI_SMBUS_UDID *SmbusUdid, OPTIONAL
- IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
+ IN CONST EFI_PEI_SMBUS2_PPI *This,
+ IN CONST BOOLEAN ArpAll,
+ IN CONST EFI_SMBUS_UDID *SmbusUdid, OPTIONAL
+ IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL
);
@@ -176,9 +176,9 @@ typedef struct {
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_SMBUS2_PPI_GET_ARP_MAP) (
- IN CONST EFI_PEI_SMBUS2_PPI *This,
- IN OUT UINTN *Length,
- IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap
+ IN CONST EFI_PEI_SMBUS2_PPI *This,
+ IN OUT UINTN *Length,
+ IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap
);
@@ -201,10 +201,10 @@ EFI_STATUS
typedef
EFI_STATUS
(EFIAPI *EFI_PEI_SMBUS2_PPI_NOTIFY) (
- IN CONST EFI_PEI_SMBUS2_PPI *This,
- IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
- IN CONST UINTN Data,
- IN CONST EFI_PEI_SMBUS_NOTIFY2_FUNCTION NotifyFunction
+ IN CONST EFI_PEI_SMBUS2_PPI *This,
+ IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,
+ IN CONST UINTN Data,
+ IN CONST EFI_PEI_SMBUS_NOTIFY2_FUNCTION NotifyFunction
);
/**
@@ -231,11 +231,11 @@ EFI_STATUS
**/
struct _EFI_PEI_SMBUS2_PPI {
- EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION Execute;
- EFI_PEI_SMBUS2_PPI_ARP_DEVICE ArpDevice;
- EFI_PEI_SMBUS2_PPI_GET_ARP_MAP GetArpMap;
- EFI_PEI_SMBUS2_PPI_NOTIFY Notify;
- EFI_GUID Identifier;
+ EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION Execute;
+ EFI_PEI_SMBUS2_PPI_ARP_DEVICE ArpDevice;
+ EFI_PEI_SMBUS2_PPI_GET_ARP_MAP GetArpMap;
+ EFI_PEI_SMBUS2_PPI_NOTIFY Notify;
+ EFI_GUID Identifier;
};
extern EFI_GUID gEfiPeiSmbus2PpiGuid;
diff --git a/MdePkg/Include/Ppi/Stall.h b/MdePkg/Include/Ppi/Stall.h
index b608f3af11..5f190e3b65 100644
--- a/MdePkg/Include/Ppi/Stall.h
+++ b/MdePkg/Include/Ppi/Stall.h
@@ -24,7 +24,7 @@
#define __STALL_PPI_H__
#define EFI_PEI_STALL_PPI_GUID \
- { 0x1f4c6f90, 0xb06b, 0x48d8, {0xa2, 0x01, 0xba, 0xe5, 0xf1, 0xcd, 0x7d, 0x56 } }
+ { 0x1f4c6f90, 0xb06b, 0x48d8, {0xa2, 0x01, 0xba, 0xe5, 0xf1, 0xcd, 0x7d, 0x56 } }
typedef struct _EFI_PEI_STALL_PPI EFI_PEI_STALL_PPI;
diff --git a/MdePkg/Include/Ppi/TemporaryRamSupport.h b/MdePkg/Include/Ppi/TemporaryRamSupport.h
index 9ecf505aec..97ff7ede82 100644
--- a/MdePkg/Include/Ppi/TemporaryRamSupport.h
+++ b/MdePkg/Include/Ppi/TemporaryRamSupport.h
@@ -22,44 +22,44 @@
#define __TEMPORARY_RAM_SUPPORT_H__
#define TEMPORARY_RAM_SUPPORT_PPI_GUID \
- { 0xdbe23aa9, 0xa345, 0x4b97, {0x85, 0xb6, 0xb2, 0x26, 0xf1, 0x61, 0x73, 0x89} }
+ { 0xdbe23aa9, 0xa345, 0x4b97, {0x85, 0xb6, 0xb2, 0x26, 0xf1, 0x61, 0x73, 0x89} }
/*
This service of the TEMPORARY_RAM_SUPPORT_PPI that migrates temporary RAM into
- permanent memory.
+ permanent memory.
- @param PeiServices Pointer to the PEI Services Table.
+ @param PeiServices Pointer to the PEI Services Table.
- @param TemporaryMemoryBase Source Address in temporary memory from which the SEC or PEIM will copy the
- Temporary RAM contents.
+ @param TemporaryMemoryBase Source Address in temporary memory from which the SEC or PEIM will copy the
+ Temporary RAM contents.
- @param PermanentMemoryBase Destination Address in permanent memory into which the SEC or PEIM will copy the
- Temporary RAM contents.
+ @param PermanentMemoryBase Destination Address in permanent memory into which the SEC or PEIM will copy the
+ Temporary RAM contents.
- @param CopySize Amount of memory to migrate from temporary to permanent memory.
+ @param CopySize Amount of memory to migrate from temporary to permanent memory.
- @retval EFI_SUCCESS The data was successfully returned.
+ @retval EFI_SUCCESS The data was successfully returned.
- @retval EFI_INVALID_PARAMETER PermanentMemoryBase + CopySize >
- TemporaryMemoryBase when TemporaryMemoryBase >
- PermanentMemoryBase.
+ @retval EFI_INVALID_PARAMETER PermanentMemoryBase + CopySize >
+ TemporaryMemoryBase when TemporaryMemoryBase >
+ PermanentMemoryBase.
**/
typedef
EFI_STATUS
(EFIAPI * TEMPORARY_RAM_MIGRATION) (
- IN CONST EFI_PEI_SERVICES **PeiServices,
- IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,
- IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,
- IN UINTN CopySize
+ IN CONST EFI_PEI_SERVICES **PeiServices,
+ IN EFI_PHYSICAL_ADDRESS TemporaryMemoryBase,
+ IN EFI_PHYSICAL_ADDRESS PermanentMemoryBase,
+ IN UINTN CopySize
);
typedef struct {
- TEMPORARY_RAM_MIGRATION TemporaryRamMigration;
+ TEMPORARY_RAM_MIGRATION TemporaryRamMigration;
} TEMPORARY_RAM_SUPPORT_PPI;
extern EFI_GUID gEfiPeiTemporaryRamSupportPpiGuid;