On Wed, 4 Jul 2001, Andreas Beck wrote:
> > > Same way/addresses you do virtual RAM. With physical RAM, you would
> > > have to have a way to get non-swappable pages from the kernel.
>
> > OK. Is this fact Linux specific or is it OS independent?
>
> Could you be a little more specific about what you want to achieve,
> as there are several issues with virtual vs. physical RAM as well as
> with "RAM" that is only available via a Bus, like Video-RAM.
>
> All that can be very different.
>
> > OK. Is this also valid for other OS's like *BSD, Win32, Solaris,
> > etc. ??
>
> What ? Getting nonswappable RAM ? if it has mlock and it returns sucess,
> you should have nonswappable RAM. Don't know for Windows.
To access Video-RAM there are two ways: One through the Bus and one
through a memory-"window", which is stored in physical RAM. I wanna
know, if there is a generic (= target-independet) way to get
read/write access to that "window".
CU,
Christoph Egger
E-Mail: [EMAIL PROTECTED]