]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/mini-os.git/log
people/liuw/libxenctrl-split/mini-os.git
17 years agominios: xenbus wait fixup
Keir Fraser [Wed, 24 Oct 2007 13:36:18 +0000 (14:36 +0100)]
minios: xenbus wait fixup
From: Samuel Thibault <samuel.thibault@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
17 years agominios: Make NSEC_TO_USEC/NSEC_TO_SEC macros expression safe.
Keir Fraser [Wed, 24 Oct 2007 13:35:19 +0000 (14:35 +0100)]
minios: Make NSEC_TO_USEC/NSEC_TO_SEC macros expression safe.
From: Samuel Thibault <samuel.thibault@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
17 years agominios: Fix get_current() inline asm.
Keir Fraser [Tue, 16 Oct 2007 08:30:20 +0000 (09:30 +0100)]
minios: Fix get_current() inline asm.
From: Samuel Thibault <samuel.thibault@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
17 years agoMiniOS: no-stack-protector added to the cflags if needed,
Keir Fraser [Tue, 9 Oct 2007 15:06:50 +0000 (16:06 +0100)]
MiniOS: no-stack-protector added to the cflags if needed,
and the default domain config file fixed.

From: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
17 years agominios: Remove unnecessary padding and unused sections from x86/64
Keir Fraser [Tue, 25 Sep 2007 09:12:49 +0000 (10:12 +0100)]
minios: Remove unnecessary padding and unused sections from x86/64
linker script.
Signed-off-by: Keir Fraser <keir@xensource.com>
17 years agomerge with xen-unstable.hg
Alex Williamson [Sun, 12 Aug 2007 20:50:02 +0000 (14:50 -0600)]
merge with xen-unstable.hg

17 years ago[MINIOS] fix x86_64 p2m map and CFLAGS
Tim Deegan [Thu, 2 Aug 2007 08:02:08 +0000 (09:02 +0100)]
[MINIOS] fix x86_64 p2m map and CFLAGS
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
17 years ago[IA64][MINIOS] PKR support
Alex Williamson [Tue, 31 Jul 2007 00:14:29 +0000 (18:14 -0600)]
[IA64][MINIOS] PKR support

- adds optimization feature for region 7 identity mapping
- adds protection keys to region 5 and region 7 addresses,
  may be used for testing the hypervisor protection key support

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
17 years ago[MINIOS][IA64] mini-os without linux-optimization in hypervisor
Alex Williamson [Tue, 26 Jun 2007 22:24:41 +0000 (16:24 -0600)]
[MINIOS][IA64] mini-os without linux-optimization in hypervisor

Make mini-os runnable again without the special linux optimization for the
identity mapping in the hypervisor.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agominios: Fix xenbus request-id release.
Keir Fraser [Fri, 6 Apr 2007 09:15:31 +0000 (10:15 +0100)]
minios: Fix xenbus request-id release.
From: Jacob Gorm Hansen <jacobg@diku.dk>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Tue, 20 Mar 2007 21:19:38 +0000 (15:19 -0600)]
merge with xen-unstable.hg

18 years ago[IA64][MINIOS] Make Endian-ness build changeable on the command line
awilliam@xenbuild2.aw [Tue, 20 Mar 2007 16:07:11 +0000 (10:07 -0600)]
[IA64][MINIOS] Make Endian-ness build changeable on the command line

Now you can do 'BIGENDIAN=y make'

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
18 years ago[IA64][MINIOS] Fixed some big-endian bugs and add HYPERVISOR_suspend
awilliam@xenbuild2.aw [Tue, 20 Mar 2007 15:51:45 +0000 (09:51 -0600)]
[IA64][MINIOS] Fixed some big-endian bugs and add HYPERVISOR_suspend

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agominios: Various small fixes.
kaf24@firebug.cl.cam.ac.uk [Mon, 19 Mar 2007 09:34:42 +0000 (09:34 +0000)]
minios: Various small fixes.

