]>
Commit | Line | Data |
---|---|---|
5297c0bf LE |
1 | /** @file\r |
2 | Internal interfaces specific to the QemuFwCfgLib instances in OvmfPkg.\r | |
3 | \r | |
4 | Copyright (C) 2016, Red Hat, Inc.\r | |
5 | \r | |
6 | This program and the accompanying materials are licensed and made available\r | |
7 | under the terms and conditions of the BSD License which accompanies this\r | |
8 | distribution. The full text of the license may be found at\r | |
9 | http://opensource.org/licenses/bsd-license.php\r | |
10 | \r | |
11 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r | |
12 | WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
13 | \r | |
14 | **/\r | |
15 | \r | |
16 | #ifndef __QEMU_FW_CFG_LIB_INTERNAL_H__\r | |
17 | #define __QEMU_FW_CFG_LIB_INTERNAL_H__\r | |
18 | \r | |
19 | /**\r | |
20 | Returns a boolean indicating if the firmware configuration interface is\r | |
21 | available for library-internal purposes.\r | |
22 | \r | |
23 | This function never changes fw_cfg state.\r | |
24 | \r | |
25 | @retval TRUE The interface is available internally.\r | |
26 | @retval FALSE The interface is not available internally.\r | |
27 | **/\r | |
28 | BOOLEAN\r | |
29 | InternalQemuFwCfgIsAvailable (\r | |
30 | VOID\r | |
31 | );\r | |
32 | \r | |
2c8dcbc6 LE |
33 | \r |
34 | /**\r | |
35 | Returns a boolean indicating whether QEMU provides the DMA-like access method\r | |
36 | for fw_cfg.\r | |
37 | \r | |
38 | @retval TRUE The DMA-like access method is available.\r | |
39 | @retval FALSE The DMA-like access method is unavailable.\r | |
40 | **/\r | |
41 | BOOLEAN\r | |
42 | InternalQemuFwCfgDmaIsAvailable (\r | |
43 | VOID\r | |
44 | );\r | |
45 | \r | |
5297c0bf | 46 | #endif\r |