X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_ctrl_regs.c;h=3dab368cea1a7af18410108e719f212f5fd9b1f5;hb=1c46db5ec8d086d76f7120a638199564947694d3;hp=26272cc9cbf2170acec41b9fb1d893eb4e8f3405;hpb=101529b6eae500272347287df43ec51aa003d0aa;p=palacios-OLD.git diff --git a/palacios/src/palacios/vmm_ctrl_regs.c b/palacios/src/palacios/vmm_ctrl_regs.c index 26272cc..3dab368 100644 --- a/palacios/src/palacios/vmm_ctrl_regs.c +++ b/palacios/src/palacios/vmm_ctrl_regs.c @@ -1,6 +1,21 @@ -/* (c) 2008, Jack Lange */ -/* (c) 2008, The V3VEE Project */ - +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2008, Jack Lange + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Jack Lange + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ #include #include @@ -27,7 +42,7 @@ // First Attempt = 494 lines // current = 106 lines int handle_cr0_write(struct guest_info * info) { - char instr[15]; + uchar_t instr[15]; int ret; struct x86_instr dec_instr; @@ -141,7 +156,7 @@ int handle_cr0_write(struct guest_info * info) { // First attempt = 253 lines // current = 51 lines int handle_cr0_read(struct guest_info * info) { - char instr[15]; + uchar_t instr[15]; int ret; struct x86_instr dec_instr; @@ -207,7 +222,7 @@ int handle_cr0_read(struct guest_info * info) { // current = 65 lines int handle_cr3_write(struct guest_info * info) { int ret; - char instr[15]; + uchar_t instr[15]; struct x86_instr dec_instr; if (info->mem_mode == PHYSICAL_MEM) { @@ -294,7 +309,7 @@ int handle_cr3_write(struct guest_info * info) { // first attempt = 156 lines // current = 36 lines int handle_cr3_read(struct guest_info * info) { - char instr[15]; + uchar_t instr[15]; int ret; struct x86_instr dec_instr;