- Fixed type of variables in hypervisor.c.
- Fixed not removing a waiter from watch_queue.
- Make wait_for_watch() global accessible.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agominios: Fix an extern declaration and add an extra 'const' to
kfraser@localhost.localdomain [Thu, 15 Mar 2007 15:27:08 +0000 (15:27 +0000)]
minios: Fix an extern declaration and add an extra 'const' to
definition of a constant set of constant error strings.
Issues identified by Armand Puccetti.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS
awilliam@xenbuild2.aw [Mon, 12 Mar 2007 15:43:48 +0000 (09:43 -0600)]
[IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Wed, 7 Mar 2007 19:38:28 +0000 (12:38 -0700)]
merge with xen-unstable.hg

18 years agoCreate P2M map during Mini-OS boot (fixes 'xm dump-core').
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:44 +0000 (12:23 +0000)]
Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years agoFix PAE Mini-OS build.
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:04 +0000 (12:23 +0000)]
Fix PAE Mini-OS build.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[IA64][MINIOS] Make mini-os ia64 cross compile-able
awilliam@xenbuild2.aw [Wed, 28 Feb 2007 16:40:36 +0000 (09:40 -0700)]
[IA64][MINIOS] Make mini-os ia64 cross compile-able

Signed-off-by: Tristan Gingold <tgingold@free.fr>
18 years ago[IA64][MINIOS] Build fix
awilliam@xenbuild2.aw [Fri, 23 Feb 2007 21:06:08 +0000 (14:06 -0700)]
[IA64][MINIOS] Build fix

Fix specifier changed in common minios makerules.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Tue, 20 Feb 2007 19:58:22 +0000 (12:58 -0700)]
merge with xen-unstable.hg

18 years agominios: Fix xenbus-id allocation loop.
kfraser@localhost.localdomain [Mon, 19 Feb 2007 15:50:29 +0000 (15:50 +0000)]
minios: Fix xenbus-id allocation loop.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[IA64][MINIOS] Port of mini-os to ia64
awilliam@xenbuild2.aw [Thu, 15 Feb 2007 20:13:36 +0000 (13:13 -0700)]
[IA64][MINIOS] Port of mini-os to ia64

ia64 specific parts of mini-os.

Minimal config:

# Kernel image file.
kernel = "mini-os.gz"
# Initial memory allocation (in megabytes) for the new domain.
memory = 64
# A name for your domain.
name = "Mini-OS"

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agominios: build system cleanups.
kfraser@localhost.localdomain [Thu, 15 Feb 2007 14:18:21 +0000 (14:18 +0000)]
minios: build system cleanups.

- Added ARCH_LDFLAGS for architecture specific LDFLAGS
- Fixed build dependencies after changing makerule files
- Fixed ARCH_CFLAGS for 64bit guest, added ARCH_ASFLAGS
- Couple of variable renames

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years agominios: Fix netfront for ia64.
kfraser@localhost.localdomain [Tue, 6 Feb 2007 23:12:59 +0000 (23:12 +0000)]
minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years agominios: Fix bug in xenbus implementation.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:55:56 +0000 (15:55 +0000)]
minios: Fix bug in xenbus implementation.
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years agominios: Fix ret_from_exception routine. Stack consistency is now preserved.
kfraser@localhost.localdomain [Fri, 2 Feb 2007 15:30:49 +0000 (15:30 +0000)]
minios: Fix ret_from_exception routine. Stack consistency is now preserved.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years agominios : netfront driver fixes.
kaf24@localhost.localdomain [Fri, 26 Jan 2007 13:51:00 +0000 (13:51 +0000)]
minios : netfront driver fixes.

