diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-16 16:48:45 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-08-16 16:48:45 +0100 |
commit | eac498c52b17c00d5730f554dd2eb0d9d2273bbe (patch) | |
tree | f27665d5799e51fac9095982664293158d0f7970 /extras/mini-os/console | |
parent | e3e351919cc62f3cdabd8cef9b3a6be9ab4f13dd (diff) | |
download | xen-eac498c52b17c00d5730f554dd2eb0d9d2273bbe.tar.gz xen-eac498c52b17c00d5730f554dd2eb0d9d2273bbe.tar.bz2 xen-eac498c52b17c00d5730f554dd2eb0d9d2273bbe.zip |
[MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
Diffstat (limited to 'extras/mini-os/console')
-rw-r--r-- | extras/mini-os/console/xencons_ring.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extras/mini-os/console/xencons_ring.c b/extras/mini-os/console/xencons_ring.c index 6b02fcdc65..1f9f497866 100644 --- a/extras/mini-os/console/xencons_ring.c +++ b/extras/mini-os/console/xencons_ring.c @@ -14,13 +14,13 @@ static inline struct xencons_interface *xencons_interface(void) { - return mfn_to_virt(start_info.console_mfn); + return mfn_to_virt(start_info.console.domU.mfn); } static inline void notify_daemon(void) { /* Use evtchn: this is called early, before irq is set up. */ - notify_remote_via_evtchn(start_info.console_evtchn); + notify_remote_via_evtchn(start_info.console.domU.evtchn); } int xencons_ring_send_no_notify(const char *data, unsigned len) @@ -80,10 +80,10 @@ int xencons_ring_init(void) { int err; - if (!start_info.console_evtchn) + if (!start_info.console.domU.evtchn) return 0; - err = bind_evtchn(start_info.console_evtchn, handle_input, + err = bind_evtchn(start_info.console.domU.evtchn, handle_input, NULL); if (err <= 0) { printk("XEN console request chn bind failed %i\n", err); |