aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 58dc17addc..fb72dd55e7 100644
--- a/vl.h
+++ b/vl.h
@@ -1137,6 +1137,15 @@ int sh7750_register_io_device(struct SH7750State *s,
/* tc58128.c */
int tc58128_init(struct SH7750State *s, char *zone1, char *zone2);
+/* NOR flash devices */
+typedef struct pflash_t pflash_t;
+
+pflash_t *pflash_register (target_ulong base, ram_addr_t off,
+ BlockDriverState *bs,
+ target_ulong sector_len, int nb_blocs, int width,
+ uint16_t id0, uint16_t id1,
+ uint16_t id2, uint16_t id3);
+
#endif /* defined(QEMU_TOOL) */
/* monitor.c */