|
@@ -226,4 +226,18 @@ FWCfgState *fw_cfg_init_mem_wide(hwaddr ctl_addr,
|
|
FWCfgState *fw_cfg_find(void);
|
|
FWCfgState *fw_cfg_find(void);
|
|
bool fw_cfg_dma_enabled(void *opaque);
|
|
bool fw_cfg_dma_enabled(void *opaque);
|
|
|
|
|
|
|
|
+/**
|
|
|
|
+ * fw_cfg_arch_key_name:
|
|
|
|
+ *
|
|
|
|
+ * @key: The uint16 selector key.
|
|
|
|
+ *
|
|
|
|
+ * The key is architecture-specific (the FW_CFG_ARCH_LOCAL mask is expected
|
|
|
|
+ * to be set in the key).
|
|
|
|
+ *
|
|
|
|
+ * Returns: The stringified architecture-specific name if the selector
|
|
|
|
+ * refers to a well-known numerically defined item, or NULL on
|
|
|
|
+ * key lookup failure.
|
|
|
|
+ */
|
|
|
|
+const char *fw_cfg_arch_key_name(uint16_t key);
|
|
|
|
+
|
|
#endif
|
|
#endif
|