Search
lxdream.org :: lxdream/src/mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.c
changeset 15:5194dd0fdb60
prev11:0a82ef380c45
next17:944f75eea496
author nkeynes
date Mon Dec 12 13:11:11 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Add dreamcast_module module structure
file annotate diff log raw
1.1 --- a/src/mem.c Sun Dec 11 12:00:09 2005 +0000
1.2 +++ b/src/mem.c Mon Dec 12 13:11:11 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mem.c,v 1.2 2005-12-11 12:00:03 nkeynes Exp $
1.6 + * $Id: mem.c,v 1.3 2005-12-12 13:11:07 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 @@ -29,10 +29,14 @@
1.11 #include "dream.h"
1.12 #include "mem.h"
1.13 #include "mmio.h"
1.14 +#include "modules.h"
1.15 #include "dreamcast.h"
1.16
1.17 char **page_map = NULL;
1.18
1.19 +struct dreamcast_module mem_module =
1.20 + { "MEM", mem_init, mem_reset, NULL, NULL, NULL, NULL };
1.21 +
1.22 struct mem_region mem_rgn[MAX_MEM_REGIONS];
1.23 struct mmio_region *io_rgn[MAX_IO_REGIONS];
1.24 struct mmio_region *P4_io[4096];
.