]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
xen-console: add save/restore
authorJeremy Fitzhardinge <jeremy@goop.org>
Mon, 26 May 2008 22:31:25 +0000 (23:31 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 May 2008 08:11:37 +0000 (10:11 +0200)
commit6b9b732d0e396a3f1a95977162a8624aafce38a1
tree920798feaef2e92dfccd37e8f7af5acdf9a34941
parent0f2287ad7c61f10b2a22a06e2a66cdbbbfc44ad0
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>
drivers/char/hvc_xen.c
include/xen/hvc-console.h