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
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
kfraser@localhost.localdomain
5edcddf706
[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:13 +01:00
kfraser@localhost.localdomain
79700a5ce7
[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 >
2006-07-05 11:27:58 +01:00
kfraser@localhost.localdomain
933e1fc274
[MINIOS] Implement XenBus transactions in MiniOS.
...
Signed-off-by: Steven Smith <sos22@cam.ac.uk >
2006-07-05 11:26:57 +01:00
sos22@douglas.cl.cam.ac.uk
70d8ee3676
This patch exposes XenBus functions to Mini-OS applications.
...
Signed-of-by: John D. Ramsdell <ramsdell@mitre.org >
2006-06-13 15:17:01 +01:00
kaf24@firebug.cl.cam.ac.uk
7469df6c08
[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 >
2006-05-31 07:43:06 +01:00
kaf24@firebug.cl.cam.ac.uk
0306a3dcf8
[MINIOS] PAE support.
...
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com >
2006-05-19 16:52:52 +01:00
kaf24@firebug.cl.cam.ac.uk
395112e684
Allow linking of mini-os with application-specific object code.
...
From: Jacob Gorm Hansen
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-05-15 16:32:09 +01:00
kaf24@firebug.cl.cam.ac.uk
f2882b8726
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 >
2006-05-04 11:24:19 +01:00
kaf24@firebug.cl.cam.ac.uk
f08246e197
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 >
2006-05-02 09:12:39 +01:00
kaf24@firebug.cl.cam.ac.uk
70f46c3045
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 >
2006-03-24 10:52:10 +01:00
kaf24@firebug.cl.cam.ac.uk
c7b965a01c
Fix mini-os xenbus.
...
From: Grzegorz Milos <gm281@cam.ac.uk >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-24 10:47:48 +01:00
kaf24@firebug.cl.cam.ac.uk
a54b2baac2
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 >
2006-03-15 20:25:50 +01:00
kaf24@firebug.cl.cam.ac.uk
44fb8b7296
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 >
2006-03-09 15:57:32 +01:00
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
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