cl
2745d2d566
add missing break
2004-05-02 20:38:35 +00:00
cl
79d1a31951
Move struct xen_netinfo into include/xen.h so that xen12load compiles again.
2004-04-26 23:54:42 +00:00
cl
f720882cf0
Rework the physical<->machine memory mapping: offset physical addresses
...
by 0x100000 (above the I/O Memory "hole") leaving all physical addresses
below unused, don't perform phys<->mach mapping for addresses below 0x100000
or beyond the real hardware's physical memory.
-> /dev/mem works now as expected and X works in domain0.
2004-04-26 22:05:04 +00:00
cl
f184e73cf0
Add mouse support.
2004-04-26 19:44:54 +00:00
cl
b21e228a58
Add support for i386_iopl.
2004-04-25 23:46:07 +00:00
cl
63ccbaf08a
Move some of the context switching code into a C function.
2004-04-25 19:01:27 +00:00
cl
b336bf8532
Add memory barriers.
2004-04-25 18:30:55 +00:00
cl
1408a99dbe
Select first disk device as boot device if no boot device is selected
...
from the command line.
2004-04-25 14:40:02 +00:00
cl
a9154d4a78
Don't attach vga and keyboard if the domain is not privileged.
...
Also cleanup print command if attachment fails.
2004-04-25 00:24:08 +00:00
cl
8d5b657eb1
Add sysctl nodes for Xen disk cookies used by domain creation tools.
2004-04-24 21:55:37 +00:00
cl
f53151522e
Enable keyboard and vga display as console when running as domain-0.
2004-04-24 21:45:58 +00:00
cl
5c7586f0e5
Add keyboard support and wscons config options.
2004-04-24 21:33:32 +00:00
cl
428e3dcc56
remove trailing empty lines
2004-04-24 21:01:37 +00:00
cl
44e8720ec9
Add vga display support.
2004-04-24 20:58:59 +00:00
cl
8e6ccbacfb
Allow the block device driver to impersonate wd/sd/cd devices. This allows
...
for most system seamless migration from a NetBSD/i386 setup to a NetBSD/xen
setup without changing /etc/fstab or creating additional device nodes.
2004-04-24 20:05:49 +00:00
cl
122ad5af2a
Make bus_space map machine addresses instead of physical addresses.
2004-04-24 19:43:53 +00:00
cl
6d328d297e
Let event_set_handler set the void * argument to event handlers.
2004-04-24 19:32:37 +00:00
cl
fb658556ac
Make bus_space map machine addresses instead of physical addresses.
2004-04-24 19:18:01 +00:00
cl
4c5f9e53a1
Make kernel command line parsing support additional keywords without
...
having to change existing code which calls the parser.
2004-04-24 18:55:02 +00:00
cl
fb65e916fb
Consistently use xencons for eveything reffering to Xen's virtual console.
...
rename arch/xen/xen/console.c -> arch/xen/xen/xencons.c
2004-04-24 18:24:14 +00:00
cl
d843f649c6
Add ``hypervisor at mainbus'' and attach all devices provided by the
...
hypervisor to it instead of mainbus.
2004-04-24 17:45:38 +00:00
cl
ef3c59b551
add __KERNEL_RCSID
2004-04-24 17:41:49 +00:00
cl
edf6d721c7
Add ``hypervisor at mainbus'' and attach all devices provided by the
...
hypervisor to it instead of mainbus.
rename arch/xen/i386/hypervisor.c -> arch/xen/i386/hypervisor_machdep.c
2004-04-24 17:35:27 +00:00
cl
2b115ed1d8
Catch up with recent src/sys/dev/dksubr.c change (1.11 -> 1.12) which
...
prevents us from processing multiple bufs during 1 *start call. We now
rely on dk_start calling us repeatedly as long as there are bufs on the
queue.
2004-04-24 16:47:29 +00:00
cl
a01e0b0219
parse bootdev parameter for partition and set booted_partition accordingly
2004-04-21 18:06:51 +00:00
cl
ff6c26a333
- setup vfr rules when running as domain-0
...
- patch ethernet address if running as domain-0 so that arp can work
also include bpfilter.h to get NBPFILTER
2004-04-21 17:36:59 +00:00
cl
3ba9d3ae38
don't crash when changing/adding ip addresses
2004-04-21 12:43:43 +00:00
cl
b5acdb9f14
cleanup debugging printf's
2004-04-21 12:14:45 +00:00
cl
c705011fd6
Loader which allows booting NetBSD as domain0 guest OS.
2004-04-17 23:20:37 +00:00
cl
17292d12b3
use nanoseconds since boot counter for delay routine
2004-04-17 21:49:55 +00:00
cl
9a39f88e1e
add block device driver
2004-04-17 12:56:26 +00:00
cl
e688fd0596
sync with arch/i386/i386/pmap.c:
...
1.172/yamt
- keep cr3 register and its copy in TSS synchronized.
- defer LDTR loading as well as cr3.
2004-04-17 12:53:27 +00:00
cl
1cfcb16460
- microtime support
...
- don't report cpu speed in startrtclock()
2004-04-17 12:50:45 +00:00
cl
e22637e9aa
report cpu speed correctly
2004-04-17 12:47:38 +00:00
cl
8bde79bdaa
- fix event dispatching for event 0
...
- use struct trapframe instead of struct pt_regs
2004-04-17 12:46:42 +00:00
cl
9f3568420d
call HYPERVISOR_exit on reboot
2004-04-11 00:44:15 +00:00
cl
d145eca4fb
catch up with arch/x86/x86/intr.c
...
1.15/kochi
use designated initializer for struct pic initializers.
just for readability.
update the xenev_pic initializer as well
2004-04-11 00:18:29 +00:00
cl
2bdade5a16
- remove pmap_kenter_ma prototype here
...
- xennet? is an interface not a driver (boot message)
2004-04-11 00:00:43 +00:00
cl
1eec38f848
get the time from Xen
2004-04-10 23:50:23 +00:00
cl
9ce2a8f441
add prototype for pmap_kenter_ma
2004-04-10 23:47:24 +00:00
cl
96cf6c6c11
- fix signatures for HYPERVISOR_stop, HYPERVISOR_dom0_op and
...
HYPERVISOR_block_io_op
- add error checking for HYPERVISOR_mmu_update and
HYPERVISOR_update_va_mapping
- add missing memory barriers
- initialize dom0_op->interface_version
2004-04-10 23:46:26 +00:00
cl
c0b5dece66
Make rcr2() always return 0. We only get cr2's value for page faults and
...
trap() knows where to find it.
2004-04-10 23:39:54 +00:00
cl
7556fed6d2
fix kernel command line parsing:
...
- initialize bootdev for if it's not set in the command line
- correctly parse command lines with multiple spaces between words
2004-04-10 23:33:50 +00:00
cl
0488cca3a2
remove incorrect assert: pdp-pool entries can be reclaimed at any time,
...
even while APDP is mapped.
2004-04-10 23:31:41 +00:00
cl
ea9aadc45a
sync with arch/i386/isa/npx.c:
...
1.103/simonb
Only initialise ksi if we use it.
2004-04-06 16:23:33 +00:00
cl
428b54f8f6
sync with arch/i386/i386/identcpu.c:
...
1.9/kim
AMD CPUID 0x6a0 is an Athlon XP processor model 10, revision A2.
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/27532.pdf
1.10/minoura
Print better names for Pentium4-class processors (Xeon, Celeron, etc).
1.11/mrg
- fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-06 16:20:29 +00:00
cl
cb8eb7578b
update reference $NetBSD ID
2004-04-06 16:04:09 +00:00
cl
5bd1e12004
ANSIfy.
2004-04-06 16:01:50 +00:00
cl
0b3df53fa4
update reference $NetBSD ID
2004-04-06 15:56:32 +00:00
drochner
ae94c80224
fix references to the syscall formerly known as SYS___sigreturn14
2004-03-26 19:05:33 +00:00