]>
Commit | Line | Data |
---|---|---|
79964ac8 | 1 | /** @file\r |
1c2f052d LG |
2 | This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific\r |
3 | PEIM that abstracts the processor-visible I/O operations.\r | |
4 | \r | |
dd72d66a | 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 |
1c2f052d | 9 | Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r |
22a69a5e | 10 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
79964ac8 | 11 | \r |
79964ac8 | 12 | @par Revision Reference:\r |
13 | CPU IO Protocol is defined in Framework of EFI CPU IO Protocol Spec\r | |
f22f941e | 14 | Version 0.9.\r |
79964ac8 | 15 | \r |
16 | **/\r | |
17 | \r | |
18 | #ifndef _CPUIO_H_\r | |
19 | #define _CPUIO_H_\r | |
20 | \r | |
dd72d66a | 21 | #include <Protocol/CpuIo2.h>\r |
b80fbe85 | 22 | \r |
79964ac8 | 23 | #define EFI_CPU_IO_PROTOCOL_GUID \\r |
24 | { \\r | |
25 | 0xB0732526, 0x38C8, 0x4b40, {0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \\r | |
26 | }\r | |
27 | \r | |
dd72d66a | 28 | //\r |
1c2f052d | 29 | // Framework CPU IO protocol structure is the same as CPU IO 2 protocol defined in PI 1.2 spec.\r |
dd72d66a | 30 | // However, there is a significant different between the Framework CPU I/O\r |
31 | // Protocol and the PI 1.2 CPU I/O 2 Protocol. The Framework one is a runtime\r | |
32 | // protocol, which means it can be used by runtime drivers after ExitBootServices().\r | |
33 | // The PI one is not runtime safe, so it is a boot services only protocol and may\r | |
34 | // not be used by runtime drivers after ExitBootServices().\r | |
1c2f052d | 35 | //\r |
dd72d66a | 36 | typedef EFI_CPU_IO2_PROTOCOL EFI_CPU_IO_PROTOCOL;\r |
79964ac8 | 37 | \r |
38 | extern EFI_GUID gEfiCpuIoProtocolGuid;\r | |
39 | \r | |
40 | #endif\r |