aboutsummaryrefslogtreecommitdiff
path: root/hw/fw_cfg.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-11-13 11:59:20 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 10:38:38 -0600
commitff06108b182b83e4c42c89f1724a30217ad7c073 (patch)
tree97c5d548f6f18db187efa5684783d5208d65d47c /hw/fw_cfg.h
parent1945120112e93aa96af6d6004b36599f783ac563 (diff)
fw_cfg: change cur_offset to 32 bits
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/fw_cfg.h')
-rw-r--r--hw/fw_cfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h
index 30dfec7c6c..359d45afe9 100644
--- a/hw/fw_cfg.h
+++ b/hw/fw_cfg.h
@@ -28,7 +28,7 @@
#ifndef NO_QEMU_PROTOS
typedef void (*FWCfgCallback)(void *opaque, uint8_t *data);
-int fw_cfg_add_bytes(void *opaque, uint16_t key, uint8_t *data, uint16_t len);
+int fw_cfg_add_bytes(void *opaque, uint16_t key, uint8_t *data, uint32_t len);
int fw_cfg_add_i16(void *opaque, uint16_t key, uint16_t value);
int fw_cfg_add_i32(void *opaque, uint16_t key, uint32_t value);
int fw_cfg_add_i64(void *opaque, uint16_t key, uint64_t value);