- Handle returned backend==NULL || mac==NULL, this leads sometimes to a crash.
- Remove unnecessary (and bogus) initialisation of np->rx.req_prod_pvt

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[MINIOS] More cleanups for the ia64 port.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:09:39 +0000 (15:09 +0000)]
[MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Fix compile warnings with -O.
kfraser@localhost.localdomain [Fri, 19 Jan 2007 15:08:15 +0000 (15:08 +0000)]
[MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Added domctl and sysctl hypercalls to the
kfraser@localhost.localdomain [Fri, 19 Jan 2007 12:11:52 +0000 (12:11 +0000)]
[MINIOS] Added domctl and sysctl hypercalls to the
architecture-specific header files. Also increased the
__XEN_INTERFACE_VERSION__ to 0x00030205.

Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
18 years ago[MINIOS] New make structure to support different architectures.
kfraser@localhost.localdomain [Wed, 17 Jan 2007 15:09:50 +0000 (15:09 +0000)]
[MINIOS] New make structure to support different architectures.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Clean up final link stage of the build.
kaf24@firebug.cl.cam.ac.uk [Mon, 15 Jan 2007 12:25:04 +0000 (12:25 +0000)]
[MINIOS] Clean up final link stage of the build.

Allow extra application objects to be linked against a partial link of
minios with non-global names localised. For now we assume that global
names ill be assigned a xenos_ prefix in due course. We may decide to
choose a different prefix.

Those who wish to finish the link from an external Makefile can link
their own objects against mini-os.o (which must be first in link
order!) and specify the appropriate architecture linker script.

Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[MINIOS] Update __XEN_INTERFACE_VERSION__
kfraser@localhost.localdomain [Fri, 12 Jan 2007 15:27:09 +0000 (15:27 +0000)]
[MINIOS] Update __XEN_INTERFACE_VERSION__
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[MINIOS] Implement a network frontend driver.
kfraser@localhost.localdomain [Fri, 12 Jan 2007 15:18:24 +0000 (15:18 +0000)]
[MINIOS] Implement a network frontend driver.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
18 years ago[MINIOS] Fix grant-entry freelist maintenance.
kfraser@localhost.localdomain [Fri, 12 Jan 2007 15:16:05 +0000 (15:16 +0000)]
[MINIOS] Fix grant-entry freelist maintenance.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
18 years ago[MINIOS] Support xenbus watches.
kfraser@localhost.localdomain [Fri, 12 Jan 2007 15:15:25 +0000 (15:15 +0000)]
[MINIOS] Support xenbus watches.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
18 years agomerge with xen-unstable.hg
awilliam@xenbuild2.aw [Thu, 14 Dec 2006 15:57:36 +0000 (08:57 -0700)]
merge with xen-unstable.hg

18 years ago[POWERPC] Merge with xen-unstable.hg.
Hollis Blanchard [Tue, 12 Dec 2006 15:58:42 +0000 (09:58 -0600)]
[POWERPC] Merge with xen-unstable.hg.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[POWERPC] Merge in outstanding changes from xenppc-unstable.hg.
Hollis Blanchard [Tue, 12 Dec 2006 15:56:06 +0000 (09:56 -0600)]
[POWERPC] Merge in outstanding changes from xenppc-unstable.hg.
It's a long story, but basically a small divergence in xenppc-unstable meant a
large number of changesets couldn't be directly imported to xen-unstable, so
this changeset includes all of them.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[MINIOS] Improved unbind_all_ports().
kfraser@localhost.localdomain [Thu, 30 Nov 2006 17:17:28 +0000 (17:17 +0000)]
[MINIOS] Improved unbind_all_ports().
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
18 years ago[MINIOS] Switched to new interface for HYPERVISOR_sched_op().
kfraser@localhost.localdomain [Mon, 27 Nov 2006 10:23:19 +0000 (10:23 +0000)]
[MINIOS] Switched to new interface for HYPERVISOR_sched_op().
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Exports a function to have all Xen ports unbound.
kfraser@localhost.localdomain [Mon, 27 Nov 2006 10:03:35 +0000 (10:03 +0000)]
[MINIOS] Exports a function to have all Xen ports unbound.

This is necessary when using mini-os as the foundation for a boot-loader.

Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
18 years ago[MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved to
kfraser@localhost.localdomain [Wed, 22 Nov 2006 10:11:36 +0000 (10:11 +0000)]
[MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved to
arch/x86/mm.c and arch/x86/sched.c. Header files were also refactored:
arch specific code got moved to include/x86/arch_mm.h and
include/x86/sched_mm.h.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Delay enabling event delivery at start of day.
kfraser@localhost.localdomain [Mon, 20 Nov 2006 10:33:35 +0000 (10:33 +0000)]
[MINIOS] Delay enabling event delivery at start of day.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Refactor spinlock header for multi-arch support.
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:18:28 +0000 (09:18 +0000)]
[MINIOS] Refactor spinlock header for multi-arch support.

I separated the spinlock parts special to the x86 architecture and
moved these to include/x86/arch_spinlock.h. The common code is now in
include/spinlock.h.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Event channel hypercall update for 64-bit guests.
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:16:51 +0000 (09:16 +0000)]
[MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Move initialisation of events (masking event channels)
kfraser@localhost.localdomain [Fri, 17 Nov 2006 09:16:27 +0000 (09:16 +0000)]
[MINIOS] Move initialisation of events (masking event channels)
earlier during the boot process. Otherwise 64bit guests would
sometimes crash.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Add timer support.
kfraser@localhost.localdomain [Wed, 15 Nov 2006 09:33:01 +0000 (09:33 +0000)]
[MINIOS] Add timer support.

Based on an original patch by Robert Kaiser.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Added a new file arc/x86/setup.c and moved some x86 specific
kfraser@localhost.localdomain [Sat, 23 Sep 2006 13:00:38 +0000 (14:00 +0100)]
[MINIOS] Added a new file arc/x86/setup.c and moved some x86 specific
initialization stuff from kernel.c there. Two new functions are added
to handle this.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINIOS] Fix to use new event-channel API properly.
kaf24@firebug.cl.cam.ac.uk [Fri, 15 Sep 2006 10:07:25 +0000 (11:07 +0100)]
[MINIOS] Fix to use new event-channel API properly.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
18 years ago[MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the build
Anil Madhavapeddy [Thu, 31 Aug 2006 11:07:46 +0000 (12:07 +0100)]
[MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the build

18 years ago[MINIOS] Fix the build after start_info interface changes.
kfraser@localhost.localdomain [Wed, 16 Aug 2006 15:48:45 +0000 (16:48 +0100)]
[MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
18 years ago[MINIOS] A first step to re-architecture mini-os for a port to ia64.
kfraser@localhost.localdomain [Thu, 10 Aug 2006 09:43:20 +0000 (10:43 +0100)]
[MINIOS] A first step to re-architecture mini-os for a port to ia64.
Create architecture specific directories below mini-os for sources
and below mini-os/include for headers.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
18 years ago[MINI-OS] Add a function mapping grant table error codes to strings.
sos22@douglas.cl.cam.ac.uk [Fri, 28 Jul 2006 13:06:27 +0000 (14:06 +0100)]
[MINI-OS] Add a function mapping grant table error codes to strings.

Signed-off-by: John D. Ramsdell <ramsdell@mitre.org>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] Add evtchn_bind_interdomain to mini-os, allowing clients to
sos22@douglas.cl.cam.ac.uk [Fri, 28 Jul 2006 13:05:02 +0000 (14:05 +0100)]
[MINI-OS] Add evtchn_bind_interdomain to mini-os, allowing clients to
bind to interdomain event channels.

Signed-off-by: John D. Ramsdell <ramsdell@mitre.org>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] Extend alloc_unbound so that the remote domain isn't always dom0.
sos22@douglas.cl.cam.ac.uk [Fri, 28 Jul 2006 13:03:54 +0000 (14:03 +0100)]
[MINI-OS] Extend alloc_unbound so that the remote domain isn't always dom0.

Signed-off-by: John D. Ramsdell <ramsdell@mitre.org>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] Clean up event channel types in mini-os.
sos22@douglas.cl.cam.ac.uk [Fri, 28 Jul 2006 13:02:49 +0000 (14:02 +0100)]
[MINI-OS] Clean up event channel types in mini-os.

Signed-off-by: John D. Ramsdell <ramsdell@mitre.org>
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] unbind_virq is broken and nobody uses it. Remove it.
sos22@douglas.cl.cam.ac.uk [Fri, 28 Jul 2006 13:00:37 +0000 (14:00 +0100)]
[MINI-OS] unbind_virq is broken and nobody uses it.  Remove it.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] Fix a bug which prevented map_frames being used more than once.
sos22@douglas.cl.cam.ac.uk [Tue, 25 Jul 2006 09:59:02 +0000 (10:59 +0100)]
[MINI-OS] Fix a bug which prevented map_frames being used more than once.
Found by John D. Ramsdell <ramsdell@mitre.org>

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINIOS] Mapping page frames on demand added to the memory management.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:57 +0000 (14:29 +0100)]
[MINIOS] Mapping page frames on demand added to the memory management.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS]Mapping page frames on demand added to the memory management.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 13:29:13 +0000 (14:29 +0100)]
[MINIOS]Mapping page frames on demand added to the memory management.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS]Events handling cleaned up. The interface extended to provide
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:58 +0000 (11:27 +0100)]
[MINIOS]Events handling cleaned up. The interface extended to provide
void* pointer to handlers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] XenBus tests disabled in MiniOS. Xend bug induced
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:27:25 +0000 (11:27 +0100)]
[MINIOS] XenBus tests disabled in MiniOS. Xend bug induced
by write to device/vif/0.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINIOS] Implement XenBus transactions in MiniOS.
kfraser@localhost.localdomain [Wed, 5 Jul 2006 10:26:57 +0000 (11:26 +0100)]
[MINIOS] Implement XenBus transactions in MiniOS.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years ago[MINI-OS] Fix for event initialisation in Mini-OS. All events are masked when
kaf24@firebug.cl.cam.ac.uk [Thu, 15 Jun 2006 12:20:43 +0000 (13:20 +0100)]
[MINI-OS] Fix for event initialisation in Mini-OS. All events are masked when
the system is started up. This prevents from getting spurious events
between hypercall to bind an event-channel and registering
appropriate event handler.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
18 years ago[MINI-OS] Applications that provide their own app_main need not run the xenbus test.
kaf24@firebug.cl.cam.ac.uk [Tue, 13 Jun 2006 15:07:16 +0000 (16:07 +0100)]
[MINI-OS] Applications that provide their own app_main need not run the xenbus test.
Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
18 years agoExpand test_xenbus a little.
sos22@douglas.cl.cam.ac.uk [Tue, 13 Jun 2006 14:19:09 +0000 (15:19 +0100)]
Expand test_xenbus a little.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
18 years agoThis patch exposes XenBus functions to Mini-OS applications.
sos22@douglas.cl.cam.ac.uk [Tue, 13 Jun 2006 14:17:01 +0000 (15:17 +0100)]
This patch exposes XenBus functions to Mini-OS applications.

Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
18 years agoUse a global build configuration file, and rework libxc Makefile for PPC.
kfraser@dhcp93.uk.xensource.com [Wed, 31 May 2006 10:31:52 +0000 (11:31 +0100)]
Use a global build configuration file, and rework libxc Makefile for PPC.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
18 years ago[MINIOS] Various address-space fixes.
kaf24@firebug.cl.cam.ac.uk [Wed, 31 May 2006 06:43:06 +0000 (07:43 +0100)]
[MINIOS] Various address-space fixes.

