diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-08-02 21:05:41 +0200 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-08-05 16:22:31 +0200 |
commit | d219adc1228a3887486b58a430e736b0831f192c (patch) | |
tree | a734e48a573774201ab8c6c06ff6eb6de60648f1 /drivers/video/console/fbcon.h | |
parent | kgdboc: Add call backs to allow kernel mode switching (diff) | |
download | linux-d219adc1228a3887486b58a430e736b0831f192c.tar.xz linux-d219adc1228a3887486b58a430e736b0831f192c.zip |
fb: add hooks to handle KDB enter/exit
Add fb ops to handle enter/exit of the kernel debugger. If present, the
fb core will register them with KGDB and they'll be called when the
debugger is entered and exited. The new functions are responsible for
switching to an appropriate debug framebuffer and restoring the
interrupted state at exit time.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'drivers/video/console/fbcon.h')
-rw-r--r-- | drivers/video/console/fbcon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/console/fbcon.h b/drivers/video/console/fbcon.h index 89a346880ec0..6bd2e0c7f209 100644 --- a/drivers/video/console/fbcon.h +++ b/drivers/video/console/fbcon.h @@ -74,6 +74,7 @@ struct fbcon_ops { int cursor_reset; int blank_state; int graphics; + int save_graphics; /* for debug enter/leave */ int flags; int rotate; int cur_rotate; |