Browse Source

Fix the bug again at http://www.loongson.org/dev/bugzilla/show_bug.cgi?id=313

Delete the original patch and open "init_win_device()" function in
"tgt_machdep.c"

Target:Bonito3aserver
master
Zhang Lihong 12 years ago
committed by wanghongmei
parent
commit
2ee4a3d40f
  1. 2
      Targets/Bonito3aserver/Bonito/tgt_machdep.c
  2. 6
      pmon/cmds/cmd_main/cmd_main.c

2
Targets/Bonito3aserver/Bonito/tgt_machdep.c

@ -789,7 +789,7 @@ void tgt_devconfig()
video_set_color(0xf);
// init_win_device();
init_win_device();
vga_available = 0; //lwg close printf output

6
pmon/cmds/cmd_main/cmd_main.c

@ -1176,11 +1176,7 @@ int paint_childwindow(char **hint,char *diskdev_name[],char *netdev_name[],int e
}
while(diskdev_name[i])
i++;
#ifdef LOONGSON_3ASERVER
dip_diskdev[0] = malloc(11);
strcpy(dip_diskdev[0],"SATA DISK0");
selnum_tmp = w_window4(20, 9, 14, 1,dip_diskdev, 1);
#endif
selnum_tmp = w_window4(20, 9, 14, 1,dip_diskdev, i);
selnum = (selnum_tmp & 0xff) - 1;
selcont = selnum;

Loading…
Cancel
Save