/** @file\r
UEFI Event support functions and structure.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
//\r
// EFI_EVENT\r
//\r
-#define EVENT_SIGNATURE EFI_SIGNATURE_32('e','v','n','t')\r
+\r
+///\r
+/// Timer event information\r
+///\r
+typedef struct {\r
+ LIST_ENTRY Link;\r
+ UINT64 TriggerTime;\r
+ UINT64 Period;\r
+} TIMER_EVENT_INFO;\r
+\r
+#define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')\r
typedef struct {\r
UINTN Signature;\r
UINT32 Type;\r
///\r
/// A list of all runtime events\r
///\r
- EFI_RUNTIME_EVENT_ENTRY RuntimeData;\r
- ///\r
- /// Information by event type\r
- ///\r
- union {\r
- ///\r
- /// For timer events\r
- ///\r
- struct {\r
- LIST_ENTRY Link;\r
- UINT64 TriggerTime;\r
- UINT64 Period;\r
- } Timer;\r
- } u;\r
-\r
+ EFI_RUNTIME_EVENT_ENTRY RuntimeData;\r
+ TIMER_EVENT_INFO Timer;\r
} IEVENT;\r
\r
//\r