1. Make Mini-OS start from 0x0.
2. Fixes the pagetable builder to handle half full, but already mapped
pt frames.=20
3. Add a bounds check to ensure than Mini-OS does not try to use Xen
virtual space.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>

18 years ago[MINIOS] Allows the use of a C library without modifying Mini-OS source files.
kaf24@firebug.cl.cam.ac.uk [Fri, 26 May 2006 12:23:18 +0000 (13:23 +0100)]
[MINIOS] Allows the use of a C library without modifying Mini-OS source files.
From: John Ramsdell
Signed-off-by: Keir Fraser <keir@xensource.com>
18 years ago[MINIOS] PAE support.
kaf24@firebug.cl.cam.ac.uk [Fri, 19 May 2006 15:52:52 +0000 (16:52 +0100)]
[MINIOS] PAE support.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
18 years agoThis patch fixes the x86_64 __xen_guest section allowing Mini-OS to run again.
kaf24@firebug.cl.cam.ac.uk [Wed, 17 May 2006 22:15:36 +0000 (23:15 +0100)]
This patch fixes the x86_64 __xen_guest section allowing Mini-OS to run again.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
19 years ago[MINIOS] Fix the pagefault handler to detect recursive faults.
kaf24@firebug.cl.cam.ac.uk [Tue, 16 May 2006 15:34:27 +0000 (16:34 +0100)]
[MINIOS] Fix the pagefault handler to detect recursive faults.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoAllow linking of mini-os with application-specific object code.
kaf24@firebug.cl.cam.ac.uk [Mon, 15 May 2006 15:32:09 +0000 (16:32 +0100)]
Allow linking of mini-os with application-specific object code.
From: Jacob Gorm Hansen
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoChange Mini-OS so that it uses stddef.h to define size_t and
kaf24@firebug.cl.cam.ac.uk [Thu, 4 May 2006 10:24:19 +0000 (11:24 +0100)]
Change Mini-OS so that it uses stddef.h to define size_t and
NULL. This problem fixes errors that occur when linking Mini-OS with
ANSI standard code that uses stddef.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoFix fault handler for both 32 and 64 bit architecture. Clean up unused code.
kaf24@firebug.cl.cam.ac.uk [Thu, 4 May 2006 10:19:27 +0000 (11:19 +0100)]
Fix fault handler for both 32 and 64 bit architecture. Clean up unused code.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>

