[lkml]   [2001]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] svgalib error in mmap documentation
On Sat, 6 Jan 2001, Alan Cox wrote:

> > +If you want svgalib programs to run with kernel 2.4.0 or newer, svgalib
> > +needs to be compiled without background support (BACKGROUND not defined in
> > +Makefile.cfg). This is relevant to any svgalib version.
> > +This is because svgalib uses mmap of/proc/mem to emulate vga's memory bank
> > +switching when in background, and kernel 2.4.0 stopped supporting this feature.
> 2.4 has real support for shared mappings, so you can I suspect do it properly
> now

I hope it is reasonable to ask, how?

What I need is to allocate a big amount of memory (say 1MB, for
example), copy the video memory to it, and then have fixed 64K of
virutal address of the process point to any 64K window of the large
allocated memory. How can I do it?

Matan Ziv-Av.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:52    [W:0.169 / U:0.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site