Search
lxdream.org :: lxdream/src/mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.c
changeset 466:a6935f46ed78
prev461:63d4de8dcec6
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.c Tue Oct 23 10:48:24 2007 +0000
1.2 +++ b/src/mem.c Wed Oct 31 09:05:44 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mem.c,v 1.16 2007-10-23 10:48:24 nkeynes Exp $
1.6 + * $Id: mem.c,v 1.17 2007-10-27 05:47:55 nkeynes Exp $
1.7 * mem.c is responsible for creating and maintaining the overall system memory
1.8 * map, as visible from the SH4 processor.
1.9 *
1.10 @@ -265,7 +265,8 @@
1.11 return mem;
1.12 }
1.13
1.14 -void *mem_load_rom( const gchar *file, uint32_t base, uint32_t size, uint32_t crc )
1.15 +void *mem_load_rom( const gchar *file, uint32_t base, uint32_t size, uint32_t crc,
1.16 + const gchar *region_name )
1.17 {
1.18 char *mem;
1.19 int fd;
.