Commit Graph
123 Commits
Author SHA1 Message Date
Keir Fraser a15ec0cdeb minios: Fix xenbus request-id release.
From: Jacob Gorm Hansen <jacobg@diku.dk>
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-04-06 10:15:31 +01:00
awilliam@xenbuild2.aw ebdb5845be merge with xen-unstable.hg 2007-03-20 15:19:38 -06:00
awilliam@xenbuild2.aw 52ae27be8a [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>
2007-03-20 10:07:11 -06:00
awilliam@xenbuild2.aw 048f2c148c [IA64][MINIOS] Fixed some big-endian bugs and add HYPERVISOR_suspend
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-03-20 09:51:45 -06:00
kaf24@firebug.cl.cam.ac.uk f55d16fa21 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>
2007-03-19 09:34:42 +00:00
kfraser@localhost.localdomain 5f3c8af40d 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>
2007-03-15 15:27:08 +00:00
awilliam@xenbuild2.aw 5340bb29c5 [IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGS
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-03-12 09:43:48 -06:00
awilliam@xenbuild2.aw 5ac1e3b0f0 merge with xen-unstable.hg 2007-03-07 12:38:28 -07:00
awilliam@xenbuild2.aw 097dd8288c [IA64][MINIOS] Make mini-os ia64 cross compile-able
Signed-off-by: Tristan Gingold <tgingold@free.fr>
2007-02-28 09:40:36 -07:00
awilliam@xenbuild2.aw 645be831a6 [IA64][MINIOS] Build fix
Fix specifier changed in common minios makerules.

Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-02-23 14:06:08 -07:00
awilliam@xenbuild2.aw 5a0cbf9162 merge with xen-unstable.hg 2007-02-20 12:58:22 -07:00
kfraser@localhost.localdomain 3b5ef8c46d minios: Fix xenbus-id allocation loop.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-02-19 15:50:29 +00:00
awilliam@xenbuild2.aw 8a9e0cc712 [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>
2007-02-15 13:13:36 -07:00
kfraser@localhost.localdomain a5333b24d5 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>
2007-02-15 14:18:21 +00:00
kfraser@localhost.localdomain 15587769c8 minios: Fix netfront for ia64.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-02-06 23:12:59 +00:00
kfraser@localhost.localdomain e5a28da5db minios: Fix bug in xenbus implementation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-02-02 15:55:56 +00:00
kfraser@localhost.localdomain 502043ef90 minios: Fix ret_from_exception routine. Stack consistency is now preserved.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2007-02-02 15:30:49 +00:00
kaf24@localhost.localdomain 9e73f98968 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>
2007-01-26 13:51:00 +00:00
kfraser@localhost.localdomain 4e8586dfa3 [MINIOS] More cleanups for the ia64 port.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:09:39 +00:00
kfraser@localhost.localdomain 2b68aee829 [MINIOS] Fix compile warnings with -O.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-19 15:08:15 +00:00
kfraser@localhost.localdomain a352d8d69f [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>
2007-01-19 12:11:52 +00:00
kfraser@localhost.localdomain f515c2cf95 [MINIOS] New make structure to support different architectures.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2007-01-17 15:09:50 +00:00
kaf24@firebug.cl.cam.ac.uk f28756a627 [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>
2007-01-15 12:25:04 +00:00
kfraser@localhost.localdomain b58029254d [MINIOS] Update __XEN_INTERFACE_VERSION__
Signed-off-by: Keir Fraser <keir@xensource.com>
2007-01-12 15:27:09 +00:00
kfraser@localhost.localdomain 2cf1159751 [MINIOS] Implement a network frontend driver.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2007-01-12 15:18:24 +00:00
kfraser@localhost.localdomain 213d576165 [MINIOS] Fix grant-entry freelist maintenance.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2007-01-12 15:16:05 +00:00
kfraser@localhost.localdomain ffe8d02e0d [MINIOS] Support xenbus watches.
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2007-01-12 15:15:25 +00:00
kfraser@localhost.localdomain 5fca0f03a3 Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2007-03-01 12:23:44 +00:00
kfraser@localhost.localdomain 84e23d3ec9 Fix PAE Mini-OS build.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2007-03-01 12:23:04 +00:00
kfraser@localhost.localdomain 89f6444794 [MINIOS] Improved unbind_all_ports().
Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
2006-11-30 17:17:28 +00:00
kfraser@localhost.localdomain 1d57fa7227 [MINIOS] Switched to new interface for HYPERVISOR_sched_op().
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
2006-11-27 10:23:19 +00:00
kfraser@localhost.localdomain d255c83172 [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>
2006-11-27 10:03:35 +00:00
kfraser@localhost.localdomain 531616bf98 [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>
2006-11-22 10:11:36 +00:00
kfraser@localhost.localdomain 8f97ebc65a [MINIOS] Delay enabling event delivery at start of day.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-20 10:33:35 +00:00
kfraser@localhost.localdomain 4fa75a7c3b [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>
2006-11-17 09:18:28 +00:00
kfraser@localhost.localdomain 5d3a4a3858 [MINIOS] Event channel hypercall update for 64-bit guests.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-17 09:16:51 +00:00
kfraser@localhost.localdomain 7d58e87410 [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>
2006-11-17 09:16:27 +00:00
kfraser@localhost.localdomain 4aad88265b [MINIOS] Add timer support.
Based on an original patch by Robert Kaiser.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-11-15 09:33:01 +00:00
kfraser@localhost.localdomain ff4b9c2134 [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>
2006-09-23 14:00:38 +01:00
kaf24@firebug.cl.cam.ac.uk d1423b2882 [MINIOS] Fix to use new event-channel API properly.
Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
2006-09-15 11:07:25 +01:00
Anil Madhavapeddy 80cc11a16f [MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the build 2006-08-31 12:07:46 +01:00
kfraser@localhost.localdomain eac498c52b [MINIOS] Fix the build after start_info interface changes.
Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
2006-08-16 16:48:45 +01:00
kfraser@localhost.localdomain 6b11879d81 [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>
2006-08-10 10:43:20 +01:00
sos22@douglas.cl.cam.ac.uk e6ce746c39 [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>
2006-07-28 14:06:27 +01:00
sos22@douglas.cl.cam.ac.uk e573f4fac0 [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>
2006-07-28 14:05:02 +01:00
sos22@douglas.cl.cam.ac.uk 194a6f6b1f [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>
2006-07-28 14:03:54 +01:00
sos22@douglas.cl.cam.ac.uk a0f55d516b [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>
2006-07-28 14:02:49 +01:00
sos22@douglas.cl.cam.ac.uk d4b239ecc1 [MINI-OS] unbind_virq is broken and nobody uses it. Remove it.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2006-07-28 14:00:37 +01:00
sos22@douglas.cl.cam.ac.uk 8903f962c4 [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>
2006-07-25 10:59:02 +01:00
kfraser@localhost.localdomain cbffd93cad [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>
2006-07-05 14:29:57 +01:00