2 The header file for EFI_ISA_IO protocol implementation.
4 Copyright (c) 2006 - 2009, Intel Corporation.<BR>
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _INTERNAL_ISA_IO_H_
16 #define _INTERNAL_ISA_IO_H_
18 #include "InternalIsaBus.h"
21 // ISA I/O Support Function Prototypes
26 IN ISA_IO_DEVICE
*IsaIoDevice
,
27 IN ISA_ACCESS_TYPE Type
,
28 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
36 IN EFI_ISA_IO_PROTOCOL
*This
,
37 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
46 IN EFI_ISA_IO_PROTOCOL
*This
,
47 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
56 IN EFI_ISA_IO_PROTOCOL
*This
,
57 IN EFI_ISA_IO_PROTOCOL_OPERATION Operation
,
58 IN UINT8 ChannelNumber OPTIONAL
,
59 IN UINT32 ChannelAttributes
,
61 IN OUT UINTN
*NumberOfBytes
,
62 OUT EFI_PHYSICAL_ADDRESS
*DeviceAddress
,
69 IN EFI_ISA_IO_PROTOCOL
*This
,
76 IN EFI_ISA_IO_PROTOCOL
*This
80 ReportErrorStatusCode (
81 EFI_STATUS_CODE_VALUE code
86 IN EFI_ISA_IO_PROTOCOL
*This
,
89 IN UINT32 CountOffset
,
90 IN UINT32 BaseAddress
,
96 IN EFI_ISA_IO_PROTOCOL
*This
,
104 IN EFI_ISA_IO_PROTOCOL
*This
,
105 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
115 IN EFI_ISA_IO_PROTOCOL
*This
,
116 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
125 IN EFI_ISA_IO_PROTOCOL
*This
,
126 IN EFI_ISA_IO_PROTOCOL_WIDTH Width
,
127 IN UINT32 DestOffset
,
134 IsaIoAllocateBuffer (
135 IN EFI_ISA_IO_PROTOCOL
*This
,
136 IN EFI_ALLOCATE_TYPE Type
,
137 IN EFI_MEMORY_TYPE MemoryType
,
139 OUT VOID
**HostAddress
,
146 IN EFI_ISA_IO_PROTOCOL
*This
,