]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseIoLibIntrinsic/IoLib.c
Fixed a couple of typos in the ToolTipText fields.
[mirror_edk2.git] / MdePkg / Library / BaseIoLibIntrinsic / IoLib.c
CommitLineData
878ddf1f 1/** @file\r
2 Common I/O Library routines.\r
3\r
4 Copyright (c) 2006, Intel Corporation<BR>\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13 Module Name: IoLib.c\r
14\r
15**/\r
16\r
17/**\r
18 Reads a 64-bit I/O port.\r
19\r
20 Reads the 64-bit I/O port specified by Port. The 64-bit read value is returned.\r
21 This function must guarantee that all I/O read and write operations are\r
22 serialized.\r
23\r
24 If 64-bit I/O port operations are not supported, then ASSERT().\r
25\r
26 @param Port The I/O port to read.\r
27\r
28 @return The value read.\r
29\r
30**/\r
31UINT64\r
32EFIAPI\r
33IoRead64 (\r
34 IN UINTN Port\r
35 )\r
36{\r
37 ASSERT (FALSE);\r
38 return 0;\r
39}\r
40\r
41/**\r
42 Writes a 64-bit I/O port.\r
43\r
44 Writes the 64-bit I/O port specified by Port with the value specified by Value\r
45 and returns Value. This function must guarantee that all I/O read and write\r
46 operations are serialized.\r
47\r
48 If 64-bit I/O port operations are not supported, then ASSERT().\r
49\r
50 @param Port The I/O port to write.\r
51 @param Value The value to write to the I/O port.\r
52\r
53 @return The value written the I/O port.\r
54\r
55**/\r
56UINT64\r
57EFIAPI\r
58IoWrite64 (\r
59 IN UINTN Port,\r
60 IN UINT64 Value\r
61 )\r
62{\r
63 ASSERT (FALSE);\r
64 return 0;\r
65}\r
66\r