OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
CpuIo.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) 2004, Intel Corporation
4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 CpuIO.h
15
16Abstract:
17
18 CPU IO Protocol as defined in Tiano
19
20 This code abstracts the CPU IO Protocol
21
22--*/
23
24#ifndef _CPUIO_H_
25#define _CPUIO_H_
26
27#define EFI_CPU_IO_PROTOCOL_GUID \
28 { \
29 0xB0732526, 0x38C8, 0x4b40, { 0x88, 0x77, 0x61, 0xC7, 0xB0, 0x6A, 0xAC, 0x45 } \
30 }
31
33
34//
35// *******************************************************
36// EFI_CPU_IO_PROTOCOL_WIDTH
37// *******************************************************
38//
54
55//
56// *******************************************************
57// EFI_CPU_IO_PROTOCOL_IO_MEM
58// *******************************************************
59//
60typedef
61EFI_STATUS
62EFIAPI
64 IN EFI_CPU_IO_PROTOCOL *This,
66 IN UINT64 Address,
67 IN UINTN Count,
68 IN OUT VOID *Buffer
69 );
70
71//
72// *******************************************************
73// EFI_CPU_IO_PROTOCOL_ACCESS
74// *******************************************************
75//
80
81//
82// *******************************************************
83// EFI_CPU_IO_PROTOCOL
84// *******************************************************
85//
90
91extern EFI_GUID gEfiCpuIoProtocolGuid;
92
93#endif
struct EFI_CPU_IO_PROTOCOL_ EFI_CPU_IO_PROTOCOL
Definition CpuIo.h:32
EFI_STATUS EFIAPI(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)
Definition CpuIo.h:63
EFI_GUID gEfiCpuIoProtocolGuid
EFI_CPU_IO_PROTOCOL_WIDTH
Definition CpuIo.h:39
@ EfiCpuIoWidthFillUint8
Definition CpuIo.h:48
@ EfiCpuIoWidthUint8
Definition CpuIo.h:40
@ EfiCpuIoWidthFifoUint16
Definition CpuIo.h:45
@ EfiCpuIoWidthUint32
Definition CpuIo.h:42
@ EfiCpuIoWidthUint64
Definition CpuIo.h:43
@ EfiCpuIoWidthFifoUint64
Definition CpuIo.h:47
@ EfiCpuIoWidthFillUint16
Definition CpuIo.h:49
@ EfiCpuIoWidthMaximum
Definition CpuIo.h:52
@ EfiCpuIoWidthFillUint32
Definition CpuIo.h:50
@ EfiCpuIoWidthFillUint64
Definition CpuIo.h:51
@ EfiCpuIoWidthFifoUint32
Definition CpuIo.h:46
@ EfiCpuIoWidthFifoUint8
Definition CpuIo.h:44
@ EfiCpuIoWidthUint16
Definition CpuIo.h:41
OC_TYPING_BUFFER_ENTRY Buffer[OC_TYPING_BUFFER_SIZE]
Definition OcTypingLib.h:42
EFI_CPU_IO_PROTOCOL_IO_MEM Read
Definition CpuIo.h:77
EFI_CPU_IO_PROTOCOL_IO_MEM Write
Definition CpuIo.h:78
EFI_CPU_IO_PROTOCOL_ACCESS Io
Definition CpuIo.h:88
EFI_CPU_IO_PROTOCOL_ACCESS Mem
Definition CpuIo.h:87