Commit Graph
99 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 2b3ef497e8 Update the hypercalls in Mini-OS to reflect the current state in XenLinux.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
2006-02-23 11:27:35 +01:00
kaf24@firebug.cl.cam.ac.uk 7fc4533b32 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>
2005-12-08 15:24:02 +01:00
kaf24@firebug.cl.cam.ac.uk f855f75259 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>
2005-12-06 16:05:31 +01:00
kaf24@firebug.cl.cam.ac.uk ca068fad60 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>
2005-10-27 17:43:29 +01:00
emellor@ewan 2a9831d0a8 Remove extraneous semicolon.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-09-20 17:25:27 +01:00
kaf24@firebug.cl.cam.ac.uk 79434e94bd Get rid of anonymous unions in public header files.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 13:13:10 +00:00
kaf24@firebug.cl.cam.ac.uk 3886819443 Remove unsued domain_controller.h file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-14 10:58:00 +00:00
kaf24@firebug.cl.cam.ac.uk 15a40c9975 Xen_version hypercalls takes two args, not one.
Signed-off-by: Ian Pratt <ian@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-09-12 12:29:40 +00:00
kaf24@firebug.cl.cam.ac.uk cdb8b09f6b 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>
2005-09-09 09:24:25 +00:00
kaf24@firebug.cl.cam.ac.uk d26b1c7f7f Mini-os fixes from Simon Kagstrom. 2005-09-02 10:04:42 +00:00
kaf24@firebug.cl.cam.ac.uk 393415f09c 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>
2005-08-26 10:35:36 +00:00
kaf24@firebug.cl.cam.ac.uk b7b544e749 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>
2005-08-25 16:25:26 +00:00
kaf24@firebug.cl.cam.ac.uk a1b473eb06 Mini-os updated to use the new time interface.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2005-08-20 09:35:38 +00:00
kaf24@firebug.cl.cam.ac.uk b7d34829a3 Mini-os updates from Grzegorz Milos. 2005-07-06 10:46:29 +00:00
kaf24@firebug.cl.cam.ac.uk bfad555857 bitkeeper revision 1.1415 (42887ada_Jmkta2rYHnpJBE2EVpy4w)
Remove generic 'fast trap' from the Xen public interfaces. Internally
within Xen, we automatically set up direct trap for int 0x80, which is
the only 'fast trap' vector that we ever supported anyway.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 10:50:02 +00:00
kaf24@scramble.cl.cam.ac.uk 5deb88b1a9 bitkeeper revision 1.1236.1.36 (4221cfd30UrMyu3TpXKGjVNXNVS1Bw)
Update 'xen version' in guest-OS images to 3.0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-27 13:49:07 +00:00
kaf24@scramble.cl.cam.ac.uk 6a329a59de bitkeeper revision 1.1236.1.16 (421db67dL0mXatHebAtt9KpMqkCIBQ)
More FPU fixes. Extend taskswitch hypercall to allow TS bit to be
cleared as well as set.
2005-02-24 11:11:57 +00:00
kaf24@scramble.cl.cam.ac.uk 054206d161 bitkeeper revision 1.1185 (420cf3c8-bMMcsnH1kMVRwy5AQ-ecg)
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
2005-02-11 18:04:56 +00:00
kaf24@scramble.cl.cam.ac.uk ec0f4bdc22 bitkeeper revision 1.1177.1.1 (420c983eSjbjDYGF-fYWrXw_L7qkLA)
Mini-OS cleanups. Bug fixes in x86_64 assembly code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-11 11:34:22 +00:00
kaf24@freefall.cl.cam.ac.uk 908871cf62 bitkeeper revision 1.1159.142.4 (4184b6d4rc3Jd2irJimPyupm4TO06A)
Rename Xen public interfaces.
 1. hypervisor-if.h is now xen.h
 2. hypervisor-ifs/ directory is now:
     <include/public/...> in Xen
     <asm/xen-public/...> in Linux
     <xen/...> in user space
