X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnvram.c;h=6c2b9eceac5c2244af08d74e05ce626aa7500236;hb=7617d3cee4bd93b90558206b1bb1681c07f0396a;hp=da76b67b5be838ff93677eb9f9b89ecc3b6c41f2;hpb=101529b6eae500272347287df43ec51aa003d0aa;p=palacios.git diff --git a/palacios/src/devices/nvram.c b/palacios/src/devices/nvram.c index da76b67..6c2b9ec 100644 --- a/palacios/src/devices/nvram.c +++ b/palacios/src/devices/nvram.c @@ -117,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; @@ -406,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); @@ -418,7 +420,7 @@ void deliver_timer_interrupt_to_vmm(uint_t period_us) } } - +*/ static int set_nvram_defaults(struct vm_device * dev) {