Removed extra typedefs on structures to fix error generated by gcc.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4937 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-03-20 21:08:53 +00:00
parent 96703427f2
commit 6f80bb860f
8 changed files with 20 additions and 20 deletions

View File

@ -72,9 +72,9 @@ Returns:
//
// Interface stucture for the BDS Architectural Protocol
//
typedef struct _EFI_BDS_ARCH_PROTOCOL {
struct _EFI_BDS_ARCH_PROTOCOL {
EFI_BDS_ENTRY Entry;
} EFI_BDS_ARCH_PROTOCOL;
};
/*++

View File

@ -304,7 +304,7 @@ Returns:
--*/
typedef struct _EFI_CPU_ARCH_PROTOCOL {
struct _EFI_CPU_ARCH_PROTOCOL {
EFI_CPU_FLUSH_DATA_CACHE FlushDataCache;
EFI_CPU_ENABLE_INTERRUPT EnableInterrupt;
EFI_CPU_DISABLE_INTERRUPT DisableInterrupt;
@ -315,7 +315,7 @@ typedef struct _EFI_CPU_ARCH_PROTOCOL {
EFI_CPU_SET_MEMORY_ATTRIBUTES SetMemoryAttributes;
UINT32 NumberOfTimers;
UINT32 DmaBufferAlignment;
} EFI_CPU_ARCH_PROTOCOL;
};
/*++

View File

@ -76,10 +76,10 @@ Returns:
//
// Interface stucture for the Metronome Architectural Protocol
//
typedef struct _EFI_METRONOME_ARCH_PROTOCOL {
struct _EFI_METRONOME_ARCH_PROTOCOL {
EFI_METRONOME_WAIT_FOR_TICK WaitForTick;
UINT32 TickPeriod;
} EFI_METRONOME_ARCH_PROTOCOL;
};
/*++

View File

@ -46,27 +46,27 @@ Abstract:
EFI_FORWARD_DECLARATION (EFI_RUNTIME_ARCH_PROTOCOL);
typedef struct _EFI_RUNTIME_IMAGE_ENTRY {
struct _EFI_RUNTIME_IMAGE_ENTRY {
VOID *ImageBase;
UINT64 ImageSize;
VOID *RelocationData;
EFI_HANDLE Handle;
EFI_LIST_ENTRY Link;
} EFI_RUNTIME_IMAGE_ENTRY;
};
typedef struct _EFI_RUNTIME_EVENT_ENTRY {
struct _EFI_RUNTIME_EVENT_ENTRY {
UINT32 Type;
EFI_TPL NotifyTpl;
EFI_EVENT_NOTIFY NotifyFunction;
VOID *NotifyContext;
EFI_EVENT *Event;
EFI_LIST_ENTRY Link;
} EFI_RUNTIME_EVENT_ENTRY;
};
//
// Interface stucture for the Runtime Architectural Protocol
//
typedef struct _EFI_RUNTIME_ARCH_PROTOCOL {
struct _EFI_RUNTIME_ARCH_PROTOCOL {
EFI_LIST_ENTRY ImageHead;
EFI_LIST_ENTRY EventHead;
UINTN MemoryDescriptorSize;
@ -76,7 +76,7 @@ typedef struct _EFI_RUNTIME_ARCH_PROTOCOL {
EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual;
BOOLEAN VirtualMode;
BOOLEAN AtRuntime;
} EFI_RUNTIME_ARCH_PROTOCOL;
};
/*++
Protocol Description:

View File

@ -111,9 +111,9 @@ Returns:
//
// Interface stucture for the Timer Architectural Protocol
//
typedef struct _EFI_SECURITY_ARCH_PROTOCOL {
struct _EFI_SECURITY_ARCH_PROTOCOL {
EFI_SECURITY_FILE_AUTHENTICATION_STATE FileAuthenticationState;
} EFI_SECURITY_ARCH_PROTOCOL;
};
/*++
Protocol Description:

View File

@ -78,9 +78,9 @@ Returns:
//
// Interface stucture for the STATUS CODE Architectural Protocol
//
typedef struct _EFI_STATUS_CODE_PROTOCOL {
struct _EFI_STATUS_CODE_PROTOCOL {
EFI_REPORT_STATUS_CODE ReportStatusCode;
} EFI_STATUS_CODE_PROTOCOL;
};
/*++
// Protocol Description:

View File

@ -215,12 +215,12 @@ Returns:
//
// Interface stucture for the Timer Architectural Protocol
//
typedef struct _EFI_TIMER_ARCH_PROTOCOL {
struct _EFI_TIMER_ARCH_PROTOCOL {
EFI_TIMER_REGISTER_HANDLER RegisterHandler;
EFI_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
EFI_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
EFI_TIMER_GENERATE_SOFT_INTERRUPT GenerateSoftInterrupt;
} EFI_TIMER_ARCH_PROTOCOL;
};
/*++

View File

@ -166,11 +166,11 @@ Returns:
//
// Interface stucture for the Watchdog Timer Architectural Protocol
//
typedef struct _EFI_WATCHDOG_TIMER_ARCH_PROTOCOL {
struct _EFI_WATCHDOG_TIMER_ARCH_PROTOCOL {
EFI_WATCHDOG_TIMER_REGISTER_HANDLER RegisterHandler;
EFI_WATCHDOG_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
EFI_WATCHDOG_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
} EFI_WATCHDOG_TIMER_ARCH_PROTOCOL;
};
/*++