From 4fbd24ba35ce80b23253002116d5a90df6d25b2c Mon Sep 17 00:00:00 2001 From: balrog Date: Wed, 16 Apr 2008 23:45:36 +0000 Subject: Emulate address wrap in CFI02 chips mapping (Jan Kiszka). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4219 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/flash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/flash.h') diff --git a/hw/flash.h b/hw/flash.h index 2e6b61e72..b56c77dee 100644 --- a/hw/flash.h +++ b/hw/flash.h @@ -11,7 +11,7 @@ pflash_t *pflash_cfi01_register(target_phys_addr_t base, ram_addr_t off, /* pflash_cfi02.c */ pflash_t *pflash_cfi02_register(target_phys_addr_t base, ram_addr_t off, BlockDriverState *bs, uint32_t sector_len, - int nb_blocs, int width, + int nb_blocs, int nb_mappings, int width, uint16_t id0, uint16_t id1, uint16_t id2, uint16_t id3, uint16_t unlock_addr0, uint16_t unlock_addr1); -- cgit v1.2.3