aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/kernel.c
Commit message (Collapse)AuthorAgeFilesLines
* minios: POSIX fixesKeir Fraser2008-01-221-14/+1
| | | | | | Fixes some functions which are POSIX. Also make them ifndef HAVE_LIBC. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: Fix x86_32 compilationKeir Fraser2008-01-221-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add blkfront testingKeir Fraser2008-01-221-0/+176
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: make time interface POSIXKeir Fraser2008-01-211-1/+1
| | | | | | | timespec uses tv_sec and tv_nsec too. gettimeofday takes a tz argument. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Add FS backend/frontend drivers (frontend in minios only).Keir Fraser2008-01-181-0/+7
| | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* minios: support several netfrontsKeir Fraser2008-01-171-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* [MINIOS] Implement a network frontend driver.kfraser@localhost.localdomain2007-01-121-2/+9
| | | | Signed-off-by: Jacob Gorm Hansen <jacobg@diku.dk>
* [MINIOS] Switched to new interface for HYPERVISOR_sched_op().kfraser@localhost.localdomain2006-11-271-1/+5
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [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] Move initialisation of events (masking event channels)kfraser@localhost.localdomain2006-11-171-3/+3
| | | | | | | 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-151-0/+14
| | | | | | 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-231-65/+4
| | | | | | | 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] Mapping page frames on demand added to the memory management.kfraser@localhost.localdomain2006-07-051-1/+5
| | | | | | 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>
* [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>
* [MINIOS] PAE support.kaf24@firebug.cl.cam.ac.uk2006-05-191-1/+10
| | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* Allow linking of mini-os with application-specific object code.kaf24@firebug.cl.cam.ac.uk2006-05-151-1/+10
| | | | | | From: Jacob Gorm Hansen Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix x86/64 version of Mini-OS. It encompasses the following:kaf24@firebug.cl.cam.ac.uk2006-05-021-1/+25
| | | | | | | | | | 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>
* Fix mini-os xenbus.kaf24@firebug.cl.cam.ac.uk2006-03-241-18/+23
| | | | | | | From: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
* Implement console for Mini-os and also fix 2 bugs:kaf24@firebug.cl.cam.ac.uk2006-03-151-2/+8
| | | | | | | | | a) in initialising new page table frames b) in initialising idle thread. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Merge in the newer Xenbus implementation from Linux to the Mini-OS. The newkaf24@firebug.cl.cam.ac.uk2005-12-081-0/+1
| | | | | | | | | | | | | | 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>
* I've created a patch to get the mini-os to compile in Xen-unstable. The patchkaf24@firebug.cl.cam.ac.uk2005-10-271-2/+2
| | | | | | | | | | 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>
* Xenbus implementation ported from Linux to Mini-os, simple thread support ↵kaf24@firebug.cl.cam.ac.uk2005-09-091-12/+13
| | | | | | | | | | | 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>
* Memory management fixes. Page tables are created, buddy allocator now kaf24@firebug.cl.cam.ac.uk2005-08-251-1/+1
| | | | | | | | has ability to free memory (as well as allocate it). Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Mini-os updated to use the new time interface.kaf24@firebug.cl.cam.ac.uk2005-08-201-14/+0
| | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Mini-os updates from Grzegorz Milos.kaf24@firebug.cl.cam.ac.uk2005-07-061-33/+25
|
* bitkeeper revision 1.1185 (420cf3c8-bMMcsnH1kMVRwy5AQ-ecg)kaf24@scramble.cl.cam.ac.uk2005-02-111-1/+1
| | | | | | | Various mini-os and Xen fixes. The M2P table is now definitely accessible (read-only) from guest context. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1177.1.1 (420c983eSjbjDYGF-fYWrXw_L7qkLA)kaf24@scramble.cl.cam.ac.uk2005-02-111-4/+13
| | | | | | Mini-OS cleanups. Bug fixes in x86_64 assembly code. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1004 (40d9962b6c-Z9R9FquPba7TS8wG_1w)kaf24@scramble.cl.cam.ac.uk2004-06-231-14/+13
| | | | | Cleanups.
* bitkeeper revision 1.947 (40c84719Ozi8_o69nGYdNuJ6OQd4eQ)kaf24@scramble.cl.cam.ac.uk2004-06-101-1/+1
| | | | | | Cleanup domain stop/crash. Provide notification to DOM0 so that cleanup/postmortem can occur before domain is killed.
* bitkeeper revision 1.824 (40601cf9uRnKyyagj6umr4Oaf_-gWQ)kaf24@scramble.cl.cam.ac.uk2004-03-231-1/+1
| | | | | | | | | | | | Many files: xeno -> xen renames. xen_proc.c: Rename: xenolinux-2.4.25-sparse/arch/xen/lib/xeno_proc.c -> xenolinux-2.4.25-sparse/arch/xen/lib/xen_proc.c xen_proc.h: Rename: xenolinux-2.4.25-sparse/include/asm-xen/xeno_proc.h -> xenolinux-2.4.25-sparse/include/asm-xen/xen_proc.h Xen-HOWTO.txt: Rename: docs/Xeno-HOWTO.txt -> docs/Xen-HOWTO.txt
* bitkeeper revision 1.778 (404f5c24HB4-3O5d1LoEBPgmh5h6tg)kaf24@scramble.cl.cam.ac.uk2004-03-101-1/+1
| | | | | | | | Makefile: Create Xen interface symlink. time.c, hypervisor-if.h, kernel.c: Fix shared_info to make CPU TSC arch-dependent.
* bitkeeper revision 1.694 (40133166fMqipwBHlUP1QVHEO6EEOg)kaf24@scramble.cl.cam.ac.uk2004-01-251-1/+1
| | | | | | Many files: From Kip Macy, we now are stricter when compiling the mini os.
* bitkeeper revision 1.560 (3fa8e3c6Enpzi2YxcvMiP8aJ3tXbnw)kaf24@scramble.cl.cam.ac.uk2003-11-051-1/+1
| | | | | | hypervisor.h, setup.c, kernel.c: Finished guest support for suspend/resume.
* bitkeeper revision 1.559 (3fa8d58fJMWFHK02Nc3nDhxvCmwvXA)kaf24@scramble.cl.cam.ac.uk2003-11-051-2/+2
| | | | | | Many files: Cleanups -- Xen now doesn't need to know about the start_info structure for anything except DOM0 boot.
* bitkeeper revision 1.541.1.1 (3fa14b5aVZfwzFArgab1vhsTUV0TOA)kaf24@scramble.cl.cam.ac.uk2003-10-301-6/+17
| | | | | | time.c, hypervisor.h, kernel.c, head.S: Fix minios to work with revised Xen 1.2 interface.
* bitkeeper revision 1.520 (3f8d13d8qVVqxcYD--4cXYs5egqNyg)kaf24@scramble.cl.cam.ac.uk2003-10-151-0/+20
| | | | | | | | | | | | Many files: Fix the minos license so that it is usable for XP and BSD ports. minios.lds: Rename: extras/mini-os/vmlinux.lds -> extras/mini-os/minios.lds .del-list.h~d612a8726e8d42e: Delete: extras/mini-os/h/list.h .del-COPYING~1f9753354580bd13: Delete: extras/mini-os/COPYING
* bitkeeper revision 1.485 (3f81b19fL5Y4lVlRaEpJI9r_IZlDcw)iap10@labyrinth.cl.cam.ac.uk2003-10-061-2/+12
| | | | | | Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/rn212/xeno.mini into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
* bitkeeper revision 1.483 (3f81a3e2iM-0WXaGxUS3ywM3_KZqLw)iap10@labyrinth.cl.cam.ac.uk2003-10-061-0/+126
move mini-os to extras directory