X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnvram.c;h=63264874e6cecb31993e123dcf6c25a18cd231bb;hb=1e9b1f02c9d9e59ecdca1b5aa3d31129cb20dc49;hp=332c88d647f6f6a346f4a3fc107bbc3c1dd910f7;hpb=4f7c3b759e3889870c5b5e7d09b3ffcc168e5632;p=palacios-OLD.git diff --git a/palacios/src/devices/nvram.c b/palacios/src/devices/nvram.c index 332c88d..6326487 100644 --- a/palacios/src/devices/nvram.c +++ b/palacios/src/devices/nvram.c @@ -1,5 +1,22 @@ -/* Northwestern University */ -/* (c) 2008, Peter Dinda */ +/* + * 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, Peter Dinda + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Peter Dinda + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ + #include #include @@ -117,12 +134,14 @@ struct rtc_statd { struct vm_device * thedev = NULL; +/*JRL: A hack and a fatal bug static struct vm_device * demultiplex_timer_interrupt(uint_t period_us) { // hack return thedev; } - +*/ +/* JRL: Doesn't work struct bcd_num { uchar_t bot : 4; uchar_t top : 4; @@ -406,9 +425,9 @@ static void update_time(struct vm_device *dev, uint_t period_us) } } +*/ - - +/* JRL: This is completely broken... void deliver_timer_interrupt_to_vmm(uint_t period_us) { struct vm_device * dev = demultiplex_timer_interrupt(period_us); @@ -418,7 +437,7 @@ void deliver_timer_interrupt_to_vmm(uint_t period_us) } } - +*/ static int set_nvram_defaults(struct vm_device * dev) {