The code you're pointing to specifies the max size for the lcd controller. If you want to change the size of the vnc window you need to change the size of screen that you're simulating (e.g. pass different parameters to the kernel on boot).
Ali On Mar 25, 2013, at 3:10 AM, "huangyongbing" <huangyongb...@ncic.ac.cn> wrote: > Hi all, > > I want to adjust the window size of VNC. On default, it is 1024*768 > defined in src/dev/arm/pl111.hh. I simply set the width and height variables > in Pl111.write() function, 800*600 for example. However, the output of > vncviewer is not correct. Have I missed other things? What should I do? > > Thanks. > > Best regards, > > Yongbing Huang > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users