This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

why does the framebuffer on i386 vmware is read-only!


Hi everyone,

	I built ecos on i386 pc target, and run it on vmware
with redboot load it. I have configured redboot to
"switch the display to an alternative video mode" with
the value "0x013f", this value in vmware is "Mode
013f:  640* 480 @ 32bpp, 2560 bytes/line, fb yes
0xf5000000"(this i dump with ecos microwin
GdOpenScreen function). So, the address of framebuffer
is 0xf5000000. And GdOpenScreen will fillrect this
area to be 0 before return. But I dump the memory of
this area(0xf5000000~) with i386-elf-gdb, it still be
0xffffffff. And I set the memory of this area to be 0
by hand, it still be 0xffffffff. It looks like that,
this area is a read-only area. But the
ecos_pcsvga_open function told me that, this
area(0xf5000000~) is the framebuffer. How does this
happen?
	Any suggestions is appreciated.

Brs
Sonys


_________________________________________________________
Do You Yahoo!? 
启用电邮帐号,领会雅虎通[身临其境聊电影]的动感魅力,还有网络摄像头+雅虎通收音机等你来拿
http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]