[BACK]Return to evtchn.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / xen / xen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/xen/xen/evtchn.c between version 1.25.6.3 and 1.26

version 1.25.6.3, 2008/01/08 23:51:53 version 1.26, 2007/12/12 22:16:32
Line 76  __KERNEL_RCSID(0, "$NetBSD$");
Line 76  __KERNEL_RCSID(0, "$NetBSD$");
 #include <sys/proc.h>  #include <sys/proc.h>
 #include <sys/malloc.h>  #include <sys/malloc.h>
 #include <sys/reboot.h>  #include <sys/reboot.h>
 #include <sys/simplelock.h>  
   
 #include <uvm/uvm.h>  #include <uvm/uvm.h>
   
Line 117  physdev_op_t physdev_op_notify = {
Line 116  physdev_op_t physdev_op_notify = {
 };  };
 #endif  #endif
   
 int debug_port = -1;  int debug_port;
 #ifndef XEN3  #ifndef XEN3
 static int xen_misdirect_handler(void *);  static int xen_misdirect_handler(void *);
 #endif  #endif
Line 156  init_events()
Line 155  init_events()
 #ifndef XEN3  #ifndef XEN3
         int evtch;          int evtch;
   
           /* no debug port, it doesn't work any more for some reason ... */
           debug_port = -1;
   
         evtch = bind_virq_to_evtch(VIRQ_MISDIRECT);          evtch = bind_virq_to_evtch(VIRQ_MISDIRECT);
         aprint_verbose("misdirect virtual interrupt using event channel %d\n",          aprint_verbose("misdirect virtual interrupt using event channel %d\n",
             evtch);              evtch);
Line 208  evtchn_do_event(int evtch, struct intrfr
Line 210  evtchn_do_event(int evtch, struct intrfr
          * Shortcut for the debug handler, we want it to always run,           * Shortcut for the debug handler, we want it to always run,
          * regardless of the IPL level.           * regardless of the IPL level.
          */           */
         if (__predict_false(evtch == debug_port)) {          if (evtch == debug_port) {
                 xen_debug_handler(NULL);                  xen_debug_handler(NULL);
                 hypervisor_enable_event(evtch);                  hypervisor_enable_event(evtch);
                 return 0;                  return 0;

Legend:
Removed from v.1.25.6.3  
changed lines
  Added in v.1.26

CVSweb <webmaster@jp.NetBSD.org>