intel_extreme: Map VBIOS for kernel only.

korli's first suggested change from #14190. Gets past the first KDL,
but not all the way to desktop.
This commit is contained in:
Augustin Cavalier 2018-06-11 20:20:34 -04:00
parent d22143c84e
commit 3ad0683efb

View File

@ -135,7 +135,7 @@ get_bios(void)
hence, if panel mode will be set using info from VBT, it will
be taken from primary card's VBIOS */
vbios.area = map_physical_memory("VBIOS mapping", kVBIOSAddress,
kVBIOSSize, B_ANY_KERNEL_ADDRESS, B_READ_AREA, (void**)&vbios.memory);
kVBIOSSize, B_ANY_KERNEL_ADDRESS, B_KERNEL_READ_AREA, (void**)&vbios.memory);
if (vbios.area < 0)
return false;