diff options
Diffstat (limited to 'tests/libqos/fw_cfg.h')
-rw-r--r-- | tests/libqos/fw_cfg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/libqos/fw_cfg.h b/tests/libqos/fw_cfg.h index 19bb0530e7..61b1548b4e 100644 --- a/tests/libqos/fw_cfg.h +++ b/tests/libqos/fw_cfg.h @@ -33,5 +33,11 @@ uint32_t qfw_cfg_get_u32(QFWCFG *fw_cfg, uint16_t key); uint64_t qfw_cfg_get_u64(QFWCFG *fw_cfg, uint16_t key); QFWCFG *mm_fw_cfg_init(uint64_t base); +QFWCFG *io_fw_cfg_init(uint16_t base); + +static inline QFWCFG *pc_fw_cfg_init(void) +{ + return io_fw_cfg_init(0x510); +} #endif |