kernel: debug: map the frame_buffer for the kernel only.
This commit is contained in:
parent
3995592cdf
commit
bbb5a50f9b
@ -423,7 +423,8 @@ frame_buffer_console_init(kernel_args* args)
|
||||
sConsole.area = map_physical_memory("vesa frame buffer",
|
||||
args->frame_buffer.physical_buffer.start,
|
||||
args->frame_buffer.physical_buffer.size, B_ANY_KERNEL_ADDRESS,
|
||||
B_READ_AREA | B_WRITE_AREA | B_USER_CLONEABLE_AREA, &frameBuffer);
|
||||
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA | B_USER_CLONEABLE_AREA,
|
||||
&frameBuffer);
|
||||
if (sConsole.area < 0)
|
||||
return sConsole.area;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user