summaryrefslogtreecommitdiff
path: root/Nt32Pkg/CpuRuntimeDxe/CpuIo.c
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/CpuRuntimeDxe/CpuIo.c')
-rw-r--r--Nt32Pkg/CpuRuntimeDxe/CpuIo.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/Nt32Pkg/CpuRuntimeDxe/CpuIo.c b/Nt32Pkg/CpuRuntimeDxe/CpuIo.c
index b513c7242d..65b694b127 100644
--- a/Nt32Pkg/CpuRuntimeDxe/CpuIo.c
+++ b/Nt32Pkg/CpuRuntimeDxe/CpuIo.c
@@ -1,6 +1,6 @@
/**@file
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. 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
@@ -28,8 +28,6 @@ Abstract:
#define IA32_MAX_IO_ADDRESS 0xFFFF
#define IA32_MAX_MEM_ADDRESS 0xFFFFFFFF
-EFI_CPU_IO_PROTOCOL mCpuIoProtocol;
-
EFI_STATUS
CpuIoCheckAddressRange (
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
@@ -42,7 +40,7 @@ CpuIoCheckAddressRange (
EFI_STATUS
EFIAPI
CpuMemoryServiceRead (
- IN EFI_CPU_IO_PROTOCOL *This,
+ IN EFI_CPU_IO2_PROTOCOL *This,
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
IN UINT64 Address,
IN UINTN Count,
@@ -97,7 +95,7 @@ Returns:
EFI_STATUS
EFIAPI
CpuMemoryServiceWrite (
- IN EFI_CPU_IO_PROTOCOL *This,
+ IN EFI_CPU_IO2_PROTOCOL *This,
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
IN UINT64 Address,
IN UINTN Count,
@@ -151,7 +149,7 @@ Returns:
EFI_STATUS
EFIAPI
CpuIoServiceRead (
- IN EFI_CPU_IO_PROTOCOL *This,
+ IN EFI_CPU_IO2_PROTOCOL *This,
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
IN UINT64 UserAddress,
IN UINTN Count,
@@ -212,7 +210,7 @@ Returns:
EFI_STATUS
EFIAPI
CpuIoServiceWrite (
- IN EFI_CPU_IO_PROTOCOL *This,
+ IN EFI_CPU_IO2_PROTOCOL *This,
IN EFI_CPU_IO_PROTOCOL_WIDTH Width,
IN UINT64 UserAddress,
IN UINTN Count,