Update to consume CPU I/O 2 Protocol instead of Framework CPU I/O Protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9533 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24
2009-12-07 12:48:53 +00:00
parent 5161b24d13
commit b6d793e37c
5 changed files with 10 additions and 10 deletions

View File

@@ -21,7 +21,7 @@ Abstract:
#include "PcatPciRootBridge.h"
#include "DeviceIo.h"
EFI_CPU_IO_PROTOCOL *gCpuIo;
EFI_CPU_IO2_PROTOCOL *gCpuIo;
EFI_STATUS
EFIAPI
@@ -62,7 +62,7 @@ Returns:
//
// Initialize gCpuIo now since the chipset init code requires it.
//
Status = gBS->LocateProtocol (&gEfiCpuIoProtocolGuid, NULL, (VOID **)&gCpuIo);
Status = gBS->LocateProtocol (&gEfiCpuIo2ProtocolGuid, NULL, (VOID **)&gCpuIo);
ASSERT_EFI_ERROR (Status);
//