[haiku-commits] r35901 - haiku/trunk/src/system/kernel/debug

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 18 Mar 2010 17:11:29 +0100 (CET)

Author: bonefish
Date: 2010-03-18 17:11:29 +0100 (Thu, 18 Mar 2010)
New Revision: 35901
Changeset: http://dev.haiku-os.org/changeset/35901/haiku

Modified:
   haiku/trunk/src/system/kernel/debug/blue_screen.cpp
   haiku/trunk/src/system/kernel/debug/blue_screen.h
Log:
Added blue_screen_paging_enabled() and blue_screen_set_paging() to get/set
pagination mode.


Modified: haiku/trunk/src/system/kernel/debug/blue_screen.cpp
===================================================================
--- haiku/trunk/src/system/kernel/debug/blue_screen.cpp 2010-03-18 15:45:02 UTC 
(rev 35900)
+++ haiku/trunk/src/system/kernel/debug/blue_screen.cpp 2010-03-18 16:11:29 UTC 
(rev 35901)
@@ -621,7 +621,21 @@
 }
 
 
+bool
+blue_screen_paging_enabled(void)
+{
+       return sScreen.paging;
+}
+
+
 void
+blue_screen_set_paging(bool enabled)
+{
+       sScreen.paging = enabled;
+}
+
+
+void
 blue_screen_clear_screen(void)
 {
        sModule->clear(sScreen.attr);

Modified: haiku/trunk/src/system/kernel/debug/blue_screen.h
===================================================================
--- haiku/trunk/src/system/kernel/debug/blue_screen.h   2010-03-18 15:45:02 UTC 
(rev 35900)
+++ haiku/trunk/src/system/kernel/debug/blue_screen.h   2010-03-18 16:11:29 UTC 
(rev 35901)
@@ -16,6 +16,9 @@
 status_t blue_screen_init(void);
 status_t blue_screen_enter(bool debugOutput);
 
+bool blue_screen_paging_enabled(void);
+void blue_screen_set_paging(bool enabled);
+
 void blue_screen_clear_screen(void);
 char blue_screen_getchar(void);
 void blue_screen_putchar(char c);


Other related posts:

  • » [haiku-commits] r35901 - haiku/trunk/src/system/kernel/debug - ingo_weinhold