2004-10-31 09:56:36 +00:00
mjw@wray-m-3.hpl.hp.com 9bdbe09f07 bitkeeper revision 1.1010.1.9 (40dc4078vvvprFxMFMTOULzuaeEQoQ)
Renaming 'xenmgr' to 'xen.xend'.
2004-06-25 15:10:48 +00:00
kaf24@scramble.cl.cam.ac.uk 6bf9a1e14c bitkeeper revision 1.1004 (40d9962b6c-Z9R9FquPba7TS8wG_1w)
Cleanups.
2004-06-23 14:39:39 +00:00
kaf24@scramble.cl.cam.ac.uk 86e0f16429 bitkeeper revision 1.994.1.4 (40d80db0ELJvAwrBu8alZswoyKyPpw)
Rename dom-control and scheduling interfaces for sanity and consistency.
2004-06-22 10:45:04 +00:00
kaf24@scramble.cl.cam.ac.uk 60b6be9ccd bitkeeper revision 1.982 (40d300456_XUbFFOMxRh4MjyB7AfJA)
Hacked the scheduler interfaces in Xen.
We now have synchronous pause.
Suspend/death VIRQs have gone away; replace by dom-controller msgs.
Xen no longer knows about PS/2 keyboard/mouse; DOM0 can go straight
at them.
2004-06-18 14:46:29 +00:00
kaf24@scramble.cl.cam.ac.uk 3e820c5dae bitkeeper revision 1.950 (40c86066TdQwTUVQtZ0q0py10MTUgg)
Removed old I/O world and cleaned up.
2004-06-10 13:21:42 +00:00
kaf24@scramble.cl.cam.ac.uk cce2235b0f bitkeeper revision 1.947 (40c84719Ozi8_o69nGYdNuJ6OQd4eQ)
Cleanup domain stop/crash. Provide notification to DOM0 so that
cleanup/postmortem can occur before domain is killed.
2004-06-10 11:33:45 +00:00
kaf24@scramble.cl.cam.ac.uk 74a3bae43b bitkeeper revision 1.913 (40ab4ea8vu84ako0LR_rQN0fDuznVw)
Fix the mmu_update hypercall interface.
2004-05-19 12:10:16 +00:00
kaf24@scramble.cl.cam.ac.uk 3072fef54d bitkeeper revision 1.825.3.18 (406aeeb6EYYfLTekemoWDRaWO8SuEQ)
highmem.c, highmem.h:
  new file
Many files:
  New bootstrap layout for DOM0 and for all Linux domains. Xenolinux now support CONFIG_HIGHMEM for up to 4GB allocated to a Xenolinux domain.
.del-highmem.h~c3cf3f6856a90f6:
  Delete: xenolinux-2.4.25-sparse/include/asm-xen/highmem.h
elf.h:
  Rename: xen/include/asm-i386/elf.h -> xen/include/xen/elf.h
.del-elf.h~57347596c85127ef:
  Delete: xen/include/asm-x86_64/elf.h
2004-03-31 16:15:50 +00:00
kaf24@scramble.cl.cam.ac.uk f914ededc5 bitkeeper revision 1.824 (40601cf9uRnKyyagj6umr4Oaf_-gWQ)
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
2004-03-23 11:18:17 +00:00
kaf24@scramble.cl.cam.ac.uk e4a5ef641c bitkeeper revision 1.822 (40600a0a9K2f7dR0Ky2OCGfBDHTTmQ)
Many files:
  xeno -> xen renames.
2004-03-23 09:57:30 +00:00
kaf24@scramble.cl.cam.ac.uk a9e181eb84 bitkeeper revision 1.778 (404f5c24HB4-3O5d1LoEBPgmh5h6tg)
Makefile:
  Create Xen interface symlink.
time.c, hypervisor-if.h, kernel.c:
  Fix shared_info to make CPU TSC arch-dependent.
2004-03-10 18:19:16 +00:00
kaf24@scramble.cl.cam.ac.uk b375e36223 bitkeeper revision 1.737.2.1 (403a19687Hq5Q8vjslGwmnEJKF9-Sg)
hypervisor.h, time.c, hypervisor-if.h, kernel.c, entry.S:
  Sanitise hypercall numbering. Added a get-xen-version hypercall.
2004-02-23 15:16:56 +00:00
kaf24@scramble.cl.cam.ac.uk cc52cc88bf bitkeeper revision 1.729 (4030df33sBhhycc0odkWGG3QYXaN1A)
hypervisor.h:
  Add memory clobbers to every hypercall stub. Otherwise we get hard to diagnose bugs.
2004-02-16 15:18:11 +00:00
kaf24@scramble.cl.cam.ac.uk dea8eefd62 bitkeeper revision 1.699 (401c05c9TV2zsaZ_e3zpy-zaKxCetw)
timer.c, timer.h, sched.h:
  new file
Many files:
  Rolf's new timer interface, plus various cleanups.
2004-01-31 19:45:13 +00:00
kaf24@scramble.cl.cam.ac.uk a2a4fd60d0 bitkeeper revision 1.695 (4017ff70oJV8517inpGbN1CixN6csw)
Many files:
  Clean up compile warnings. Added stricter gcc options for Xen build.