19 years agoFix x86/64 version of Mini-OS. It encompasses the following:
kaf24@firebug.cl.cam.ac.uk [Tue, 2 May 2006 08:12:39 +0000 (09:12 +0100)]
Fix x86/64 version of Mini-OS. It encompasses the following:
a) 64-bit switch_to scheduler macro (by Aravindh Puthiyaparambil)
b) implements 64-bit hypervisor_callback
c) fixes thread creation issues (thread_starter used to perform
initialisation)

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agobuild: Clean up use of .PHONY
kaf24@firebug.cl.cam.ac.uk [Mon, 10 Apr 2006 16:02:49 +0000 (17:02 +0100)]
build: Clean up use of .PHONY

* Move .PHONY directives next to targets,
  this makes them a lot harder to miss
* Add missing .PHONY directives
* Remove nonexistent .PHONY directives
* Hopefully I didn'T miss anything...

Signed-Off-By: Horms <horms@verge.net.au>
19 years agoMinor minios traps.c fix for x86/64.
kaf24@firebug.cl.cam.ac.uk [Sat, 1 Apr 2006 09:39:31 +0000 (10:39 +0100)]
Minor minios traps.c fix for x86/64.

Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>

19 years agoThe patch removes old Xenbus files, fixes 0 length mmu_updates table bug
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Mar 2006 09:52:10 +0000 (10:52 +0100)]
The patch removes old Xenbus files, fixes 0 length mmu_updates table bug
(bugfix by Melvin Anderson) and adds missing console.h header file
(again spotted by Melvin).

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoFix mini-os xenbus.
kaf24@firebug.cl.cam.ac.uk [Fri, 24 Mar 2006 09:47:48 +0000 (10:47 +0100)]
Fix mini-os xenbus.

