[haiku-commits] haiku: hrev51751 - src/system/kernel/debug

  • From: jerome.duval@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 11 Jan 2018 14:01:17 -0500 (EST)

hrev51751 adds 1 changeset to branch 'master'
old head: 3995592cdf304335132305e27c40cbb0b1ac46e3
new head: bbb5a50f9ba7b71093d2ea5d5d84c4fd65f37a3b
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=bbb5a50f9ba7+%5E3995592cdf30

----------------------------------------------------------------------------

bbb5a50f9ba7: kernel: debug: map the frame_buffer for the kernel only.

                                   [ Jérôme Duval <jerome.duval@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev51751
Commit:      bbb5a50f9ba7b71093d2ea5d5d84c4fd65f37a3b
URL:         http://cgit.haiku-os.org/haiku/commit/?id=bbb5a50f9ba7
Author:      Jérôme Duval <jerome.duval@xxxxxxxxx>
Date:        Thu Jan 11 18:57:37 2018 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 1 deletion(-)
src/system/kernel/debug/frame_buffer_console.cpp | 3 ++-

----------------------------------------------------------------------------

diff --git a/src/system/kernel/debug/frame_buffer_console.cpp 
b/src/system/kernel/debug/frame_buffer_console.cpp
index 7f7ce2fffe..f801e14d1c 100644
--- a/src/system/kernel/debug/frame_buffer_console.cpp
+++ b/src/system/kernel/debug/frame_buffer_console.cpp
@@ -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;
 


Other related posts:

  • » [haiku-commits] haiku: hrev51751 - src/system/kernel/debug - jerome . duval