X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_time.c;h=82a50eb35deab5eeed3f31c51b7905687d97563b;hb=30379ff13457e9687c5ab5acb67e92a5757fb5c6;hp=77459e2534ac4f9b64e0970a556641455fa0da7e;hpb=3a5aea3d9ef41bf3e7b8df4d29f309e2f4304d9d;p=palacios.git diff --git a/palacios/src/palacios/vmm_time.c b/palacios/src/palacios/vmm_time.c index 77459e2..82a50eb 100644 --- a/palacios/src/palacios/vmm_time.c +++ b/palacios/src/palacios/vmm_time.c @@ -1,8 +1,28 @@ +/* + * 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 "palacios/vmm_time.h" #include "palacios/vmm.h" -void v3_init_time(struct vm_time * time_state) { +void v3_init_time(struct guest_info * info) { + struct vm_time * time_state = &(info->time_state); time_state->cpu_freq = V3_CPU_KHZ();