Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Aug 19, 2011

  1. mini-os: work around ld bug causing stupid CTOR count

    I'm seeing pvgrub crashing when running CTORs.  It appears its because
    the magic in the linker script is generating junk.  If I get ld to
    output a map, I see:
    
    .ctors          0x0000000000097000       0x18
                    0x0000000000097000                __CTOR_LIST__ = .
                    0x0000000000097000        0x4 LONG 0x25c04
                    (((__CTOR_END__ - __CTOR_LIST__) / 0x4) - 0x2)
     *(.ctors)
     .ctors         0x0000000000097004       0x10
                    /home/jeremy/hg/xen/unstable/stubdom/mini-os-x86_32-grub/mini-os.o
                    0x0000000000097014        0x4 LONG 0x0
                    0x0000000000097018                __CTOR_END__ = .
    
    
    In other words, somehow ((0x97018-0x97000) / 4) - 2 = 0x25c04
    
    The specific crash is that the ctor loop tries to call the NULL
    sentinel.  I'm seeing the same with the DTOR list.
    
    Avoid this by terminating the loop with the NULL sentinel, and get rid
    of the CTOR count entirely.
    
    From: Jeremy Fitzhardinge <jeremy@goop.org>
    Signed-off-by: Keir Fraser <keir@xen.org>
    authored August 19, 2011 jsgf committed August 19, 2011

Mar 17, 2011

  1. build: Make XEN_ROOT an absolute path.

    Otherwise make can search the path relative to certain standard paths
    such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in
    Config.mk suffers from this).
    
    Signed-off-by: Keir Fraser <keir@xen.org>
    authored March 17, 2011

Jan 11, 2011

  1. stubdom/minios: don't retrieve the address of void variable

    Objects must not be declared to have type void.  Declare shared_info
    to have the appropriate type instead.
    
    Author: Ganni Tedesco <gianni.tedesco@citrix.com>
    Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
    Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
    authored January 11, 2011

Jan 18, 2010

  1. sstabellini

    minios: implement xc_map_foreign_bulk

    In order to do so it modifies map_frames_ex and do_map_frames to take
    an int *err as parameter and return any error that way.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    authored January 18, 2010 Keir Fraser committed January 18, 2010

Oct 01, 2009

  1. stubdom/minios: re-structure headers

    As part of making stubdom usable on NetBSD, it is necessary to
    restructure the minios headers to avoid conflicts with NetBSD's
    crossbuild toolchain.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    authored October 01, 2009

Jul 15, 2009

  1. minios: switch to C99 integer types

    This is a necessary step to make minios build on NetBSD.
    
    Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
    authored July 15, 2009 Keir Fraser committed July 15, 2009

Jun 03, 2009

  1. minios: Clean up and remove Linux remnants from x86_64.S

    Sigend-off-by: Keir Fraser <keir.fraser@citrix.com>
    authored June 03, 2009

Jun 01, 2009

  1. minios: Remove Linux attribution for mktime() as it's not true since …

    …c/s 19638.
    
    Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
    authored June 01, 2009

May 26, 2009

  1. sstabellini

    minios: replace mktime implementation

    In the efforts to clarify MiniOS license it came to my attention that
    few portions of MiniOS were taken from other GPL projects, one of them
    is the mktime implementation. This patch replaces the current GPL
    licensed mktime implementation with a different and BSD licensed
    version.
    
    Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
    authored May 26, 2009 Keir Fraser committed May 26, 2009

Mar 13, 2009

  1. minios: allow to allocate machine contiguous pages

    This is a port of XenLinux xen_alloc_contig_memory() to mini-os. A
    sufficiently privileged mini-os guest can exchange a small number of
    its pages with machine contiguous pages.
    
    Signed-off-by: Rolf Neugebauer <rolf.neugebauer@netronome.com>
    authored March 13, 2009 Keir Fraser committed March 13, 2009

Mar 09, 2009

  1. Samuel Thibault

    minios: Fix 18874 memory clipping

    Fix 18874's memory clipping: there are three page-sized holes between
    direct mapping, demand mapping, heap pages and the end of memory.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    authored March 09, 2009 Keir Fraser committed March 09, 2009

Mar 02, 2009

  1. minios: general cleanup of mm.c

    Major clean up of mm.c. Added comments, fixed coding style, more
    sensible variable names, mark some local functions static etc.
    
    Signed-off-by: Rolf Neugebauer <rolf.neugebauer@netronome.com>
    Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    authored March 02, 2009
  2. minios: add ioremap/iounmap

    Add ioremap and iounmap functions to minios. Also move some unmapping
    code from and clean up mem_test.
    
    Signed-off-by: Rolf Neugebauer <rolf.neugebauer@netronome.com>
    Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    authored March 02, 2009