2004-01-28 18:29:04 +00:00
kaf24@scramble.cl.cam.ac.uk b88b24c645 bitkeeper revision 1.694 (40133166fMqipwBHlUP1QVHEO6EEOg)
Many files:
  From Kip Macy, we now are stricter when compiling the mini os.
2004-01-25 03:00:54 +00:00
kaf24@scramble.cl.cam.ac.uk c00aa14e17 bitkeeper revision 1.582 (3faf962fX5syo8fIhzw2drHCKGZJ0w)
os.h:
  Fix mini-os for pre 2.96 gcc.
2003-11-10 13:44:15 +00:00
kaf24@scramble.cl.cam.ac.uk 1959cab31a bitkeeper revision 1.560 (3fa8e3c6Enpzi2YxcvMiP8aJ3tXbnw)
hypervisor.h, setup.c, kernel.c:
  Finished guest support for suspend/resume.
2003-11-05 11:49:26 +00:00
kaf24@scramble.cl.cam.ac.uk 5ffd69822c bitkeeper revision 1.559 (3fa8d58fJMWFHK02Nc3nDhxvCmwvXA)
Many files:
  Cleanups -- Xen now doesn't need to know about the start_info structure for anything except DOM0 boot.
2003-11-05 10:48:47 +00:00
kaf24@scramble.cl.cam.ac.uk 589d8fae08 bitkeeper revision 1.558 (3fa8bde6eQgIO9tzKu1KolYWJYKnxg)
xen_log.c, hypervisor.h:
  Bug fixes. Minios shoudl work again now.
2003-11-05 09:07:50 +00:00
kaf24@scramble.cl.cam.ac.uk 5cf5933f37 bitkeeper revision 1.541.1.1 (3fa14b5aVZfwzFArgab1vhsTUV0TOA)
time.c, hypervisor.h, kernel.c, head.S:
  Fix minios to work with revised Xen 1.2 interface.
2003-10-30 17:33:14 +00:00
kaf24@scramble.cl.cam.ac.uk 35c6e9fc2e bitkeeper revision 1.536 (3f9fd20aglcfc5h0kB1oldciJuy2dQ)
Many files:
  Modified blkdev and network interfaces to allow expedited flushing of pending request buffers.
2003-10-29 14:43:22 +00:00
kaf24@scramble.cl.cam.ac.uk 80e8211171 bitkeeper revision 1.532 (3f9e5323lNKiselc-ZGn8rFVU5PAVQ)
Many files:
  Cleanups and renames to teh Xen interface.
.del-dom_mem_ops.h~73077f4b4349054:
  Delete: xenolinux-2.4.22-sparse/arch/xeno/drivers/balloon/dom_mem_ops.h
dom_mem_ops.h:
  Rename: xen/include/xeno/dom_mem_ops.h -> xen/include/hypervisor-ifs/dom_mem_ops.h
2003-10-28 11:29:39 +00:00
kaf24@scramble.cl.cam.ac.uk d47201cc4f bitkeeper revision 1.520 (3f8d13d8qVVqxcYD--4cXYs5egqNyg)
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
2003-10-15 09:31:04 +00:00
kaf24@scramble.cl.cam.ac.uk a80f7fc909 bitkeeper revision 1.501.1.2 (3f87baa7GCRi_yatMEUW36MM6ZAyEQ)
xen_refresh_dev.c:
  new file
2003-10-11 08:09:11 +00:00
kaf24@scramble.cl.cam.ac.uk f5e39ec466 bitkeeper revision 1.490 (3f831e5fpXnszWjg8lV_9law4lUnbg)
COPYING:
  new file
mm.c, hypervisor.c:
  Clearly GPL the mini-os.
2003-10-07 20:13:19 +00:00
iap10@labyrinth.cl.cam.ac.uk d5d4e6ed04 bitkeeper revision 1.485 (3f81b19fL5Y4lVlRaEpJI9r_IZlDcw)
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
2003-10-06 18:17:03 +00:00
iap10@labyrinth.cl.cam.ac.uk 550718896b bitkeeper revision 1.484 (3f81a9e9NHEXcbdhSQY4okBiJfC9XA)
mini-os Makefile improvements
2003-10-06 17:44:09 +00:00
iap10@labyrinth.cl.cam.ac.uk e4130630e1 bitkeeper revision 1.483 (3f81a3e2iM-0WXaGxUS3ywM3_KZqLw)
move mini-os to extras directory
2003-10-06 17:18:26 +00:00