From abb6c10f3a5be99396c303e60d286606ddc72e17 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 19 Nov 2010 14:06:15 +0100 Subject: Implement memory load/store operations --- device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device.h') diff --git a/device.h b/device.h index cf84e05..da65a37 100644 --- a/device.h +++ b/device.h @@ -29,8 +29,8 @@ struct device { int (*init)(struct device *dev); bool (*is_dev_addr)(struct device *dev, uint32_t addr); - size_t (*read)(struct device *dev, uint32_t addr, uint32_t *data, size_t count); - size_t (*write)(struct device *dev, uint32_t addr, uint32_t *data, size_t count); + size_t (*read)(struct device *dev, uint32_t addr, uint8_t *data, size_t count); + size_t (*write)(struct device *dev, uint32_t addr, uint8_t *data, size_t count); bool (*has_irq)(struct device *dev); void (*simulate)(struct device *dev); -- cgit v1.2.3-54-g00ecf