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:
@@ -135,7 +135,7 @@ get_bios(void)
|
|||||||
hence, if panel mode will be set using info from VBT, it will
|
hence, if panel mode will be set using info from VBT, it will
|
||||||
be taken from primary card's VBIOS */
|
be taken from primary card's VBIOS */
|
||||||
vbios.area = map_physical_memory("VBIOS mapping", kVBIOSAddress,
|
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)
|
if (vbios.area < 0)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user