Permalink
Commits on Oct 18, 2016
  1. Merge pull request #83 from ijackson-citrix/xendev-xenbus-fix

    Xendev xenbus fix
    ijackson-citrix committed on GitHub Oct 18, 2016
Commits on Oct 7, 2016
  1. librumpxen_xendev: Do not test uio->uio_offset in xenbus_dev_write

    This field is undefined on entry to f_write functions.
    
    (The copying of the file offset to and from this field is done by
    vn_read and vn_write, only for vnode entries, which this isn't.)
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 7, 2016
  2. librumpxen_xendev: Make WTROUBLE more anaphoric again

    In "librumpxen_xendev: xenbus: Reorganise to split minios from
    rumpkernel parts" WTROUBLE gained an argument for the common struct
    pointer, because the different call sites did (in that patch) call
    that struct pointer by different names.
    
    Since "librumpxen_xendev: busdev.c: Rename applicable `d' variables to
    `dc'" the common pointer is always `dc', so WTROUBLE can rely on that
    again.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 6, 2016
  3. librumpxen_xendev: Rename applicable `d' variables to `du'

    This used to be a reference to the shared device context structure.
    Now there are three structures.  Now there are three structures.
    Change all the variables referring to what is now struct
    rumpxenbus_data_user to `du'.  This completes the elimination of the
    conventional variable name `d'.  No functional change.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 6, 2016
  4. librumpxen_xendev: Rename applicable `d' variables to `dc'

    This used to be a reference to the shared device context structure.
    Now there are three structures.  Change all the variables referring to
    what is now struct rumpxenbus_data_common to `dc'.  This includes
    about half of the refernces in busdev_user.c.  No functional change.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 6, 2016
  5. librumpxen_xendev: Rename applicable `d' variables to `dd'

    This used to be a reference to the shared device context structure.
    Now there are three structures.  Change all the variables referring to
    what is now struct rumpxenbus_data_dev to `dd'.  This includes all the
    references in busdev.c.
    
    No functional change.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 5, 2016
  6. librumpxen_xendev: Add more debug

    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Sep 28, 2016
  7. librumpxen_xendev: Reorganise debug enablement slightly

    Invite people to turn on debug by defining the make variable
    RUMP_DEV_XEN_DEBUG rather than by editing .c files.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Sep 28, 2016
  8. librumpxen_xendev: Re-enable build for xenbus, and add it to the defa…

    …ult bake
    
    Fixes issue #73 for the xenbus driver.
    
    privcmd and evtchn are not fixed yet - they are still disabled.
    
    Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Sep 5, 2016
  9. librumpxen_xendev: xenbus: Remove dependency on <inttypes.h> in "user…

    …" code
    
    busdev_user.c is compiled in a minios context which sadly lacks
    <inttypes.h>.  Drop it, and change the one use of PRIx32 to a %lx
    (fixing the type of the cast, while we're at it).
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 7, 2016
  10. librumpxen_xendev: Disable privcmd and evtchn drivers for now

    We have fixed the xenbus driver, but the privcmd and evtchn drivers
    are still broken.  (Issue 73.)
    
    Disable these two (and add the note about the issue number).  This
    will allow us to enable the libbrumpxen_xendev build to get the xenbus
    driver.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 5, 2016
  11. librumpxen_xendev: xenbus: Reorganise to split minios from rumpkernel…

    … parts
    
    Split the xenbus driver into two pieces, busdev.c (in the netbsd
    kernel namespacve) and busdev_user.c (in the minios namespace).  They
    communicate via the (somewhat ad-hoc) interface in busdev_user.h.  The
    interface uses `rumpxenbus_*' names so that the two sides can call
    each other.  We split the state structure up into three: a netbsd
    part, a minios part, and a common part.
    
    This is actually largely a combination of code motion and function and
    type renaming.  There is little functional change from the previous
    "header abuse" approach, other than some minor interface adjustments.
    
    In much of the code `d' was used to refer to the device struct.  Now
    there are three context stucts.  For now I have retained in each
    function the use of `d' which producese the lowest amount of code
    churn.  The compiler makes sure the types all line up right.
    
    Later, the uses of `d' will each be changed to `dc', `du' or `dd'.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix Oct 5, 2016
  12. Search existing value of XEN_HEADERS for Xen headers

    This allows a caller to specify a specific location for the Xen
    headers.  For example, from a version of Xen just built in a
    neighbouring directory.
    
    (Without this it is not possible to build against a specific Xen
    without being able to overwrite system header areas.)
    
    If XEN_HEADERS is unset, or not suitable, use the existing search
    strategy.
    
    Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
    ijackson-citrix committed with ijackson-citrix May 26, 2016
Commits on Aug 19, 2016
  1. README: add java to langs

    [ci skip]
    anttikantee committed Aug 19, 2016
Commits on Aug 2, 2016
  1. pull in new src-netbsd

    anttikantee committed Aug 2, 2016
  2. pull in new buildrump.sh

    anttikantee committed Aug 2, 2016
Commits on Jul 28, 2016
  1. _lwp: add _sched_protect()

    Used by recent NetBSD libpthread.
    anttikantee committed Jul 28, 2016
  2. xenif: use m_set_rcvif() when >= 7.99.31

    XXX: this driver should use the kernel portion directly
    from upsteam sources.
    anttikantee committed Jul 28, 2016
Commits on Jul 5, 2016
Commits on Jun 24, 2016
  1. Merge pull request #78 from thedrow/patch-2

    Bump Travis workers OS version to Trusty
    anttikantee committed on GitHub Jun 24, 2016
  2. Upgrade gcc and binutils.

    thedrow committed Jun 24, 2016
  3. Specify -y for upgrade.

    thedrow committed on GitHub Jun 24, 2016
  4. Bump OS version to Trusty.

    thedrow committed on GitHub Jun 24, 2016
  5. Merge pull request #77 from thedrow/patch-1

    Enable ccache in Travis
    anttikantee committed on GitHub Jun 24, 2016
  6. Enable ccache in Travis

    thedrow committed on GitHub Jun 24, 2016
Commits on Jun 7, 2016
Commits on May 17, 2016
  1. Pull in latest buildrump.sh and src-netbsd

    Cosmetic'ish fixes.
    anttikantee committed May 17, 2016
  2. Switch to new-style pci hypercall defs

    Fixes issue #38
    anttikantee committed May 17, 2016
  3. pull in new src-netbsd

    updates NetBSD blanket timestamp to May 2016
    anttikantee committed May 17, 2016
  4. pull in new buildrump.sh

    anttikantee committed May 17, 2016
  5. disable librumpxen_xendev

    issue #73
    anttikantee committed May 17, 2016
Commits on May 11, 2016