On Friday 18 March 2005 10:48, Nicolai Haehnle wrote:
> So we will have to deal with mmap()ing video memory in normal userspace
> programs.

How does this work? I mean, from a programmer point of view, you mmap() a 
buffer and everything you write into it ends up in the mapped piece of 
memory, in this case card memory. But it has to be transfered somehow. Does 
every write cause a kernel trap that sends the bytes over the bus to the 
card? That sounds awfully slow.

The reason I'm asking is that I'm wondering whether it would be feasible to 
add a few gates on the card that replace values with 0 (in case of reading, 
good for patching the "read secret information from another window" hole) 
and/or block writes, based on the value in the ownership buffer.

Lourens
_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to