]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkPkg/Include/Protocol/CpuIo.h
Clean up some externs
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / CpuIo.h
CommitLineData
79964ac8 1/** @file\r
8411f1c0 2 This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific \r
dd72d66a 3 PEIM that abstracts the processor-visible I/O operations. \r
4 \r
5 Note: This is a runtime protocol and can be used by runtime drivers after ExitBootServices().\r
6 It is different from the PI 1.2 CPU I/O 2 Protocol, which is a boot services only protocol\r
7 and may not be used by runtime drivers after ExitBootServices().\r
79964ac8 8\r
c7154234 9 Copyright (c) 2007 - 2009, Intel Corporation\r
79964ac8 10 All rights reserved. This program and the accompanying materials\r
11 are licensed and made available under the terms and conditions of the BSD License\r
12 which accompanies this distribution. The full text of the license may be found at\r
13 http://opensource.org/licenses/bsd-license.php\r
14\r
15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17\r
79964ac8 18 @par Revision Reference:\r
19 CPU IO Protocol is defined in Framework of EFI CPU IO Protocol Spec\r
20 Version 0.9\r
21\r
22**/\r
23\r
24#ifndef _CPUIO_H_\r
25#define _CPUIO_H_\r
26\r
dd72d66a 27#include <Protocol/CpuIo2.h>\r
b80fbe85 28\r
79964ac8 29#define EFI_CPU_IO_PROTOCOL_GUID \\r
30 { \\r
31 0xB0732526, 0x38C8, 0x4b40, {0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \\r
32 }\r
33\r
dd72d66a 34//\r
35// Framework CPU IO protocol structure is the same as CPU IO 2 protocol defined in PI 1.2 spec. \r
36// However, there is a significant different between the Framework CPU I/O\r
37// Protocol and the PI 1.2 CPU I/O 2 Protocol. The Framework one is a runtime\r
38// protocol, which means it can be used by runtime drivers after ExitBootServices().\r
39// The PI one is not runtime safe, so it is a boot services only protocol and may\r
40// not be used by runtime drivers after ExitBootServices().\r
41// \r
42typedef EFI_CPU_IO2_PROTOCOL EFI_CPU_IO_PROTOCOL;\r
79964ac8 43\r
44extern EFI_GUID gEfiCpuIoProtocolGuid;\r
45\r
46#endif\r