kfraser@dhcp93.uk.xensource.com
3f2522e1ac
Use a global build configuration file, and rework libxc Makefile for PPC.
...
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
2006-05-31 11:31:52 +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
165bf6f0bd
[MINIOS] Allows the use of a C library without modifying Mini-OS source files.
...
From: John Ramsdell
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-05-26 13:23:18 +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
2045b32eff
This patch fixes the x86_64 __xen_guest section allowing Mini-OS to run again.
...
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com >
2006-05-17 23:15:36 +01:00
kaf24@firebug.cl.cam.ac.uk
53f1439338
[MINIOS] Fix the pagefault handler to detect recursive faults.
...
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk >
2006-05-16 16:34:27 +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
f5ca520dc4
Fix fault handler for both 32 and 64 bit architecture. Clean up unused code.
...
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk >
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com >
2006-05-04 11:19:27 +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
b5fa90ac8e
build: Clean up use of .PHONY
...
* 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 >
2006-04-10 17:02:49 +01:00
kaf24@firebug.cl.cam.ac.uk
76d1c06d09
Minor minios traps.c fix for x86/64.
...
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com >
2006-04-01 10:39:31 +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
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