]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/CpuDxe: Add no-op InitializeMpSupport
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 13 Nov 2014 18:24:25 +0000 (18:24 +0000)
committerjljusten <jljusten@Edk2>
Thu, 13 Nov 2014 18:24:25 +0000 (18:24 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16345 6f19259b-4bc3-4df7-8a09-765794883524

UefiCpuPkg/CpuDxe/CpuDxe.c
UefiCpuPkg/CpuDxe/CpuDxe.inf
UefiCpuPkg/CpuDxe/CpuMp.c [new file with mode: 0644]
UefiCpuPkg/CpuDxe/CpuMp.h [new file with mode: 0644]

index f165e17c5934942bec6b14884efc6268cdf69a1a..c9df4e146ac37d9c1424e7a7e4becdb9381bc01a 100644 (file)
@@ -13,6 +13,7 @@
 **/\r
 \r
 #include "CpuDxe.h"\r
+#include "CpuMp.h"\r
 \r
 //\r
 // Global Variables\r
@@ -897,6 +898,8 @@ InitializeCpu (
                   );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
+  InitializeMpSupport ();\r
+\r
   return Status;\r
 }\r
 \r
index 152a091c22f563606675ef9dbe0c5be5e10e83a3..e49548f40b1550354b58b8361faa44901f939356 100644 (file)
@@ -46,6 +46,8 @@
   CpuDxe.c\r
   CpuDxe.h\r
   CpuGdt.c\r
+  CpuMp.c\r
+  CpuMp.h\r
 \r
 [Sources.IA32]\r
   Ia32/CpuAsm.asm | MSFT\r
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c
new file mode 100644 (file)
index 0000000..c8189bc
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  CPU DXE Module.\r
+\r
+  Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  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
+#include "CpuDxe.h"\r
+#include "CpuMp.h"\r
+\r
+/**\r
+  Initialize Multi-processor support.\r
+\r
+**/\r
+VOID\r
+InitializeMpSupport (\r
+  VOID\r
+  )\r
+{\r
+}\r
+\r
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.h b/UefiCpuPkg/CpuDxe/CpuMp.h
new file mode 100644 (file)
index 0000000..93d0540
--- /dev/null
@@ -0,0 +1,28 @@
+/** @file\r
+  CPU DXE MP support\r
+\r
+  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  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 _CPU_MP_H_\r
+#define _CPU_MP_H_\r
+\r
+/**\r
+  Initialize Multi-processor support.\r
+\r
+**/\r
+VOID\r
+InitializeMpSupport (\r
+  VOID\r
+  );\r
+\r
+#endif // _CPU_MP_H_\r
+\r