[BACK]Return to xennetback_xenbus.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/xennetback_xenbus.c between version 1.47 and 1.48

version 1.47, 2011/08/28 22:36:17 version 1.48, 2012/06/27 00:37:10
Line 1048  xennetback_ifsoftstart_transfer(void *ar
Line 1048  xennetback_ifsoftstart_transfer(void *ar
                          * transfers the page containing the packet to the                           * transfers the page containing the packet to the
                          * remote domain, and map newp in place.                           * remote domain, and map newp in place.
                          */                           */
                         xpmap_phys_to_machine_mapping[                          xpmap_phys_to_machine_mapping[xmit_pa >> PAGE_SHIFT]
                             (xmit_pa - XPMAP_OFFSET) >> PAGE_SHIFT] =                              = newp_ma >> PAGE_SHIFT;
                             newp_ma >> PAGE_SHIFT;  
                         MULTI_update_va_mapping(mclp, xmit_va,                          MULTI_update_va_mapping(mclp, xmit_va,
                             newp_ma | PG_V | PG_RW | PG_U | PG_M, 0);                              newp_ma | PG_V | PG_RW | PG_U | PG_M, 0);
                         mclp++;                          mclp++;
Line 1059  xennetback_ifsoftstart_transfer(void *ar
Line 1058  xennetback_ifsoftstart_transfer(void *ar
                         gop++;                          gop++;
   
                         mmup->ptr = newp_ma | MMU_MACHPHYS_UPDATE;                          mmup->ptr = newp_ma | MMU_MACHPHYS_UPDATE;
                         mmup->val = (xmit_pa - XPMAP_OFFSET) >> PAGE_SHIFT;                          mmup->val = xmit_pa >> PAGE_SHIFT;
                         mmup++;                          mmup++;
   
                         /* done with this packet */                          /* done with this packet */

Legend:
Removed from v.1.47  
changed lines
  Added in v.1.48

CVSweb <webmaster@jp.NetBSD.org>