From: Ghozlane T. <gt...@pr...> - 2001-07-18 09:25:38
|
----- Original Message ----- From: "James Simmons" <jsi...@tr...> Subject: Re: [Linux-fbdev-devel] how to drop access to an ioremapped area ? > > I'm looking for a way to somehow "drop" all access to a specific ioremaped > > area , > > for a time , and then "reenable" it .. is there a way to do something like > > that ? > > The best thing you could do right now is just convert the glide > library to use the mmio region of your fbdev device. should be easy, specificaly with the /dev/3dfx device (basicaly if i'm not wrong, it just detects a voodoo board and ioremap the board's mem before giving the info to glide ) > As for access use a > userland lock. Not very secure but it is a hack to get it going. what if i make glide use a new VC , a la X, and then pray that userland apps will play nicely when changing the console, by stopping every write ? how does fb apps (from X to fbtv) cope with VC switches ? ghoz |