]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseIoLibIntrinsic/IoLibSev.h
2 Header file for SEV IO library.
4 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
13 #include <Library/BaseLib.h>
14 #include <Library/DebugLib.h>
17 Reads an 8-bit I/O port fifo into a block of memory.
19 Reads the 8-bit I/O fifo port specified by Port.
20 The port is read Count times, and the read data is
21 stored in the provided Buffer.
23 This function must guarantee that all I/O read and write operations are
26 If 8-bit I/O port operations are not supported, then ASSERT().
28 @param Port The I/O port to read.
29 @param Count The number of times to read I/O port.
30 @param Buffer The buffer to store the read data into.
42 Writes a block of memory into an 8-bit I/O port fifo.
44 Writes the 8-bit I/O fifo port specified by Port.
45 The port is written Count times, and the write data is
46 retrieved from the provided Buffer.
48 This function must guarantee that all I/O write and write operations are
51 If 8-bit I/O port operations are not supported, then ASSERT().
53 @param Port The I/O port to write.
54 @param Count The number of times to write I/O port.
55 @param Buffer The buffer to retrieve the write data from.
67 Reads an 8-bit I/O port fifo into a block of memory.
69 Reads the 8-bit I/O fifo port specified by Port.
70 The port is read Count times, and the read data is
71 stored in the provided Buffer.
73 This function must guarantee that all I/O read and write operations are
76 If 8-bit I/O port operations are not supported, then ASSERT().
78 @param Port The I/O port to read.
79 @param Count The number of times to read I/O port.
80 @param Buffer The buffer to store the read data into.
92 Writes a block of memory into an 8-bit I/O port fifo.
94 Writes the 8-bit I/O fifo port specified by Port.
95 The port is written Count times, and the write data is
96 retrieved from the provided Buffer.
98 This function must guarantee that all I/O write and write operations are
101 If 8-bit I/O port operations are not supported, then ASSERT().
103 @param Port The I/O port to write.
104 @param Count The number of times to write I/O port.
105 @param Buffer The buffer to retrieve the write data from.
117 Reads an 8-bit I/O port fifo into a block of memory.
119 Reads the 8-bit I/O fifo port specified by Port.
120 The port is read Count times, and the read data is
121 stored in the provided Buffer.
123 This function must guarantee that all I/O read and write operations are
126 If 8-bit I/O port operations are not supported, then ASSERT().
128 @param Port The I/O port to read.
129 @param Count The number of times to read I/O port.
130 @param Buffer The buffer to store the read data into.
142 Writes a block of memory into an 8-bit I/O port fifo.
144 Writes the 8-bit I/O fifo port specified by Port.
145 The port is written Count times, and the write data is
146 retrieved from the provided Buffer.
148 This function must guarantee that all I/O write and write operations are
151 If 8-bit I/O port operations are not supported, then ASSERT().
153 @param Port The I/O port to write.
154 @param Count The number of times to write I/O port.
155 @param Buffer The buffer to retrieve the write data from.