aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os
Commit message (Collapse)AuthorAgeFilesLines
* [MINIOS] More cleanups for the ia64 port.kfraser@localhost.localdomain2007-01-196-22/+38
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Fix compile warnings with -O.kfraser@localhost.localdomain2007-01-193-3/+2
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Added domctl and sysctl hypercalls to thekfraser@localhost.localdomain2007-01-193-1/+29
| | | | | | | architecture-specific header files. Also increased the __XEN_INTERFACE_VERSION__ to 0x00030205. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
* [MINIOS] New make structure to support different architectures.kfraser@localhost.localdomain2007-01-178-89/+190
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Clean up final link stage of the build.kaf24@firebug.cl.cam.ac.uk2007-01-151-9/+13
| | | | | | | | | | | | | 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>
* [MINIOS] Update __XEN_INTERFACE_VERSION__kfraser@localhost.localdomain2007-01-124-18/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] Implement a network frontend driver.kfraser@localhost.localdomain2007-01-123-2/+466
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Fix grant-entry freelist maintenance.kfraser@localhost.localdomain2007-01-121-20/+12
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Support xenbus watches.kfraser@localhost.localdomain2007-01-122-7/+80
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Improved unbind_all_ports().kfraser@localhost.localdomain2006-11-302-12/+16
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Switched to new interface for HYPERVISOR_sched_op().kfraser@localhost.localdomain2006-11-273-3/+7
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Exports a function to have all Xen ports unbound.kfraser@localhost.localdomain2006-11-271-0/+15
| | | | | | This is necessary when using mini-os as the foundation for a boot-loader. Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved tokfraser@localhost.localdomain2006-11-229-691/+875
| | | | | | | | | 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>
* [MINIOS] Delay enabling event delivery at start of day.kfraser@localhost.localdomain2006-11-201-3/+3
| | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Refactor spinlock header for multi-arch support.kfraser@localhost.localdomain2006-11-172-33/+60
| | | | | | | | 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>
* [MINIOS] Event channel hypercall update for 64-bit guests.kfraser@localhost.localdomain2006-11-173-4/+8
| | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Move initialisation of events (masking event channels)kfraser@localhost.localdomain2006-11-173-8/+7
| | | | | | | earlier during the boot process. Otherwise 64bit guests would sometimes crash. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Add timer support.kfraser@localhost.localdomain2006-11-156-27/+97
| | | | | | Based on an original patch by Robert Kaiser. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Added a new file arc/x86/setup.c and moved some x86 specifickfraser@localhost.localdomain2006-09-233-65/+117
| | | | | | | initialization stuff from kernel.c there. Two new functions are added to handle this. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Fix to use new event-channel API properly.kaf24@firebug.cl.cam.ac.uk2006-09-153-24/+20
| | | | Signed-off-by: Mark Williamson <mark.williamson@cl.cam.ac.uk>
* [MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the buildAnil Madhavapeddy2006-08-311-0/+3
|
* [MINIOS] Fix the build after start_info interface changes.kfraser@localhost.localdomain2006-08-161-4/+4
| | | | | Signed-off-by: Anil Madhavapeddy <anil@xensource.com>
* [MINIOS] A first step to re-architecture mini-os for a port to ia64.kfraser@localhost.localdomain2006-08-109-4/+56
| | | | | | | | 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>
* [MINI-OS] Add a function mapping grant table error codes to strings.sos22@douglas.cl.cam.ac.uk2006-07-282-0/+13
| | | | | Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] Add evtchn_bind_interdomain to mini-os, allowing clients tosos22@douglas.cl.cam.ac.uk2006-07-282-0/+23
| | | | | | | bind to interdomain event channels. Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] Extend alloc_unbound so that the remote domain isn't always dom0.sos22@douglas.cl.cam.ac.uk2006-07-282-19/+17
| | | | | Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] Clean up event channel types in mini-os.sos22@douglas.cl.cam.ac.uk2006-07-285-26/+24
| | | | | Signed-off-by: John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] unbind_virq is broken and nobody uses it. Remove it.sos22@douglas.cl.cam.ac.uk2006-07-282-6/+0
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] Fix a bug which prevented map_frames being used more than once.sos22@douglas.cl.cam.ac.uk2006-07-251-1/+1
| | | | | | Found by John D. Ramsdell <ramsdell@mitre.org> Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINIOS] Mapping page frames on demand added to the memory management.kfraser@localhost.localdomain2006-07-054-2/+233
| | | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS]Mapping page frames on demand added to the memory management.kfraser@localhost.localdomain2006-07-052-3/+128
| | | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS]Events handling cleaned up. The interface extended to providekfraser@localhost.localdomain2006-07-057-53/+92
| | | | | | | void* pointer to handlers. Signed-off-by: Steven Smith <sos22@cam.ac.uk> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] XenBus tests disabled in MiniOS. Xend bug inducedkfraser@localhost.localdomain2006-07-051-1/+2
| | | | | | by write to device/vif/0. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Implement XenBus transactions in MiniOS.kfraser@localhost.localdomain2006-07-052-28/+104
| | | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* [MINI-OS] Fix for event initialisation in Mini-OS. All events are masked when kaf24@firebug.cl.cam.ac.uk2006-06-151-3/+9
| | | | | | | | 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>
* [MINI-OS] Applications that provide their own app_main need not run the ↵kaf24@firebug.cl.cam.ac.uk2006-06-131-13/+10
| | | | | | | xenbus test. Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
* Expand test_xenbus a little.sos22@douglas.cl.cam.ac.uk2006-06-131-0/+35
| | | | Signed-off-by: Steven Smith <sos22@cam.ac.uk>
* This patch exposes XenBus functions to Mini-OS applications.sos22@douglas.cl.cam.ac.uk2006-06-132-25/+158
| | | | Signed-of-by: John D. Ramsdell <ramsdell@mitre.org>
* Use a global build configuration file, and rework libxc Makefile for PPC.kfraser@dhcp93.uk.xensource.com2006-05-311-1/+2
| | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* [MINIOS] Various address-space fixes.kaf24@firebug.cl.cam.ac.uk2006-05-316-32/+91
| | | | | | | | | | | | | 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>
* [MINIOS] Allows the use of a C library without modifying Mini-OS source files.kaf24@firebug.cl.cam.ac.uk2006-05-263-5/+12
| | | | | | From: John Ramsdell Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] PAE support.kaf24@firebug.cl.cam.ac.uk2006-05-197-58/+133
| | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* This patch fixes the x86_64 __xen_guest section allowing Mini-OS to run again.kaf24@firebug.cl.cam.ac.uk2006-05-171-1/+2
| | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* [MINIOS] Fix the pagefault handler to detect recursive faults.kaf24@firebug.cl.cam.ac.uk2006-05-162-2/+23
| | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Allow linking of mini-os with application-specific object code.kaf24@firebug.cl.cam.ac.uk2006-05-154-17/+31
| | | | | | From: Jacob Gorm Hansen Signed-off-by: Keir Fraser <keir@xensource.com>
* Change Mini-OS so that it uses stddef.h to define size_t andkaf24@firebug.cl.cam.ac.uk2006-05-043-5/+1
| | | | | | | 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>
* Fix fault handler for both 32 and 64 bit architecture. Clean up unused code.kaf24@firebug.cl.cam.ac.uk2006-05-045-197/+95
| | | | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* Fix x86/64 version of Mini-OS. It encompasses the following:kaf24@firebug.cl.cam.ac.uk2006-05-0211-36/+381
| | | | | | | | | | 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>
* build: Clean up use of .PHONYkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+3
| | | | | | | | | | | | * 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>
* Minor minios traps.c fix for x86/64.kaf24@firebug.cl.cam.ac.uk2006-04-011-28/+25
| | | | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>