1.1 --- a/src/mem.h Mon Oct 08 12:09:06 2007 +0000
1.2 +++ b/src/mem.h Sun Oct 28 08:29:29 2007 +0000
1.5 - * $Id: mem.h,v 1.13 2007-10-08 12:06:01 nkeynes Exp $
1.6 + * $Id: mem.h,v 1.14 2007-10-27 05:47:55 nkeynes Exp $
1.8 * mem is responsible for creating and maintaining the overall system memory
1.9 * map, as visible from the SH4 processor. (Note the ARM has a different map)
1.11 void *mem_create_ram_region( uint32_t base, uint32_t size, const char *name );
1.12 void *mem_create_repeating_ram_region( uint32_t base, uint32_t size, const char *name,
1.13 uint32_t repeat_offset, uint32_t last_repeat );
1.14 -void *mem_load_rom( const gchar *name, uint32_t base, uint32_t size, uint32_t crc );
1.15 +void *mem_load_rom( const gchar *name, uint32_t base, uint32_t size, uint32_t crc,
1.16 + const gchar *region_name );
1.17 void *mem_alloc_pages( int n );
1.18 char *mem_get_region( uint32_t addr );
1.19 char *mem_get_region_by_name( const char *name );