]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
Fix capitalization
[mirror_edk2.git] / EdkModulePkg / Core / DxeIplPeim / Ia32 / DxeLoadFunc.c
diff --git a/EdkModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c b/EdkModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
new file mode 100644 (file)
index 0000000..4d1015b
--- /dev/null
@@ -0,0 +1,51 @@
+/*++\r
+\r
+Copyright (c) 2006, Intel Corporation                                                         \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
+Module Name:\r
+\r
+  DxeLoadFunc.c\r
+\r
+Abstract:\r
+\r
+  Ia32-specifc functionality for DxeLoad.\r
+\r
+--*/\r
+\r
+#include <DxeIpl.h>\r
+\r
+EFI_STATUS\r
+CreateArchSpecificHobs (\r
+  OUT EFI_PHYSICAL_ADDRESS      *BspStore\r
+  )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+  Creates architecture-specific HOBs.\r
+\r
+  Note: New parameters should NOT be added for any HOBs that are added to this\r
+        function.  BspStore is a special case because it is required for the\r
+        call to SwitchStacks() in DxeLoad().\r
+\r
+Arguments:\r
+\r
+  BspStore    - The address of the BSP Store for those architectures that need\r
+                it.  Otherwise 0.\r
+\r
+Returns:\r
+\r
+  EFI_SUCCESS   - The HOBs were created successfully.\r
+\r
+--*/\r
+{\r
+  *BspStore = 0;\r
+  return EFI_SUCCESS;\r
+}\r