|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] pvgrub: value returned by getrtsecs should be BCD
pvgrub: value returned by getrtsecs should be BCD
diff -r 4c67985c552e stubdom/grub/mini-os.c
--- a/stubdom/grub/mini-os.c Wed Nov 19 13:17:31 2008 +0000
+++ b/stubdom/grub/mini-os.c Mon Dec 01 02:10:55 2008 +0100
@@ -649,7 +649,7 @@
{
struct timeval tv;
gettimeofday(&tv, NULL);
- return tv.tv_sec;
+ return tv.tv_sec % 10 + ((tv.tv_sec / 10) % 6) * 0x10;
}
int currticks (void)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] pvgrub: value returned by getrtsecs should be BCD,
Samuel Thibault <=
|
|
|
|
|