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
EFI_STATUS
(EFIAPI *EFI_SET_MEMORY_SPACE_ATTRIBUTES) (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
@ -351,7 +350,9 @@ EFI_STATUS
**/
typedef
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.
// All HOBs must contain this generic HOB header.
//
typedef struct _EFI_HOB_GENERIC_HEADER {
typedef struct {
UINT16 HobType;
UINT16 HobLength;
UINT32 Reserved;
@ -54,7 +54,7 @@ typedef struct _EFI_HOB_GENERIC_HEADER {
// Contains general state information used by the HOB producer phase.
// 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;
UINT32 Version;
EFI_BOOT_MODE BootMode;
@ -66,7 +66,7 @@ typedef struct _EFI_HOB_HANDOFF_INFO_TABLE {
} EFI_HOB_HANDOFF_INFO_TABLE;
typedef struct _EFI_HOB_MEMORY_ALLOCATION_HEADER {
typedef struct {
EFI_GUID Name;
EFI_PHYSICAL_ADDRESS MemoryBaseAddress;
UINT64 MemoryLength;
@ -84,7 +84,7 @@ typedef struct _EFI_HOB_MEMORY_ALLOCATION_HEADER {
// describes how memory is used,
// not the physical attributes of memory.
//
typedef struct _EFI_HOB_MEMORY_ALLOCATION {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
//
@ -99,7 +99,7 @@ typedef struct _EFI_HOB_MEMORY_ALLOCATION {
// phase and upon which all postmemory-installed executable
// content in the HOB producer phase is executing.
//
typedef struct _EFI_HOB_MEMORY_ALLOCATION_STACK {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
} 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
// register overflow store.
//
typedef struct _EFI_HOB_MEMORY_ALLOCATION_BSP_STORE {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
EFI_HOB_MEMORY_ALLOCATION_HEADER AllocDescriptor;
} EFI_HOB_MEMORY_ALLOCATION_BSP_STORE;
@ -174,7 +174,7 @@ typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;
// nonrelocatable resource ranges found on the processor
// host bus during the HOB producer phase.
//
typedef struct _EFI_HOB_RESOURCE_DESCRIPTOR {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
EFI_GUID Owner;
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
// maintain and manage HOBs with specific GUID.
//
typedef struct _EFI_HOB_GUID_TYPE {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
EFI_GUID Name;
@ -221,7 +221,7 @@ typedef struct {
//
// Describes processor information, such as address space and I/O space capabilities.
//
typedef struct _EFI_HOB_CPU {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
UINT8 SizeOfMemorySpace;
UINT8 SizeOfIoSpace;
@ -232,7 +232,7 @@ typedef struct _EFI_HOB_CPU {
//
// Describes pool memory allocations.
//
typedef struct _EFI_HOB_MEMORY_POOL {
typedef struct {
EFI_HOB_GENERIC_HEADER Header;
} EFI_HOB_MEMORY_POOL;

View File

@ -54,7 +54,7 @@ typedef struct _EFI_PEI_NOTIFY_DESCRIPTOR EFI_PEI_NOTIFY_DESCRIPTOR;
typedef
EFI_STATUS
(EFIAPI *EFI_PEIM_ENTRY_POINT)(
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_FILE_HANDLE *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
);