Feb 09, 2009

  1. minios: fix p2m on x86

    15675:bf85b467ee89 Fixed p2m on x86_64, but instead broke it on x86.
    
    Signed-off-by: Samuel Thibault <samuel.thibaut@ens-lyon.org>
    authored February 09, 2009 Keir Fraser committed February 09, 2009

Dec 05, 2008

  1. Samuel Thibault

    minios: Clip memory not usable by Mini-OS (above 1GB)

    Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
    authored December 05, 2008 Keir Fraser committed December 05, 2008

Nov 18, 2008

  1. [IA64] Remove the useless big endian stuff.

    This patch removes all the useless big endian stuff from the mini-os.
    Before there was an effort to support big endian for PV-guest.
    But the big endian support was never gotten into the common parts of
    the mini-os so it makes no sense to have this only in the ia64
    specific sources. And as there is no open source big endian os and
    porting our BS2000 os to ia64 was stopped, nobody wants that stuff
    in the common minos.
    So this looks ugly then and remove the big endian stuff.
    
    Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
    authored November 18, 2008

Nov 17, 2008

  1. [IA64] minios: Fix ctor and dtor sections.

    Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
    authored November 17, 2008
  2. [IA64] minios: Clean up the hypervisor interface

    move all hypervisor calls to xencomm
    
    Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
    authored November 17, 2008

Jul 18, 2008

  1. mini-os: export allocate_ondemand

    allocate_ondemand can be used to allocate addresse space. Primarily
    used for mapping MFNs, it can also be used e.g. to map grant refs.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored July 18, 2008 Keir Fraser committed July 18, 2008
  2. mini-os: add stack walking debug

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored July 18, 2008 Keir Fraser committed July 18, 2008

Jul 11, 2008

  1. stubdom: fixes for old gcc & binutils

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored July 11, 2008 Keir Fraser committed July 11, 2008

Jul 04, 2008

  1. stubdom: use host's gcc

    This makes stubdom use the host's gcc instead of downloading/compiling
    binutils+gcc.  That requires a bunch of changes and even uncovered a
    few bugs, but saves a lot of time.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored July 04, 2008 Keir Fraser committed July 04, 2008

Jun 20, 2008

  1. minios: do not systematically free the page under shared info, as the

    guest booted by PV-GRUB will need it.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 20, 2008 Keir Fraser committed June 20, 2008

Jun 18, 2008

  1. Add PV-GRUB

    This fetches GRUB1 sources, applies the {graphical, print function,
    save default, and ext3_256byte} patches from debian, and applies a
    patch to make it work on x86_64 and port it to Mini-OS.  By using
    libxc, PV-GRUB can then "kexec" the loaded kernel from inside the
    domain itself, hence permitting to avoid the security-concerned
    pygrub.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 18, 2008 Keir Fraser committed June 18, 2008

Jun 17, 2008

  1. minios,stubdom: Add OBJ_DIR parameter to compile outside sources,

    which permits to easily compile mini-os in various flavors. Also clean
    some parts of stubdom build.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 17, 2008 Keir Fraser committed June 17, 2008

Jun 12, 2008

  1. minios can cope with >4G CR3 since it never uses it

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 12, 2008 Keir Fraser committed June 12, 2008

Jun 10, 2008

  1. minios: Fix >4GB machine addresses

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 10, 2008 Keir Fraser committed June 10, 2008

Jun 09, 2008

  1. minios: add proper shutdown facilities

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored June 09, 2008 Keir Fraser committed June 09, 2008

May 27, 2008

  1. minios: We do not need to pin the page tables, as they implicitly get

    pinned when we point the permanent page directory to them.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored May 27, 2008 Keir Fraser committed May 27, 2008

May 23, 2008

  1. stubdom: fix constructors/destructors in 64bit mode

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored May 23, 2008 Keir Fraser committed May 23, 2008
  2. stubdom: complete libxc support

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored May 23, 2008 Keir Fraser committed May 23, 2008

May 22, 2008

  1. stubdom: support constructors and destructors

    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored May 22, 2008 Keir Fraser committed May 22, 2008

May 08, 2008

  1. i386: Remove non-PAE hypervisor build target.

    Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
    authored May 08, 2008
  2. minios: fix and enforce block_domain atomicity

    To ensure that the timer event is not lost, block_domain requires that
    event delivery is disabled.  SCHEDOP_block re-enables them, so for
    coherency (and fixing a bug actually), we should re-disable them
    after. Also, make sure that the caller disabled them.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored May 08, 2008 Keir Fraser committed May 08, 2008

Apr 16, 2008

  1. stubdom: sparse application's BSS by linking it separately first, put

    markers at its beginning and end, and then link with mini-os.
    That permits to stick a bit more to upstream qemu.
    
    Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
    authored April 16, 2008 Keir Fraser committed April 16, 2008
Something went wrong with that request. Please try again.