libqos: Generalize I/O-mapped fw_cfg

Provide a constructor that takes the base address in addition to the
PC-specific one.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1372254743-15808-12-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Markus Armbruster 2013-06-26 15:52:22 +02:00 committed by Anthony Liguori
parent f88dc7dd4d
commit 26491a388c
7 changed files with 35 additions and 63 deletions

View file

@ -11,7 +11,7 @@
*/
#include "libqos/malloc-pc.h"
#include "libqos/fw_cfg-pc.h"
#include "libqos/fw_cfg.h"
#define NO_QEMU_PROTOS
#include "hw/nvram/fw_cfg.h"