Implemented a small kernel debugger add-on that triggers a redraw of the

entire screen when exiting the kernel debugger. It sets up a thread that sends
a message to the (currently hardcoded) desktop message looper. The desktop then
does mark the whole screen dirty which causes a full redraw.
Since interrupts need to be enabled I went with an asynchronous thread and
releasing a request sem in the add-ons' exit hook.
Added the add-on to the image as it shouldn't hurt to have it for now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24025 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2008-02-20 00:40:07 +00:00
parent 99238ef54f
commit 94fec641a7
4 changed files with 100 additions and 1 deletions
+2 -1
View File
@@ -145,7 +145,8 @@ AddFilesToHaikuImage beos system add-ons kernel busses scsi
AddFilesToHaikuImage beos system add-ons kernel busses usb
: <usb>uhci <usb>ehci ;
AddFilesToHaikuImage beos system add-ons kernel console : vga_text ;
AddFilesToHaikuImage beos system add-ons kernel debugger : <kdebug>hangman ;
AddFilesToHaikuImage beos system add-ons kernel debugger
: <kdebug>hangman <kdebug>invalidate_on_exit ;
AddFilesToHaikuImage beos system add-ons kernel file_systems
: $(BEOS_ADD_ONS_FILE_SYSTEMS) ;
AddFilesToHaikuImage beos system add-ons kernel generic