Changeset 77662 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/IoLib.h
- Timestamp:
- Mar 12, 2019 12:40:12 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 129295
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776 /vendor/edk2/current 103735-103757,103769-103776,129194-129237
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Library/IoLib.h
r58466 r77662 3 3 4 4 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> 5 Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR> 6 5 7 This program and the accompanying materials 6 8 are licensed and made available under the terms and conditions of the BSD License … … 74 76 IN UINTN Port, 75 77 IN UINT8 Value 78 ); 79 80 /** 81 Reads an 8-bit I/O port fifo into a block of memory. 82 83 Reads the 8-bit I/O fifo port specified by Port. 84 The port is read Count times, and the read data is 85 stored in the provided Buffer. 86 87 This function must guarantee that all I/O read and write operations are 88 serialized. 89 90 If 8-bit I/O port operations are not supported, then ASSERT(). 91 92 @param Port The I/O port to read. 93 @param Count The number of times to read I/O port. 94 @param Buffer The buffer to store the read data into. 95 96 **/ 97 VOID 98 EFIAPI 99 IoReadFifo8 ( 100 IN UINTN Port, 101 IN UINTN Count, 102 OUT VOID *Buffer 103 ); 104 105 /** 106 Writes a block of memory into an 8-bit I/O port fifo. 107 108 Writes the 8-bit I/O fifo port specified by Port. 109 The port is written Count times, and the write data is 110 retrieved from the provided Buffer. 111 112 This function must guarantee that all I/O write and write operations are 113 serialized. 114 115 If 8-bit I/O port operations are not supported, then ASSERT(). 116 117 @param Port The I/O port to write. 118 @param Count The number of times to write I/O port. 119 @param Buffer The buffer to retrieve the write data from. 120 121 **/ 122 VOID 123 EFIAPI 124 IoWriteFifo8 ( 125 IN UINTN Port, 126 IN UINTN Count, 127 IN VOID *Buffer 76 128 ); 77 129 … … 369 421 370 422 /** 423 Reads a 16-bit I/O port fifo into a block of memory. 424 425 Reads the 16-bit I/O fifo port specified by Port. 426 The port is read Count times, and the read data is 427 stored in the provided Buffer. 428 429 This function must guarantee that all I/O read and write operations are 430 serialized. 431 432 If 16-bit I/O port operations are not supported, then ASSERT(). 433 434 @param Port The I/O port to read. 435 @param Count The number of times to read I/O port. 436 @param Buffer The buffer to store the read data into. 437 438 **/ 439 VOID 440 EFIAPI 441 IoReadFifo16 ( 442 IN UINTN Port, 443 IN UINTN Count, 444 OUT VOID *Buffer 445 ); 446 447 /** 448 Writes a block of memory into a 16-bit I/O port fifo. 449 450 Writes the 16-bit I/O fifo port specified by Port. 451 The port is written Count times, and the write data is 452 retrieved from the provided Buffer. 453 454 This function must guarantee that all I/O write and write operations are 455 serialized. 456 457 If 16-bit I/O port operations are not supported, then ASSERT(). 458 459 @param Port The I/O port to write. 460 @param Count The number of times to write I/O port. 461 @param Buffer The buffer to retrieve the write data from. 462 463 **/ 464 VOID 465 EFIAPI 466 IoWriteFifo16 ( 467 IN UINTN Port, 468 IN UINTN Count, 469 IN VOID *Buffer 470 ); 471 472 /** 371 473 Reads a 16-bit I/O port, performs a bitwise OR, and writes the 372 474 result back to the 16-bit I/O port. … … 670 772 671 773 /** 774 Reads a 32-bit I/O port fifo into a block of memory. 775 776 Reads the 32-bit I/O fifo port specified by Port. 777 The port is read Count times, and the read data is 778 stored in the provided Buffer. 779 780 This function must guarantee that all I/O read and write operations are 781 serialized. 782 783 If 32-bit I/O port operations are not supported, then ASSERT(). 784 785 @param Port The I/O port to read. 786 @param Count The number of times to read I/O port. 787 @param Buffer The buffer to store the read data into. 788 789 **/ 790 VOID 791 EFIAPI 792 IoReadFifo32 ( 793 IN UINTN Port, 794 IN UINTN Count, 795 OUT VOID *Buffer 796 ); 797 798 /** 799 Writes a block of memory into a 32-bit I/O port fifo. 800 801 Writes the 32-bit I/O fifo port specified by Port. 802 The port is written Count times, and the write data is 803 retrieved from the provided Buffer. 804 805 This function must guarantee that all I/O write and write operations are 806 serialized. 807 808 If 32-bit I/O port operations are not supported, then ASSERT(). 809 810 @param Port The I/O port to write. 811 @param Count The number of times to write I/O port. 812 @param Buffer The buffer to retrieve the write data from. 813 814 **/ 815 VOID 816 EFIAPI 817 IoWriteFifo32 ( 818 IN UINTN Port, 819 IN UINTN Count, 820 IN VOID *Buffer 821 ); 822 823 /** 672 824 Reads a 32-bit I/O port, performs a bitwise OR, and writes the 673 825 result back to the 32-bit I/O port.
Note:
See TracChangeset
for help on using the changeset viewer.