Search
lxdream.org :: lxdream :: r57:5648c0e0638b
lxdream 0.9.1
released Jun 29
Download Now
changeset57:5648c0e0638b
parent56:3224dceaf2a3
child58:ce3657a81a26
authornkeynes
dateMon Jan 02 14:47:55 2006 +0000 (14 years ago)
Fix MMU not appearing in mmr win
src/gui/mmio_win.c
1.1 --- a/src/gui/mmio_win.c Sun Jan 01 08:09:42 2006 +0000
1.2 +++ b/src/gui/mmio_win.c Mon Jan 02 14:47:55 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: mmio_win.c,v 1.3 2005-12-27 08:41:22 nkeynes Exp $
1.6 + * $Id: mmio_win.c,v 1.4 2006-01-02 14:47:55 nkeynes Exp $
1.7 *
1.8 * Implements the MMIO register viewing window
1.9 *
1.10 @@ -99,7 +99,7 @@
1.11
1.12 all_page = GTK_CLIST(gtk_object_get_data( GTK_OBJECT(mmr_win), "All" ));
1.13
1.14 - for( i=1; i < num_io_rgns; i++ ) {
1.15 + for( i=0; i < num_io_rgns; i++ ) {
1.16 page = GTK_CLIST(gtk_object_get_data( GTK_OBJECT(mmr_win),
1.17 io_rgn[i]->id ));
1.18 for( j=0; io_rgn[i]->ports[j].id != NULL; j++ ) {
1.19 @@ -139,7 +139,7 @@
1.20 gtk_notebook_remove_page( mmr_book, 0 );
1.21
1.22 all_list = create_mmr_page( "All" );
1.23 - for( i=1; i < num_io_rgns; i++ ) {
1.24 + for( i=0; i < num_io_rgns; i++ ) {
1.25 GtkCList *list = create_mmr_page( io_rgn[i]->id );
1.26
1.27 for( j=0; io_rgn[i]->ports[j].id != NULL; j++ ) {
.