diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2014-11-13 18:24:25 +0000 |
---|---|---|
committer | jljusten <jljusten@Edk2> | 2014-11-13 18:24:25 +0000 |
commit | 6022e28cf744a885c278dad256d50670741ea123 (patch) | |
tree | 71a02da38cc9389376e60bad010489ded41353d0 | |
parent | 37ec4d9af79197dcc93810f230af7a3fe2d0d243 (diff) | |
download | edk2-6022e28cf744a885c278dad256d50670741ea123.zip edk2-6022e28cf744a885c278dad256d50670741ea123.tar.gz edk2-6022e28cf744a885c278dad256d50670741ea123.tar.bz2 |
UefiCpuPkg/CpuDxe: Add no-op InitializeMpSupport
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
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.c | 3 | ||||
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.inf | 2 | ||||
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuMp.c | 28 | ||||
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuMp.h | 28 |
4 files changed, 61 insertions, 0 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.c b/UefiCpuPkg/CpuDxe/CpuDxe.c index f165e17..c9df4e1 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.c +++ b/UefiCpuPkg/CpuDxe/CpuDxe.c @@ -13,6 +13,7 @@ **/
#include "CpuDxe.h"
+#include "CpuMp.h"
//
// Global Variables
@@ -897,6 +898,8 @@ InitializeCpu ( );
ASSERT_EFI_ERROR (Status);
+ InitializeMpSupport ();
+
return Status;
}
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.inf b/UefiCpuPkg/CpuDxe/CpuDxe.inf index 152a091..e49548f 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.inf +++ b/UefiCpuPkg/CpuDxe/CpuDxe.inf @@ -46,6 +46,8 @@ CpuDxe.c
CpuDxe.h
CpuGdt.c
+ CpuMp.c
+ CpuMp.h
[Sources.IA32]
Ia32/CpuAsm.asm | MSFT
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.c b/UefiCpuPkg/CpuDxe/CpuMp.c new file mode 100644 index 0000000..c8189bc --- /dev/null +++ b/UefiCpuPkg/CpuDxe/CpuMp.c @@ -0,0 +1,28 @@ +/** @file
+ CPU DXE Module.
+
+ Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#include "CpuDxe.h"
+#include "CpuMp.h"
+
+/**
+ Initialize Multi-processor support.
+
+**/
+VOID
+InitializeMpSupport (
+ VOID
+ )
+{
+}
+
diff --git a/UefiCpuPkg/CpuDxe/CpuMp.h b/UefiCpuPkg/CpuDxe/CpuMp.h new file mode 100644 index 0000000..93d0540 --- /dev/null +++ b/UefiCpuPkg/CpuDxe/CpuMp.h @@ -0,0 +1,28 @@ +/** @file
+ CPU DXE MP support
+
+ Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+ This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef _CPU_MP_H_
+#define _CPU_MP_H_
+
+/**
+ Initialize Multi-processor support.
+
+**/
+VOID
+InitializeMpSupport (
+ VOID
+ );
+
+#endif // _CPU_MP_H_
+
|