direct-io.hg

changeset 11153:f2151423f729

[MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
author kfraser@localhost.localdomain
date Wed Aug 16 16:48:45 2006 +0100 (2006-08-16)
parents fda70200da01
children 01345b08d012
files extras/mini-os/console/xencons_ring.c
line diff
     1.1 --- a/extras/mini-os/console/xencons_ring.c	Wed Aug 16 16:16:32 2006 +0100
     1.2 +++ b/extras/mini-os/console/xencons_ring.c	Wed Aug 16 16:48:45 2006 +0100
     1.3 @@ -14,13 +14,13 @@
     1.4  
     1.5  static inline struct xencons_interface *xencons_interface(void)
     1.6  {
     1.7 -    return mfn_to_virt(start_info.console_mfn);
     1.8 +    return mfn_to_virt(start_info.console.domU.mfn);
     1.9  }
    1.10  
    1.11  static inline void notify_daemon(void)
    1.12  {
    1.13      /* Use evtchn: this is called early, before irq is set up. */
    1.14 -    notify_remote_via_evtchn(start_info.console_evtchn);
    1.15 +    notify_remote_via_evtchn(start_info.console.domU.evtchn);
    1.16  }
    1.17  
    1.18  int xencons_ring_send_no_notify(const char *data, unsigned len)
    1.19 @@ -80,10 +80,10 @@ int xencons_ring_init(void)
    1.20  {
    1.21  	int err;
    1.22  
    1.23 -	if (!start_info.console_evtchn)
    1.24 +	if (!start_info.console.domU.evtchn)
    1.25  		return 0;
    1.26  
    1.27 -	err = bind_evtchn(start_info.console_evtchn, handle_input,
    1.28 +	err = bind_evtchn(start_info.console.domU.evtchn, handle_input,
    1.29  			  NULL);
    1.30  	if (err <= 0) {
    1.31  		printk("XEN console request chn bind failed %i\n", err);