#include <gpxe/efi/PiDxe.h>
Go to the source code of this file.
Data Structures | |
| struct | EFI_CPU_IO_PROTOCOL_ACCESS |
| struct | _EFI_CPU_IO_PROTOCOL |
Defines | |
| #define | EFI_CPU_IO_PROTOCOL_GUID |
Typedefs | |
| typedef struct _EFI_CPU_IO_PROTOCOL | EFI_CPU_IO_PROTOCOL |
| 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) |
| Enables a driver to access memory-mapped registers in the EFI system memory space. | |
Enumerations | |
| enum | EFI_CPU_IO_PROTOCOL_WIDTH { EfiCpuIoWidthUint8, EfiCpuIoWidthUint16, EfiCpuIoWidthUint32, EfiCpuIoWidthUint64, EfiCpuIoWidthFifoUint8, EfiCpuIoWidthFifoUint16, EfiCpuIoWidthFifoUint32, EfiCpuIoWidthFifoUint64, EfiCpuIoWidthFillUint8, EfiCpuIoWidthFillUint16, EfiCpuIoWidthFillUint32, EfiCpuIoWidthFillUint64, EfiCpuIoWidthMaximum } |
Variables | |
| EFI_GUID | gEfiCpuIoProtocolGuid |
Copyright (c) 2007, 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 http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name: CpuIO.h
Definition in file CpuIo.h.
| #define EFI_CPU_IO_PROTOCOL_GUID |
| typedef struct _EFI_CPU_IO_PROTOCOL EFI_CPU_IO_PROTOCOL |
| 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) |
Enables a driver to access memory-mapped registers in the EFI system memory space.
Or, Enables a driver to access registers in the EFI CPU I/O space.
| This | A pointer to the EFI_CPU_IO_PROTOCOL instance. | |
| Width | Signifies the width of the I/O or Memory operation. | |
| Address | The base address of the I/O or Memoryoperation. | |
| Count | The number of I/O or Memory operations to perform. The number of bytes moved is Width size * Count, starting at Address. | |
| Buffer | For read operations, the destination buffer to store the results. For write operations, the source buffer from which to write data. |
| EFI_SUCCESS | The data was read from or written to the EFI system. | |
| EFI_INVALID_PARAMETER | Width is invalid for this EFI system.Or Buffer is NULL. | |
| EFI_UNSUPPORTED | The Buffer is not aligned for the given Width. Or,The address range specified by Address, Width, and Count is not valid for this EFI system. |
Definition at line 39 of file CpuIo.h.
00039 { 00040 EfiCpuIoWidthUint8, 00041 EfiCpuIoWidthUint16, 00042 EfiCpuIoWidthUint32, 00043 EfiCpuIoWidthUint64, 00044 EfiCpuIoWidthFifoUint8, 00045 EfiCpuIoWidthFifoUint16, 00046 EfiCpuIoWidthFifoUint32, 00047 EfiCpuIoWidthFifoUint64, 00048 EfiCpuIoWidthFillUint8, 00049 EfiCpuIoWidthFillUint16, 00050 EfiCpuIoWidthFillUint32, 00051 EfiCpuIoWidthFillUint64, 00052 EfiCpuIoWidthMaximum 00053 } EFI_CPU_IO_PROTOCOL_WIDTH;
1.5.7.1