Doug Rabson
3e33218d77
Fix the Xen build for i386 PV mode.
2009-04-01 17:06:28 +00:00
Kip Macy
476f05d531
make sure that interrupts are disabled when handling page faults et al
2009-02-03 03:43:00 +00:00
Kip Macy
3a6d1fcf9c
merge 186535, 186537, and 186538 from releng_7_xen
...
Log:
- merge in latest xenbus from dfr's xenhvm
- fix race condition in xs_read_reply by converting tsleep to mtx_sleep
Log:
unmask evtchn in bind_{virq, ipi}_to_irq
Log:
- remove code for handling case of not being able to sleep
- eliminate tsleep - make sleeps atomic
2008-12-29 06:31:03 +00:00
Kip Macy
23dc562170
Integrate 185578 from dfr
...
Use newbus to managed devices
2008-12-04 07:59:05 +00:00
Kip Macy
cbc936b6d8
fix initialization for case of normal kernbase
...
remove unused shutdown code
2008-12-04 07:28:13 +00:00
Kip Macy
951f87e4ae
handle case where eflags represents actual flags value when
...
restoring interrupts
2008-10-25 04:46:02 +00:00
Kip Macy
9bf38e47a3
- move gdt, ldt allocation to before KPT allocation
...
- fix bugs where we would:
- try to map the hypervisors address space
- accidentally kick out an existing kernel mapping for some domain creation memory allocation sizes
- accidentally skip a 2MB kernel mapping for some domain creation memory allocation sizes
- don't rely on trapping in to xen to read rcr2, reference through vcpu
- whitespace cleanups
2008-10-19 01:27:40 +00:00
Kip Macy
920ba15bf9
Update xen/interface includes to the latest in mercurial
...
MFC after: 1 month
2008-09-26 05:29:39 +00:00
Kip Macy
9d741e6d59
Make nkpt dependent on the size of the initial memory allocation
...
MFC after: 1 month
2008-09-25 07:03:09 +00:00
Kip Macy
57bd99b3c5
Some people have very strange notions of how large KVA_PAGES should be. The
...
core of this change generalizes the initial page directory setup so that
the kernel can be given arbitrarily large or small.
- small formatting fixes
- update copyright
MFC after: 1 month
2008-09-17 19:11:37 +00:00
Kip Macy
6859a304c6
Get initial bootstrap of APs working under xen.
...
Note that the APs still blow up in sched_throw().
MFC after: 1 month
2008-09-10 07:11:08 +00:00
Kip Macy
42e68d4d74
Accomodate the fact that the number of l1 pages varies with the size of the initially
...
allocated memory - this lets us boot with 3GB
MFC after: 1 month
2008-09-02 02:55:45 +00:00
Kip Macy
32a5d14b26
Fix problem with large memory configuration by ensuring that all NKPT
...
page table pages have been zeroed before entering them in the page
directory
MFC after: 1 month
2008-09-02 01:32:52 +00:00
Kip Macy
18bad85737
- clean up interrupt handling for xen a tiny bit
...
- parse the command line in to kenv
- defer shutdown watcher until later in boot
MFC after: 1 month
2008-08-20 09:16:46 +00:00
Kip Macy
ecded8075f
protect queue_log not queue
...
MFC after: 1 month
2008-08-19 02:39:34 +00:00
Kip Macy
6786023a87
Fix compilation without INVARIANTS
...
MFC after: 1 month
2008-08-19 02:36:56 +00:00
Kip Macy
e9c9d2fcc7
clean up initvalues to work correctly on PAE
...
MFC after: 1 month
2008-08-17 23:34:44 +00:00
Kip Macy
f0c468df71
Compile fixes for xen build.
...
MFC after: 1 month.
2008-08-15 04:00:44 +00:00
Kip Macy
fbcad32779
Import i386 xen sub-arch files.
...
MFC after: 2 weeks
2008-08-12 19:48:18 +00:00