]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmulatorPkg/CpuRuntimeDxe/CpuDriver.h
EmulatorPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / EmulatorPkg / CpuRuntimeDxe / CpuDriver.h
index 3ede8473d3743ff07759239ba4d74682456f8703..b191cbd0481fa8c320a11c357697bc94c2d86fc7 100644 (file)
@@ -3,13 +3,7 @@
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
 Portions copyright (c) 2011, Apple Inc. All rights reserved.\r
 \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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -17,22 +11,19 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _CPU_ARCHITECTURAL_PROTOCOL_DRIVER_H_\r
 \r
 \r
-#include <FrameworkDxe.h>\r
+#include <PiDxe.h>\r
 #include <IndustryStandard/SmBios.h>\r
 \r
 #include <Protocol/Cpu.h>\r
 #include <Protocol/Smbios.h>\r
-#include <Protocol/FrameworkHii.h>\r
 #include <Protocol/MpService.h>\r
 #include <Protocol/EmuThread.h>\r
 #include <Protocol/CpuIo2.h>\r
 \r
-#include <Guid/DataHubRecords.h>\r
 #include <Guid/IdleLoopEvent.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/DebugLib.h>\r
-#include <Library/HiiLib.h>\r
 #include <Library/UefiDriverEntryPoint.h>\r
 #include <Library/BaseMemoryLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
@@ -42,7 +33,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/PcdLib.h>\r
 \r
 \r
-extern UINT8  CpuStrings[];\r
 \r
 //\r
 // Internal Data Structures\r
@@ -230,7 +220,7 @@ EmuSetMemoryAttributes (
 \r
 EFI_STATUS\r
 CpuMpServicesInit (\r
-  VOID\r
+  OUT UINTN *MaxCores\r
   );\r
 \r
 EFI_STATUS\r
@@ -240,7 +230,7 @@ CpuMpServicesWhoAmI (
   OUT UINTN                    *ProcessorNumber\r
   );\r
 \r
-extern EFI_MP_SERVICES_PROTOCOL  mMpSercicesTemplate;\r
+extern EFI_MP_SERVICES_PROTOCOL  mMpServicesTemplate;\r
 \r
 \r
 #endif\r