Search
lxdream.org :: lxdream/src/mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.c
changeset 41:e740565eb393
prev35:21a4be098304
next50:704b11c879cb
author nkeynes
date Mon Dec 26 10:48:45 2005 +0000 (14 years ago)
permissions -rw-r--r--
last change Remove default MMIO trace
file annotate diff log raw
1.1 --- a/src/mem.c Mon Dec 26 03:54:55 2005 +0000
1.2 +++ b/src/mem.c Mon Dec 26 10:48:45 2005 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mem.c,v 1.8 2005-12-26 03:54:52 nkeynes Exp $
1.6 + * $Id: mem.c,v 1.9 2005-12-26 10:48:45 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 @@ -276,7 +276,7 @@
1.11 io->mem = mem_alloc_pages(2);
1.12 io->save_mem = io->mem + PAGE_SIZE;
1.13 io->index = (struct mmio_port **)malloc(1024*sizeof(struct mmio_port *));
1.14 - io->trace_flag = 1;
1.15 + io->trace_flag = 0;
1.16 memset( io->index, 0, 1024*sizeof(struct mmio_port *) );
1.17 for( i=0; io->ports[i].id != NULL; i++ ) {
1.18 io->ports[i].val = (uint32_t *)(io->mem + io->ports[i].offset);
.