]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/CpuRuntimeDxe/Cpu.c
Sync update to improve compiler compatibility
[mirror_edk2.git] / UnixPkg / CpuRuntimeDxe / Cpu.c
index 7778c43b23c2763a395e3e144321b0cb9a9cb5e7..0cc913abfb1247c7695c3f197b5131dae11d47ee 100644 (file)
@@ -1,7 +1,7 @@
 /*++\r
 \r
-Copyright (c) 2006 - 2009, Intel Corporation\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2009, 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
@@ -26,7 +26,7 @@ Abstract:
 #include <Protocol/Cpu.h>\r
 #include <Protocol/Smbios.h>\r
 #include <Guid/DataHubRecords.h>\r
-#include <Protocol/CpuIo.h>\r
+#include <Protocol/CpuIo2.h>\r
 #include <Protocol/FrameworkHii.h>\r
 \r
 #include <Library/BaseLib.h>\r
@@ -540,7 +540,7 @@ Returns:
   Status = gBS->InstallMultipleProtocolInterfaces (\r
                   &mCpuTemplate.Handle,\r
                   &gEfiCpuArchProtocolGuid,   &mCpuTemplate.Cpu,\r
-                  &gEfiCpuIoProtocolGuid,     &mCpuTemplate.CpuIo,\r
+                  &gEfiCpuIo2ProtocolGuid,    &mCpuTemplate.CpuIo,\r
                   NULL\r
                   );\r
   ASSERT_EFI_ERROR (Status);\r