From: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoImplement console for Mini-os and also fix 2 bugs:
kaf24@firebug.cl.cam.ac.uk [Wed, 15 Mar 2006 19:25:50 +0000 (20:25 +0100)]
Implement console for Mini-os and also fix 2 bugs:
a) in initialising new page table frames
b) in initialising idle thread.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years ago64 bit pagetable builder added to mm.c
kaf24@firebug.cl.cam.ac.uk [Thu, 9 Mar 2006 14:57:32 +0000 (15:57 +0100)]
64 bit pagetable builder added to mm.c
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoUpdate the hypercalls in Mini-OS to reflect the current state in XenLinux.
kaf24@firebug.cl.cam.ac.uk [Thu, 23 Feb 2006 10:27:35 +0000 (11:27 +0100)]
Update the hypercalls in Mini-OS to reflect the current state in XenLinux.

Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
19 years agoMerge in the newer Xenbus implementation from Linux to the Mini-OS. The new
kaf24@firebug.cl.cam.ac.uk [Thu, 8 Dec 2005 14:24:02 +0000 (15:24 +0100)]
Merge in the newer Xenbus implementation from Linux to the Mini-OS. The new
version compiles and starts up, but I'm not really sure how to test the new
xenbus implementation.

* Added unbind_evtchn
* Copied parts of the Linux spinlock implementation to make the changes to
  xenbus compared to Linux smaller. Also added a dummy rwsem implementation.
