X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FProtocol%2FCpuIo.h;h=d79f9b49cfe211e16163c0667483773afa807cfc;hb=6c23910cde27076466b9caa43dc0a9036b731191;hp=38f910ea94a71a4e7ecdf1815046d63147774b5f;hpb=79964ac84ea0ca6c68d0dea38245fa83ff1945d1;p=mirror_edk2.git diff --git a/IntelFrameworkPkg/Include/Protocol/CpuIo.h b/IntelFrameworkPkg/Include/Protocol/CpuIo.h index 38f910ea94..d79f9b49cf 100644 --- a/IntelFrameworkPkg/Include/Protocol/CpuIo.h +++ b/IntelFrameworkPkg/Include/Protocol/CpuIo.h @@ -1,5 +1,6 @@ /** @file - This code abstracts the CPU IO Protocol + This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific + PEIM that abstracts the processor-visible I/O operations. Copyright (c) 2007, Intel Corporation All rights reserved. This program and the accompanying materials @@ -21,6 +22,8 @@ #ifndef _CPUIO_H_ #define _CPUIO_H_ +#include + #define EFI_CPU_IO_PROTOCOL_GUID \ { \ 0xB0732526, 0x38C8, 0x4b40, {0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \ @@ -74,12 +77,12 @@ typedef enum { **/ typedef EFI_STATUS -(EFIAPI *EFI_CPU_IO_PROTOCOL_IO_MEM) ( - IN EFI_CPU_IO_PROTOCOL *This, - IN EFI_CPU_IO_PROTOCOL_WIDTH Width, - IN UINT64 Address, - IN UINTN Count, - IN OUT VOID *Buffer +(EFIAPI *EFI_CPU_IO_PROTOCOL_IO_MEM)( + IN EFI_CPU_IO_PROTOCOL *This, + IN EFI_CPU_IO_PROTOCOL_WIDTH Width, + IN UINT64 Address, + IN UINTN Count, + IN OUT VOID *Buffer ); //