aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-05-26 18:31:25 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-27 04:11:37 -0400
commit6b9b732d0e396a3f1a95977162a8624aafce38a1 (patch)
tree920798feaef2e92dfccd37e8f7af5acdf9a34941 /include
parent0f2287ad7c61f10b2a22a06e2a66cdbbbfc44ad0 (diff)
xen-console: add save/restore
Add code to: 1. Deal with the console page being canonicalized. During save, the console's mfn in the start_info structure is canonicalized to a pfn. In order to deal with that, we always use a copy of the pfn and indirect off that all the time. However, we fall back to using the mfn if the pfn hasn't been initialized yet. 2. Restore the console event channel, and rebind it to the existing irq. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/xen/hvc-console.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/xen/hvc-console.h b/include/xen/hvc-console.h
index efc3237ab990..fd5483a059bb 100644
--- a/include/xen/hvc-console.h
+++ b/include/xen/hvc-console.h
@@ -3,6 +3,8 @@
3 3
4extern struct console xenboot_console; 4extern struct console xenboot_console;
5 5
6void xen_console_resume(void);
7
6void xen_raw_console_write(const char *str); 8void xen_raw_console_write(const char *str);
7void xen_raw_printk(const char *fmt, ...); 9void xen_raw_printk(const char *fmt, ...);
8 10