X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnvram.c;h=6c2b9eceac5c2244af08d74e05ce626aa7500236;hb=f1e128d5c205f347c43202e00492a14410ac43e6;hp=f16cbd7d6d0b4fdf97d13d295cf96147d174e963;hpb=c06353fc5bed0f246bca54eff9294ab33c2fd860;p=palacios.git diff --git a/palacios/src/devices/nvram.c b/palacios/src/devices/nvram.c index f16cbd7..6c2b9ec 100644 --- a/palacios/src/devices/nvram.c +++ b/palacios/src/devices/nvram.c @@ -1,3 +1,6 @@ +/* (c) 2008, Peter Dinda */ +/* (c) 2008, The V3VEE Project */ + #include #include #include @@ -114,12 +117,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; @@ -403,9 +408,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); @@ -415,7 +420,7 @@ void deliver_timer_interrupt_to_vmm(uint_t period_us) } } - +*/ static int set_nvram_defaults(struct vm_device * dev) {