Map the VRAM and Video ROM/System ROM seperately.
commit88d10f8179d33dae46cb696a8d4f5aa751f240d7
authorMichał Januszewski <spock@gentoo.org>
Sun, 7 Sep 2008 23:35:30 +0000 (8 01:35 +0200)
committerMichał Januszewski <spock@gentoo.org>
Sun, 7 Sep 2008 23:35:30 +0000 (8 01:35 +0200)
treee32d4a5918525c49fdbfc7d6c613a051534583c3
parentff88e7e4e6741fe32bea0adea480ec1b9a683cd8
Map the VRAM and Video ROM/System ROM seperately.

lrmi maps both the Video RAM and ROM with PROT_EXEC.  This can cause
problems on systems with NX and PaX.  In order to avoid these, map
the RAM and ROM areas separately, with different PROT_* flags.
libs/lrmi-0.10/lrmi.c