* Updated the xenbus-files

Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
19 years agoThe Mini-OS build once again broke, this time since vcpu_data became vcpu_info
kaf24@firebug.cl.cam.ac.uk [Tue, 6 Dec 2005 15:05:31 +0000 (16:05 +0100)]
The Mini-OS build once again broke, this time since vcpu_data became vcpu_info
and that XEN_VER in the __xen_guest section changed slightly. I've modified
the mini-os so that it at least compiles and boots again.

Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
19 years agoI've created a patch to get the mini-os to compile in Xen-unstable. The patch
kaf24@firebug.cl.cam.ac.uk [Thu, 27 Oct 2005 16:43:29 +0000 (17:43 +0100)]
I've created a patch to get the mini-os to compile in Xen-unstable. The patch
is pretty big, but this is mostly because I've replaced hypervisor.h with the
hypercalls.h header file from Linux (which seems easier to maintain
anyway). I've ignored X86_64.

Signed-off-by: Simon Kagstrom <simon.kagstrom@bth.se>
19 years agoRemove extraneous semicolon.
emellor@ewan [Tue, 20 Sep 2005 16:25:27 +0000 (17:25 +0100)]
Remove extraneous semicolon.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
19 years agoGet rid of anonymous unions in public header files.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 13:13:10 +0000 (13:13 +0000)]
Get rid of anonymous unions in public header files.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoRemove unsued domain_controller.h file.
kaf24@firebug.cl.cam.ac.uk [Wed, 14 Sep 2005 10:58:00 +0000 (10:58 +0000)]
Remove unsued domain_controller.h file.

Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoXen_version hypercalls takes two args, not one.
kaf24@firebug.cl.cam.ac.uk [Mon, 12 Sep 2005 12:29:40 +0000 (12:29 +0000)]
Xen_version hypercalls takes two args, not one.

Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
19 years agoXenbus implementation ported from Linux to Mini-os, simple thread support introduced
kaf24@firebug.cl.cam.ac.uk [Fri, 9 Sep 2005 09:24:25 +0000 (09:24 +0000)]
Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoMini-os fixes from Simon Kagstrom.
kaf24@firebug.cl.cam.ac.uk [Fri, 2 Sep 2005 10:04:42 +0000 (10:04 +0000)]
Mini-os fixes from Simon Kagstrom.

19 years agoThe patch removes broken, and very complicated malloc in
kaf24@firebug.cl.cam.ac.uk [Fri, 26 Aug 2005 10:35:36 +0000 (10:35 +0000)]
The patch removes broken, and very complicated malloc in
favour of much simpler (and working) Xen's allocator
(xmalloc by Rusty).

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoMemory management fixes. Page tables are created, buddy allocator now
kaf24@firebug.cl.cam.ac.uk [Thu, 25 Aug 2005 16:25:26 +0000 (16:25 +0000)]
Memory management fixes. Page tables are created, buddy allocator now
has ability to free memory (as well as allocate it).

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoMini-os updated to use the new time interface.
kaf24@firebug.cl.cam.ac.uk [Sat, 20 Aug 2005 09:35:38 +0000 (09:35 +0000)]
Mini-os updated to use the new time interface.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
19 years agoMini-os updates from Grzegorz Milos.
kaf24@firebug.cl.cam.ac.uk [Wed, 6 Jul 2005 10:46:29 +0000 (10:46 +0000)]
Mini-os updates from Grzegorz Milos.