Commit Graph
3634 Commits
Author SHA1 Message Date
kaf24@scramble.cl.cam.ac.uk 8ef86134ea bitkeeper revision 1.1159.212.98 (4204e7b362YvATmkfmBxuFTvYN9JQQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 15:35:15 +00:00
kaf24@scramble.cl.cam.ac.uk e98bfa2604 bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)
More common-code movements for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 15:35:09 +00:00
mafetter@fleming.research 96c508b864 bitkeeper revision 1.1159.212.97 (4204dcc70PktbFSV6N0XNpd9T7Z_Nw)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
2005-02-05 14:48:39 +00:00
kaf24@scramble.cl.cam.ac.uk 4fe70c2f8c bitkeeper revision 1.1159.246.2 (4204c18cvI5Uk50dXB8wqfQwKj9ZGw)
Manual merge.
Signed-off-by: keir.fraser@Cl.cam.ac.uk
2005-02-05 12:52:28 +00:00
kaf24@scramble.cl.cam.ac.uk da6601fe81 bitkeeper revision 1.1159.246.1 (4204bf62SAXmiDrhK-FnLlQjHbkY8A)
Manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:43:14 +00:00
kaf24@scramble.cl.cam.ac.uk 8a830062ec bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-02-05 12:39:41 +00:00
kaf24@scramble.cl.cam.ac.uk 48ff6b71e1 bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:39:34 +00:00
mafetter@fleming.research 52c1b8b3dc bitkeeper revision 1.1159.212.96 (4204aff5pQipffND8_37kyj01pfiWQ)
Hand merge changes to schedule.c
  
Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 11:37:25 +00:00
kaf24@scramble.cl.cam.ac.uk 73445e880f bitkeeper revision 1.1159.212.95 (4204aa0ee0re5Xx1zWrJ9ejxzgRs3w)
Various cleanups. Remove PDB pending simpler GDB stub and/or NetBSD debugger.
Force emacs mode to appropriate tabbing in various files.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 11:12:14 +00:00
mafetter@fleming.research f18239411b bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.

Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall.  If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 10:50:49 +00:00
kaf24@scramble.cl.cam.ac.uk 228e9fba60 bitkeeper revision 1.1159.212.94 (4204a0deFxk8r7Vhks3j_qvRlbZMJQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 10:33:02 +00:00
kaf24@scramble.cl.cam.ac.uk fc3efe0ada bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 10:31:37 +00:00
kaf24@scramble.cl.cam.ac.uk 180083a912 bitkeeper revision 1.1159.212.93 (42049334yxlf_y0Z3UvBj3IoXK5ToA)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 09:34:44 +00:00
kaf24@scramble.cl.cam.ac.uk 0292b858da bitkeeper revision 1.1159.244.1 (4204932bmZgxudypIonkb5Mm9GmAtA)
Create arch_do_boot_vcpu().
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 09:34:35 +00:00
iap10@freefall.cl.cam.ac.uk d551e3bc5c bitkeeper revision 1.1159.212.92 (4204921aEJqAV7p8MQEa98S3OLscXg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-05 09:30:02 +00:00
iap10@labyrinth.cl.cam.ac.uk d8ab68ec41 bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
 Libraries have 2 methods of being compiled; a .so must contain non-pic
 objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:16:37 +00:00
kaf24@scramble.cl.cam.ac.uk cd8fedf643 bitkeeper revision 1.1159.212.91 (42048eb0GfJFdOOq0Gqyg5xxYH7Mvw)
trivial deletion.
2005-02-05 09:15:28 +00:00
iap10@labyrinth.cl.cam.ac.uk bc7cc5527b bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
 Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:11:51 +00:00
iap10@labyrinth.cl.cam.ac.uk f7b633e6e8 bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
 distcc behaves much better when you compile and link in 2 separate steps.
 Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:05:43 +00:00
iap10@labyrinth.cl.cam.ac.uk 705cc430ce bitkeeper revision 1.1159.212.90 (42047ed5VzguPrbGsZXJdWcbuo6YgA)
remove slab.c
2005-02-05 08:07:49 +00:00
mwilli2@equilibrium.research 8b169a97c4 bitkeeper revision 1.1159.212.89 (42042bd8voKSmpFkxv2_28yjflPbmQ)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-05 02:13:44 +00:00
mwilli2@equilibrium.research 153e30de5a bitkeeper revision 1.1159.243.1 (42042ba8OAh4EZUckgdGWWSqRLutaQ)
Various cleanups, including a move to the new ring macros.
2005-02-05 02:12:56 +00:00
iap10@labyrinth.cl.cam.ac.uk b64bc9d18d bitkeeper revision 1.1159.212.88 (4203fbb5CoEmX_fzlXc90dxNw6gqoA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bkX
2005-02-04 22:48:21 +00:00
iap10@labyrinth.cl.cam.ac.uk b37b5de2e0 bitkeeper revision 1.1159.242.1 (4203fb9erjxo9v5Lwlohe2bcTrLYpg)
1. Deleted slab.c, added xmalloc.c.  Do not rename header or remove
        unnecessary includes (yet).
     2. Add explicit align arg, although current implementation
        over-aligns.
     3. Add list_for_each_entry_safe().
     4. Make xmalloc_array use _xmalloc_array, to avoid duplicate eval
        of "num" arg.
     5. Rearrange slab.h a little to show the exposed functions/macros
        first.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 22:47:58 +00:00
kaf24@scramble.cl.cam.ac.uk 02410e06fe bitkeeper revision 1.1159.212.87 (4203b25aTB_XSOA2G0yxgrj0ey-vIA)
Defined per-CPU SYSCALL entry point for hypercalls. We enter the DOM0
kernel and can receive hypercalls. Now probably need to fix the
user-access (uaccess.h) functions and macros.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-04 17:35:22 +00:00
kaf24@scramble.cl.cam.ac.uk 34e4604cf5 bitkeeper revision 1.1159.212.86 (4203944ddTnTLXj6fYycRHIqY8hdCQ)
Fix 64-bit domain builder to correctly determine required number of
page-table pages to build DOM0 image.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-04 15:27:09 +00:00
kaf24@scramble.cl.cam.ac.uk 18046c8291 bitkeeper revision 1.1159.212.85 (42038b45EjUo-1JiSCHXW0Wav4TZGQ)
x86_64 progress: now entering ring 3. Need a hypercall (SYSCALL)
entry point, and some kind of DOM0 image to test against.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-04 14:48:37 +00:00
iap10@labyrinth.cl.cam.ac.uk a586337b78 bitkeeper revision 1.1159.223.63 (4203717aBdG3DtxPLfIkAUZh6esBbg)
added tag RELEASE-2.0.4
2005-02-04 12:58:34 +00:00
kaf24@scramble.cl.cam.ac.uk 87fe872ace bitkeeper revision 1.1159.212.84 (42033fc2Q0eAAtQcKyCf8cXCt_Fgfg)
Common-code cleanups, for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-04 09:26:26 +00:00
mwilli2@equilibrium.research 7390280704 bitkeeper revision 1.1159.212.83 (4202dcffqbOtLEivv5VMfLvO9roE_w)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-04 02:25:03 +00:00
mwilli2@equilibrium.research 99be955033 bitkeeper revision 1.1159.212.82 (4202dcc3h_cg7sFBNwdIyCk_2qkX0A)
Beginning a sprean clean of the USB code.

Lots of cleanups and fixes (thanks to Harry Butterworth for pointing out several
locking and allocation errors).

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-02-04 02:24:03 +00:00
iap10@labyrinth.cl.cam.ac.uk 549450cbf5 bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-04 00:08:55 +00:00
iap10@labyrinth.cl.cam.ac.uk 02143f7644 bitkeeper revision 1.1159.241.3 (4202bcfcMuCoA62roOJu-r3AKctkBQ)
strncpy will stop after a zero byte. Use memcpy instead.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:08:28 +00:00
iap10@labyrinth.cl.cam.ac.uk 64b1c5e5be bitkeeper revision 1.1159.241.2 (4202bc56K28qaGGkiiKbJBLxsgnXSA)
Enable monitor assert. Earlier assert was broken and was deleted.

Signed-off-by: Joe Cihula <joseph.cihula@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:05:42 +00:00
iap10@labyrinth.cl.cam.ac.uk d78b499535 bitkeeper revision 1.1159.241.1 (4202bb72zRYg-QWeXrkKfXwmuL5I3A)
Add checking ISA DMA flag in cpu_loop. Also need to do bios_init manually
for now. With this change, floppy is functional.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:01:54 +00:00
mwilli2@equilibrium.research 58e8f23df1 bitkeeper revision 1.1159.212.81 (4202b326JJIfXeNBQXQRsDKmhOvNEw)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-03 23:26:30 +00:00
kaf24@scramble.cl.cam.ac.uk b5ce3cbcd0 bitkeeper revision 1.1159.240.2 (42028548cWA5UfVOtIVVGp5n3bPOKQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-03 20:10:48 +00:00
kaf24@scramble.cl.cam.ac.uk dc3c6686e6 bitkeeper revision 1.1159.223.63 (42028527-fv-d9BM0_LRp8UKGP19gQ)
Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
RELEASE-2.0.4
2005-02-03 20:10:15 +00:00
kaf24@scramble.cl.cam.ac.uk 772edb03e4 bitkeeper revision 1.1159.240.1 (42025e61IuxB-TOGFWNyIT0-7gRIuw)
More x86_64 progress: currently churning through construct_dom0.
Then will need a few extensions to entry.S and I can jump to ring 3.
To get hypercalls working I will need a SYSCALL entry point and also
to add uaccess.h/usercopy.S functionality.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 17:24:49 +00:00
mwilli2@equilibrium.research 61d2d4dcbc bitkeeper revision 1.1159.212.80 (42025e060u_9I_gXRlf-Xf6Ck27Bhg)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
2005-02-03 17:23:18 +00:00
kaf24@planb.cl.cam.ac.uk 5dddc28e3c bitkeeper revision 1.1159.212.79 (42025949UaM5lFgjnH_ynRCAqL6hhQ)
Merge planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-2.0-testing.bk
into planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-unstable.bk
2005-02-03 17:03:05 +00:00
kaf24@scramble.cl.cam.ac.uk 8fbc50190a bitkeeper revision 1.1159.223.62 (4202591aKU7cGiiCesn0hIfz1J0vUQ)
Fix bootmem allocator.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 17:02:18 +00:00
kaf24@scramble.cl.cam.ac.uk ee9d4d3801 bitkeeper revision 1.1159.212.78 (4202391ehUS0T4TJglUpPqBH3oGjNQ)
Move domain builder to be subarch-specific. Fix pfn_info structure and
page reference-counting to be 64-bit clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 14:45:50 +00:00
kaf24@scramble.cl.cam.ac.uk f32bc42de3 bitkeeper revision 1.1159.212.77 (4202221693AFbvFZWeMHHIjQfbzTIQ)
More x86_64 prgress. Many more gaps filled in. Next step is DOM0
construction.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 13:07:34 +00:00
kaf24@scramble.cl.cam.ac.uk ff7e4d5f08 bitkeeper revision 1.1159.212.76 (4201eac5AlEp4jSQYKA8-oSf0N15pQ)
Add xmalloc_bytes() to the allocator API.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 09:11:33 +00:00
kaf24@scramble.cl.cam.ac.uk de60e480e0 bitkeeper revision 1.1159.212.75 (4201e86fqC-UkeTMjRJgsysdz4rT7w)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-03 09:01:35 +00:00
kaf24@scramble.cl.cam.ac.uk 557f25a0fa bitkeeper revision 1.1159.223.61 (4201e2eb-AZrvBiRdKncIUx8FuLkeA)
Fix ioremap() for local RAM pages.
2005-02-03 08:38:03 +00:00
kaf24@scramble.cl.cam.ac.uk aada4119d1 bitkeeper revision 1.1159.212.74 (42015ef3sPQp8pjeJAck1wBtTAYL9g)
Interface to typed allocator is now just xmalloc/xmalloc_array/xfree.
_xmalloc/_xmalloc_array are dead (or, at least, non-API).
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-02 23:14:59 +00:00
cl349@arcadians.cl.cam.ac.uk 61573e2364 bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)
console.c:
  Disable watchdog before doing the 5 second delay before machine restart.

Signed-off-by: c@pin.lu
2005-02-02 23:06:19 +00:00
cl349@arcadians.cl.cam.ac.uk 8e1f3d67e1 bitkeeper revision 1.1159.223.59 (420156d4cxaGMuI8rtUWoTShsPVlNQ)
setup.c:
  Always disable irqdebug until we have a way to avoid interrupt conflicts.

Signed-off-by: c@pin.lu
2005-02-02 22:40:20 +00:00