]> git.proxmox.com Git - mirror_edk2.git/commitdiff
The file name Exec.h contains UEFI Event support functions and structure. But its...
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Sep 2008 07:22:44 +0000 (07:22 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 16 Sep 2008 07:22:44 +0000 (07:22 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5898 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Core/Dxe/DxeMain.h
MdeModulePkg/Core/Dxe/DxeMain.inf
MdeModulePkg/Core/Dxe/Event.h [new file with mode: 0644]
MdeModulePkg/Core/Dxe/Exec.h [deleted file]

index 2ffe9a2efdd25dbe902020b34d3ebe5d37ab730f..f8db8884bf9a6541e4c012be511efd3d5bcf7908 100644 (file)
@@ -87,7 +87,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include "Gcd.h"\r
 #include "Imem.h"\r
 #include "Image.h"\r
-#include "Exec.h"\r
+#include "Event.h"\r
 #include "Handle.h"\r
 \r
 //\r
index c3e0fd6fe2efa79bd722d940b164fe61ebde92a1..687403502f42b2a6cc9a56ac575a2037f2cc0182 100644 (file)
@@ -36,7 +36,7 @@
   Gcd.h\r
   FwVolDriver.h\r
   FwVolBlock.h\r
-  Exec.h\r
+  Event.h\r
   DxeMain.h\r
   DebugImageInfo.h\r
   SectionExtraction/CoreSectionExtraction.c\r
diff --git a/MdeModulePkg/Core/Dxe/Event.h b/MdeModulePkg/Core/Dxe/Event.h
new file mode 100644 (file)
index 0000000..a3b0d67
--- /dev/null
@@ -0,0 +1,122 @@
+/** @file\r
+  UEFI Event support functions and structure.\r
+\r
+Copyright (c) 2006 - 2008, 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __EVENT_H__\r
+#define __EVENT_H__\r
+\r
+#define VALID_TPL(a)            ((a) <= TPL_HIGH_LEVEL)\r
+\r
+//\r
+// EFI_EVENT\r
+//\r
+#define EVENT_SIGNATURE         EFI_SIGNATURE_32('e','v','n','t')\r
+typedef struct {\r
+  UINTN                   Signature;\r
+  UINT32                  Type;\r
+  UINT32                  SignalCount;\r
+\r
+  //\r
+  // Entry if the event is registered to be signalled\r
+  //\r
+\r
+  LIST_ENTRY              SignalLink;\r
+\r
+  //\r
+  // Notification information for this event\r
+  //\r
+\r
+  EFI_TPL                 NotifyTpl;\r
+  EFI_EVENT_NOTIFY        NotifyFunction;\r
+  VOID                    *NotifyContext;\r
+  EFI_GUID                EventGroup;\r
+  LIST_ENTRY              NotifyLink;\r
+  BOOLEAN                 ExFlag;\r
+\r
+  //\r
+  // A list of all runtime events\r
+  //\r
+  EFI_RUNTIME_EVENT_ENTRY   RuntimeData;\r
+\r
+  //\r
+  // Information by event type\r
+  //\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
+} IEVENT;\r
+\r
+//\r
+// Internal prototypes\r
+//\r
+\r
+\r
+/**\r
+  Dispatches all pending events.\r
+\r
+  @param  Priority               The task priority level of event notifications\r
+                                 to dispatch\r
+\r
+**/\r
+VOID\r
+CoreDispatchEventNotifies (\r
+  IN EFI_TPL      Priority\r
+  );\r
+\r
+\r
+\r
+/**\r
+  Return the highest set bit.\r
+\r
+  @param  Number  The value to check\r
+\r
+  @return Bit position of the highest set bit\r
+\r
+**/\r
+UINTN\r
+CoreHighestSetBit (\r
+  IN UINTN     Number\r
+  );\r
+\r
+\r
+//\r
+// Exported functions\r
+//\r
+/**\r
+  Initializes timer support.\r
+\r
+**/\r
+VOID\r
+CoreInitializeTimer (\r
+  VOID\r
+  );\r
+\r
+//\r
+// extern data declarations\r
+//\r
+\r
+extern EFI_LOCK       gEventQueueLock;\r
+extern UINTN          gEventPending;\r
+extern LIST_ENTRY     gEventQueue[];\r
+extern LIST_ENTRY     gEventSignalQueue;\r
+\r
+#endif\r
diff --git a/MdeModulePkg/Core/Dxe/Exec.h b/MdeModulePkg/Core/Dxe/Exec.h
deleted file mode 100644 (file)
index 8fbb994..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-/** @file\r
-  UEFI Event support functions and structure.\r
-\r
-Copyright (c) 2006 - 2008, 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
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef _EXEC_H_\r
-#define _EXEC_H_\r
-\r
-#define VALID_TPL(a)            ((a) <= TPL_HIGH_LEVEL)\r
-\r
-//\r
-// EFI_EVENT\r
-//\r
-#define EVENT_SIGNATURE         EFI_SIGNATURE_32('e','v','n','t')\r
-typedef struct {\r
-  UINTN                   Signature;\r
-  UINT32                  Type;\r
-  UINT32                  SignalCount;\r
-\r
-  //\r
-  // Entry if the event is registered to be signalled\r
-  //\r
-\r
-  LIST_ENTRY              SignalLink;\r
-\r
-  //\r
-  // Notification information for this event\r
-  //\r
-\r
-  EFI_TPL                 NotifyTpl;\r
-  EFI_EVENT_NOTIFY        NotifyFunction;\r
-  VOID                    *NotifyContext;\r
-  EFI_GUID                EventGroup;\r
-  LIST_ENTRY              NotifyLink;\r
-  BOOLEAN                 ExFlag;\r
-\r
-  //\r
-  // A list of all runtime events\r
-  //\r
-  EFI_RUNTIME_EVENT_ENTRY   RuntimeData;\r
-\r
-  //\r
-  // Information by event type\r
-  //\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
-} IEVENT;\r
-\r
-//\r
-// Internal prototypes\r
-//\r
-\r
-\r
-/**\r
-  Dispatches all pending events.\r
-\r
-  @param  Priority               The task priority level of event notifications\r
-                                 to dispatch\r
-\r
-**/\r
-VOID\r
-CoreDispatchEventNotifies (\r
-  IN EFI_TPL      Priority\r
-  );\r
-\r
-\r
-\r
-/**\r
-  Return the highest set bit.\r
-\r
-  @param  Number  The value to check\r
-\r
-  @return Bit position of the highest set bit\r
-\r
-**/\r
-UINTN\r
-CoreHighestSetBit (\r
-  IN UINTN     Number\r
-  );\r
-\r
-\r
-//\r
-// Exported functions\r
-//\r
-/**\r
-  Initializes timer support.\r
-\r
-**/\r
-VOID\r
-CoreInitializeTimer (\r
-  VOID\r
-  );\r
-\r
-//\r
-// extern data declarations\r
-//\r
-\r
-extern EFI_LOCK       gEventQueueLock;\r
-extern UINTN          gEventPending;\r
-extern LIST_ENTRY     gEventQueue[];\r
-extern LIST_ENTRY     gEventSignalQueue;\r
-\r
-#endif\r