Search
lxdream.org :: lxdream/src/mem.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.h
changeset 466:a6935f46ed78
prev430:467519b050f4
next477:9a373f2ff009
author nkeynes
date Wed Oct 31 09:05:44 2007 +0000 (16 years ago)
permissions -rw-r--r--
last change Add convenience MMIO_ADDR macro
file annotate diff log raw
1.1 --- a/src/mem.h Mon Oct 08 12:09:06 2007 +0000
1.2 +++ b/src/mem.h Wed Oct 31 09:05:44 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
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.7 *
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.10 @@ -48,7 +48,8 @@
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 );
.