mirror of https://github.com/acidanthera/audk.git
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:
parent
96703427f2
commit
6f80bb860f
|
@ -72,9 +72,9 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the BDS Architectural Protocol
|
// Interface stucture for the BDS Architectural Protocol
|
||||||
//
|
//
|
||||||
typedef struct _EFI_BDS_ARCH_PROTOCOL {
|
struct _EFI_BDS_ARCH_PROTOCOL {
|
||||||
EFI_BDS_ENTRY Entry;
|
EFI_BDS_ENTRY Entry;
|
||||||
} EFI_BDS_ARCH_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
|
@ -304,7 +304,7 @@ Returns:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
typedef struct _EFI_CPU_ARCH_PROTOCOL {
|
struct _EFI_CPU_ARCH_PROTOCOL {
|
||||||
EFI_CPU_FLUSH_DATA_CACHE FlushDataCache;
|
EFI_CPU_FLUSH_DATA_CACHE FlushDataCache;
|
||||||
EFI_CPU_ENABLE_INTERRUPT EnableInterrupt;
|
EFI_CPU_ENABLE_INTERRUPT EnableInterrupt;
|
||||||
EFI_CPU_DISABLE_INTERRUPT DisableInterrupt;
|
EFI_CPU_DISABLE_INTERRUPT DisableInterrupt;
|
||||||
|
@ -315,7 +315,7 @@ typedef struct _EFI_CPU_ARCH_PROTOCOL {
|
||||||
EFI_CPU_SET_MEMORY_ATTRIBUTES SetMemoryAttributes;
|
EFI_CPU_SET_MEMORY_ATTRIBUTES SetMemoryAttributes;
|
||||||
UINT32 NumberOfTimers;
|
UINT32 NumberOfTimers;
|
||||||
UINT32 DmaBufferAlignment;
|
UINT32 DmaBufferAlignment;
|
||||||
} EFI_CPU_ARCH_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
|
@ -76,10 +76,10 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the Metronome Architectural Protocol
|
// Interface stucture for the Metronome Architectural Protocol
|
||||||
//
|
//
|
||||||
typedef struct _EFI_METRONOME_ARCH_PROTOCOL {
|
struct _EFI_METRONOME_ARCH_PROTOCOL {
|
||||||
EFI_METRONOME_WAIT_FOR_TICK WaitForTick;
|
EFI_METRONOME_WAIT_FOR_TICK WaitForTick;
|
||||||
UINT32 TickPeriod;
|
UINT32 TickPeriod;
|
||||||
} EFI_METRONOME_ARCH_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
|
@ -46,27 +46,27 @@ Abstract:
|
||||||
|
|
||||||
EFI_FORWARD_DECLARATION (EFI_RUNTIME_ARCH_PROTOCOL);
|
EFI_FORWARD_DECLARATION (EFI_RUNTIME_ARCH_PROTOCOL);
|
||||||
|
|
||||||
typedef struct _EFI_RUNTIME_IMAGE_ENTRY {
|
struct _EFI_RUNTIME_IMAGE_ENTRY {
|
||||||
VOID *ImageBase;
|
VOID *ImageBase;
|
||||||
UINT64 ImageSize;
|
UINT64 ImageSize;
|
||||||
VOID *RelocationData;
|
VOID *RelocationData;
|
||||||
EFI_HANDLE Handle;
|
EFI_HANDLE Handle;
|
||||||
EFI_LIST_ENTRY Link;
|
EFI_LIST_ENTRY Link;
|
||||||
} EFI_RUNTIME_IMAGE_ENTRY;
|
};
|
||||||
|
|
||||||
typedef struct _EFI_RUNTIME_EVENT_ENTRY {
|
struct _EFI_RUNTIME_EVENT_ENTRY {
|
||||||
UINT32 Type;
|
UINT32 Type;
|
||||||
EFI_TPL NotifyTpl;
|
EFI_TPL NotifyTpl;
|
||||||
EFI_EVENT_NOTIFY NotifyFunction;
|
EFI_EVENT_NOTIFY NotifyFunction;
|
||||||
VOID *NotifyContext;
|
VOID *NotifyContext;
|
||||||
EFI_EVENT *Event;
|
EFI_EVENT *Event;
|
||||||
EFI_LIST_ENTRY Link;
|
EFI_LIST_ENTRY Link;
|
||||||
} EFI_RUNTIME_EVENT_ENTRY;
|
};
|
||||||
|
|
||||||
//
|
//
|
||||||
// Interface stucture for the Runtime Architectural Protocol
|
// 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 ImageHead;
|
||||||
EFI_LIST_ENTRY EventHead;
|
EFI_LIST_ENTRY EventHead;
|
||||||
UINTN MemoryDescriptorSize;
|
UINTN MemoryDescriptorSize;
|
||||||
|
@ -76,7 +76,7 @@ typedef struct _EFI_RUNTIME_ARCH_PROTOCOL {
|
||||||
EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual;
|
EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual;
|
||||||
BOOLEAN VirtualMode;
|
BOOLEAN VirtualMode;
|
||||||
BOOLEAN AtRuntime;
|
BOOLEAN AtRuntime;
|
||||||
} EFI_RUNTIME_ARCH_PROTOCOL;
|
};
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Protocol Description:
|
Protocol Description:
|
||||||
|
|
|
@ -111,9 +111,9 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the Timer Architectural Protocol
|
// 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_FILE_AUTHENTICATION_STATE FileAuthenticationState;
|
||||||
} EFI_SECURITY_ARCH_PROTOCOL;
|
};
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
Protocol Description:
|
Protocol Description:
|
||||||
|
|
|
@ -78,9 +78,9 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the STATUS CODE Architectural Protocol
|
// 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_REPORT_STATUS_CODE ReportStatusCode;
|
||||||
} EFI_STATUS_CODE_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
// Protocol Description:
|
// Protocol Description:
|
||||||
|
|
|
@ -215,12 +215,12 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the Timer Architectural Protocol
|
// 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_REGISTER_HANDLER RegisterHandler;
|
||||||
EFI_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
|
EFI_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
|
||||||
EFI_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
|
EFI_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
|
||||||
EFI_TIMER_GENERATE_SOFT_INTERRUPT GenerateSoftInterrupt;
|
EFI_TIMER_GENERATE_SOFT_INTERRUPT GenerateSoftInterrupt;
|
||||||
} EFI_TIMER_ARCH_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
|
@ -166,11 +166,11 @@ Returns:
|
||||||
//
|
//
|
||||||
// Interface stucture for the Watchdog Timer Architectural Protocol
|
// 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_REGISTER_HANDLER RegisterHandler;
|
||||||
EFI_WATCHDOG_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
|
EFI_WATCHDOG_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
|
||||||
EFI_WATCHDOG_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
|
EFI_WATCHDOG_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
|
||||||
} EFI_WATCHDOG_TIMER_ARCH_PROTOCOL;
|
};
|
||||||
|
|
||||||
/*++
|
/*++
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue