Part-way to writing memory
authorRonald G. Minnich <rminnich@google.com>
Fri, 10 Jan 2014 22:45:38 +0000 (14:45 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 22:57:12 +0000 (14:57 -0800)
commit04e0ab6b5e5c7f57c4a00a7e7135827c07155c99
treef4d2088e420b8ac48031c57af56390a738f5b131
parentb0c7439b2ce907a96d75ab0b78de6b7eae75d919
Part-way to writing memory

We're getting a NULL pointer in vm_set_memory_region,
but part of it is working.

I have moved some of the infrastructure over to error()/waserror(), and
I'm now remembering why I like getting useful error messages
instead of the conventional UNIX bring-me-another-rock
behavior of EINVAL.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/arch/x86/vmx.c
kern/drivers/dev/vm.c