Correct virtual address of frame buffer for non-linear mode.
Reported by: Marc UBM Bocklet (ubm dot freebsd at googlemail dot com)
This commit is contained in:
parent
d9e272e1f9
commit
f9144e3f76
@ -1317,7 +1317,7 @@ vesa_set_mode(video_adapter_t *adp, int mode)
|
||||
} else {
|
||||
vesa_adp->va_buffer = 0;
|
||||
vesa_adp->va_buffer_size = info.vi_buffer_size;
|
||||
vesa_adp->va_window = BIOS_PADDRTOVADDR(info.vi_window);
|
||||
vesa_adp->va_window = (vm_offset_t)x86bios_offset(info.vi_window);
|
||||
vesa_adp->va_window_size = info.vi_window_size;
|
||||
vesa_adp->va_window_gran = info.vi_window_gran;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user