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
This commit is contained in:
AJFISH 2007-06-18 20:28:02 +00:00
parent 00a8a5bfbb
commit 00edb2182b
23 changed files with 886 additions and 885 deletions

View File

@ -190,7 +190,6 @@ EFI_STATUS
**/ **/
typedef typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_SET_MEMORY_SPACE_ATTRIBUTES) ( (EFIAPI *EFI_SET_MEMORY_SPACE_ATTRIBUTES) (
IN EFI_PHYSICAL_ADDRESS BaseAddress, IN EFI_PHYSICAL_ADDRESS BaseAddress,
@ -351,7 +350,9 @@ EFI_STATUS
**/ **/
typedef typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_DISPATCH) (VOID) (EFIAPI *EFI_DISPATCH) (
VOID
)
; ;
/** /**

View File

@ -39,7 +39,7 @@
// Describes the format and size of the data inside the HOB. // Describes the format and size of the data inside the HOB.
// All HOBs must contain this generic HOB header. // All HOBs must contain this generic HOB header.
// //
typedef struct _EFI_HOB_GENERIC_HEADER { typedef struct {
UINT16 HobType; UINT16 HobType;
UINT16 HobLength; UINT16 HobLength;
UINT32 Reserved; UINT32 Reserved;
@ -54,7 +54,7 @@ typedef struct _EFI_HOB_GENERIC_HEADER {
// Contains general state information used by the HOB producer phase. // Contains general state information used by the HOB producer phase.
// This HOB must be the first one in the HOB list. // This HOB must be the first one in the HOB list.
// //
typedef struct _EFI_HOB_HANDOFF_INFO_TABLE { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
UINT32 Version; UINT32 Version;
EFI_BOOT_MODE BootMode; EFI_BOOT_MODE BootMode;
@ -66,7 +66,7 @@ typedef struct _EFI_HOB_HANDOFF_INFO_TABLE {
} EFI_HOB_HANDOFF_INFO_TABLE; } EFI_HOB_HANDOFF_INFO_TABLE;
typedef struct _EFI_HOB_MEMORY_ALLOCATION_HEADER { typedef struct {
EFI_GUID Name; EFI_GUID Name;
EFI_PHYSICAL_ADDRESS MemoryBaseAddress; EFI_PHYSICAL_ADDRESS MemoryBaseAddress;
UINT64 MemoryLength; UINT64 MemoryLength;
@ -84,7 +84,7 @@ typedef struct _EFI_HOB_MEMORY_ALLOCATION_HEADER {
// describes how memory is used, // describes how memory is used,
// not the physical attributes of memory. // not the physical attributes of memory.
// //
typedef struct _EFI_HOB_MEMORY_ALLOCATION { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
// //
@ -99,7 +99,7 @@ typedef struct _EFI_HOB_MEMORY_ALLOCATION {
// phase and upon which all postmemory-installed executable // phase and upon which all postmemory-installed executable
// content in the HOB producer phase is executing. // content in the HOB producer phase is executing.
// //
typedef struct _EFI_HOB_MEMORY_ALLOCATION_STACK { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
} EFI_HOB_MEMORY_ALLOCATION_STACK; } EFI_HOB_MEMORY_ALLOCATION_STACK;
@ -110,7 +110,7 @@ typedef struct _EFI_HOB_MEMORY_ALLOCATION_STACK {
// This HOB is valid for the Itanium processor family only // This HOB is valid for the Itanium processor family only
// register overflow store. // register overflow store.
// //
typedef struct _EFI_HOB_MEMORY_ALLOCATION_BSP_STORE { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor; EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
} EFI_HOB_MEMORY_ALLOCATION_BSP_STORE; } EFI_HOB_MEMORY_ALLOCATION_BSP_STORE;
@ -174,7 +174,7 @@ typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;
// nonrelocatable resource ranges found on the processor // nonrelocatable resource ranges found on the processor
// host bus during the HOB producer phase. // host bus during the HOB producer phase.
// //
typedef struct _EFI_HOB_RESOURCE_DESCRIPTOR { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
EFI_GUID Owner; EFI_GUID Owner;
EFI_RESOURCE_TYPE ResourceType; EFI_RESOURCE_TYPE ResourceType;
@ -187,7 +187,7 @@ typedef struct _EFI_HOB_RESOURCE_DESCRIPTOR {
// Allows writers of executable content in the HOB producer phase to // Allows writers of executable content in the HOB producer phase to
// maintain and manage HOBs with specific GUID. // maintain and manage HOBs with specific GUID.
// //
typedef struct _EFI_HOB_GUID_TYPE { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
EFI_GUID Name; EFI_GUID Name;
@ -221,7 +221,7 @@ typedef struct {
// //
// Describes processor information, such as address space and I/O space capabilities. // Describes processor information, such as address space and I/O space capabilities.
// //
typedef struct _EFI_HOB_CPU { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
UINT8 SizeOfMemorySpace; UINT8 SizeOfMemorySpace;
UINT8 SizeOfIoSpace; UINT8 SizeOfIoSpace;
@ -232,7 +232,7 @@ typedef struct _EFI_HOB_CPU {
// //
// Describes pool memory allocations. // Describes pool memory allocations.
// //
typedef struct _EFI_HOB_MEMORY_POOL { typedef struct {
EFI_HOB_GENERIC_HEADER Header; EFI_HOB_GENERIC_HEADER Header;
} EFI_HOB_MEMORY_POOL; } EFI_HOB_MEMORY_POOL;

View File

@ -54,7 +54,7 @@ typedef struct _EFI_PEI_NOTIFY_DESCRIPTOR EFI_PEI_NOTIFY_DESCRIPTOR;
typedef typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_PEIM_ENTRY_POINT)( (EFIAPI *EFI_PEIM_ENTRY_POINT)(
IN EFI_FFS_FILE_HEADER *FfsHeader, IN EFI_PEI_FILE_HANDLE *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices IN EFI_PEI_SERVICES **PeiServices
); );
@ -526,7 +526,7 @@ EFI_STATUS
IN CONST EFI_GUID *FileName, IN CONST EFI_GUID *FileName,
IN CONST EFI_PEI_FV_HANDLE VolumeHandle, IN CONST EFI_PEI_FV_HANDLE VolumeHandle,
OUT EFI_PEI_FILE_HANDLE *FileHandle OUT EFI_PEI_FILE_HANDLE *FileHandle
); );
/** /**
@ -582,7 +582,7 @@ EFI_STATUS
(EFIAPI *EFI_PEI_FFS_GET_FILE_INFO) ( (EFIAPI *EFI_PEI_FFS_GET_FILE_INFO) (
IN CONST EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_FILE_HANDLE FileHandle,
OUT EFI_FV_FILE_INFO *FileInfo OUT EFI_FV_FILE_INFO *FileInfo
); );
/** /**
@ -641,7 +641,7 @@ EFI_STATUS
(EFIAPI *EFI_PEI_FFS_GET_VOLUME_INFO) ( (EFIAPI *EFI_PEI_FFS_GET_VOLUME_INFO) (
IN CONST EFI_PEI_FV_HANDLE *VolumeHandle, IN CONST EFI_PEI_FV_HANDLE *VolumeHandle,
OUT EFI_FV_INFO *VolumeInfo OUT EFI_FV_INFO *VolumeInfo
); );
/** /**
@ -672,7 +672,7 @@ typedef
EFI_STATUS EFI_STATUS
(EFIAPI *EFI_PEI_REGISTER_FOR_SHADOW) ( (EFIAPI *EFI_PEI_REGISTER_FOR_SHADOW) (
IN CONST EFI_PEI_FILE_HANDLE FileHandle IN CONST EFI_PEI_FILE_HANDLE FileHandle
); );
// //
@ -740,7 +740,7 @@ struct EFI_PEI_SERVICES {
EFI_PEI_FFS_GET_FILE_INFO FfsGetFileInfo; EFI_PEI_FFS_GET_FILE_INFO FfsGetFileInfo;
EFI_PEI_FFS_GET_VOLUME_INFO FfsGetVolumeInfo; EFI_PEI_FFS_GET_VOLUME_INFO FfsGetVolumeInfo;
EFI_PEI_REGISTER_FOR_SHADOW RegisterForShadow; EFI_PEI_REGISTER_FOR_SHADOW RegisterForShadow;
} ; };
typedef struct _EFI_SEC_PEI_HAND_OFF { typedef struct _EFI_SEC_PEI_HAND_OFF {