]>
Commit | Line | Data |
---|---|---|
f1ec65ba | 1 | ;------------------------------------------------------------------------------\r |
2 | ;\r | |
3 | ; Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r | |
4 | ; This program and the accompanying materials\r | |
5 | ; are licensed and made available under the terms and conditions of the BSD License\r | |
6 | ; which accompanies this distribution. The full text of the license may be found at\r | |
7 | ; http://opensource.org/licenses/bsd-license.php.\r | |
8 | ;\r | |
9 | ; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
10 | ; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
11 | ;\r | |
12 | ;------------------------------------------------------------------------------\r | |
13 | \r | |
14 | .586P\r | |
15 | .model flat,C\r | |
16 | .code\r | |
17 | \r | |
18 | ;------------------------------------------------------------------------------\r | |
19 | ; VOID\r | |
20 | ; EFIAPI\r | |
21 | ; IoReadFifo8 (\r | |
22 | ; IN UINTN Port,\r | |
23 | ; IN UINTN Size,\r | |
24 | ; IN VOID *Buffer\r | |
25 | ; );\r | |
26 | ;------------------------------------------------------------------------------\r | |
27 | IoReadFifo8 PROC\r | |
28 | \r | |
29 | mov dx, [esp + 4]\r | |
30 | mov ecx, [esp + 8]\r | |
31 | push edi\r | |
b5e243b7 | 32 | mov edi, [esp + 16]\r |
f1ec65ba | 33 | rep insb\r |
34 | pop edi\r | |
35 | ret\r | |
36 | \r | |
37 | IoReadFifo8 ENDP\r | |
38 | \r | |
39 | END\r | |
40 | \r |