Permalink
Commits on Apr 8, 2018
  1. Merge pull request #121 from yarlB/direct-gcc-reference-nonsense

    anttikantee committed Apr 8, 2018
    Remove direct (one and only) gcc reference in build-rr.sh
  2. Merge pull request #120 from yarlB/CC-substitution-homogenization

    anttikantee committed Apr 8, 2018
    Substitution of CC parameter homogenization.
  3. Merge pull request #119 from yarlB/rumpmake-abspath-fix

    anttikantee committed Apr 8, 2018
    Tiny fix absolute path -o option.
Commits on Feb 15, 2018
  1. Merge pull request #118 from kent-mcleod/stretch-linking-defaultpie

    kent-mcleod committed Feb 15, 2018
    Fix linking on Debian Stretch (gcc-6)
  2. Add further -no-pie checks to Rumprun build tools

    kent-mcleod committed Feb 14, 2018
    This builds upon the previous commit to add -no-pie anywhere the
    relocatable flag (-Wl,-r) is used to handle compilers that enable -pie
    by default (Such as Debian Stretch).
Commits on Jan 5, 2018
  1. Merge pull request #112 from najamelan/bugfix/gcc7-fallthrough

    gandro committed Jan 5, 2018
    Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7
Commits on Jan 4, 2018
  1. Make the disabling of the fallthrough warning dependent on GCC version

    najamelan committed Jan 4, 2018
    This should prevent older gcc versions from choking on unknown argument.
    
    I have not tested this, just wrote the code directly on github. Use with caution.
Commits on Jan 3, 2018
  1. Add the -Wimplicit-fallthrough=0 flag to allow compiling with GCC7

    najamelan committed Jan 3, 2018
    GCC7 comes with a new warning "implicit-fallthrough" which will prevent building the netbsd-src.
    
    For more information: https://dzone.com/articles/implicit-fallthrough-in-gcc-7
Commits on Jun 8, 2017
  1. Fix linking on Debian Stretch

    liuw committed Jun 7, 2017
    Provide cc-option. Use that to check if -no-pie is available and
    append it when necessary.
    
    Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Commits on Mar 17, 2017
  1. Merge pull request #92 from fltt/patches

    anttikantee committed Mar 17, 2017
    Fix awk locale and enable SSE
  2. Enable SSE in i386

    fltt committed Mar 12, 2017
    For libcompiler_rt makes use of SSE instructions in its floating point
    routines, CR4's OSFXSR flag must be enabled or an #UD exception will
    ensue.
    This patch also enables the OSXMMEXCPT flag, just to be in sync with
    the amd64 version of the boot code.
Commits on Mar 16, 2017
  1. Use C locale when invoking awk

    fltt authored and anttikantee committed Mar 12, 2017
    If LANG is set to some locale that defines the decimal dot to be
    something other than a dot (e.g., a comma), then awk will fail to parse
    GCC and ld's version numbers.
Commits on Mar 13, 2017
  1. pull in latest buildrump.sh

    anttikantee committed Mar 13, 2017
    should fix #14
Commits on Oct 18, 2016
Commits on Oct 7, 2016
  1. librumpxen_xendev: Do not test uio->uio_offset in xenbus_dev_write

    ijackson-citrix committed Oct 7, 2016
    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>
  2. librumpxen_xendev: Make WTROUBLE more anaphoric again

    ijackson-citrix committed Oct 6, 2016
    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>
  3. librumpxen_xendev: Rename applicable `d' variables to `du'

    ijackson-citrix committed Oct 6, 2016
    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>
  4. librumpxen_xendev: Rename applicable `d' variables to `dc'

    ijackson-citrix committed Oct 6, 2016
    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>
  5. librumpxen_xendev: Rename applicable `d' variables to `dd'

    ijackson-citrix committed Oct 5, 2016
    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>
  6. librumpxen_xendev: Add more debug

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

    ijackson-citrix committed Sep 28, 2016
    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>
  8. librumpxen_xendev: Re-enable build for xenbus, and add it to the defa…

    ijackson-citrix committed Sep 5, 2016
    …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>
  9. librumpxen_xendev: xenbus: Remove dependency on <inttypes.h> in "user…

    ijackson-citrix committed Oct 7, 2016
    …" 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>
  10. librumpxen_xendev: Disable privcmd and evtchn drivers for now

    ijackson-citrix committed Oct 5, 2016
    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>
  11. librumpxen_xendev: xenbus: Reorganise to split minios from rumpkernel…

    ijackson-citrix committed Oct 5, 2016
    … 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>
  12. Search existing value of XEN_HEADERS for Xen headers

    ijackson-citrix committed May 26, 2016
    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>
Commits on Aug 19, 2016
  1. README: add java to langs

    anttikantee committed Aug 19, 2016
    [ci skip]
Commits on Aug 2, 2016
  1. pull in new buildrump.sh

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

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

    anttikantee committed Jul 28, 2016
    XXX: this driver should use the kernel portion directly
    from upsteam sources.
Commits on Jul 5, 2016