Add a simple driver for vms.
authorRonald G. Minnich <rminnich@google.com>
Thu, 2 Jan 2014 04:55:45 +0000 (20:55 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 17 Jan 2014 22:31:22 +0000 (14:31 -0800)
commit2b7676e9e233ea8920c69e3d9f226f7883822496
tree467ae0513366231d9bacf4befd2fd34601baa837
parent2db5e6a5eb7f8aeab60d35e29e5ede47c05ab419
Add a simple driver for vms.

Not being called yet, compiles. Waiting for comments from Barret et. al.
Please note I don't use TAILQ because I expect far higher read
than change traffic on the vm array and a simple array is a lot more
cache friendly.

If this is ok, then I'll add in the support code from the litevm project
and, voila, we have VMs maybe.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/drivers/dev/Kbuild
kern/drivers/dev/vm.c [new file with mode: 0644]