mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
0f2287ad7c
commit
6b9b732d0e
2 changed files with 23 additions and 4 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
extern struct console xenboot_console;
|
||||
|
||||
void xen_console_resume(void);
|
||||
|
||||
void xen_raw_console_write(const char *str);
|
||||
void xen_raw_printk(const char *fmt, ...);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue