X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_util.c;h=79933e4d9cc51e769321f2459336b934eea4f356;hb=0e3fe455f4c490dc4c5d9412decf2420b905b3e9;hp=77440e50497c9ca999608797a82f4d9009d1e442;hpb=a109eb919a162bd7de58d62020801bc2e633be50;p=palacios.git diff --git a/palacios/src/palacios/vmm_util.c b/palacios/src/palacios/vmm_util.c index 77440e5..79933e4 100644 --- a/palacios/src/palacios/vmm_util.c +++ b/palacios/src/palacios/vmm_util.c @@ -8,12 +8,21 @@ extern struct vmm_os_hooks * os_hooks; void PrintTraceHex(unsigned char x) { unsigned char z; - z = (x >> 4) & 0xf ; + z = (x >> 4) & 0xf; PrintTrace("%x", z); z = x & 0xf; PrintTrace("%x", z); } +void PrintTraceLL(ullong_t num) { + unsigned char * z = (unsigned char *)# + int i; + + for (i = 7; i >= 0; i--) { + PrintTraceHex(*(z + i)); + } +} + void PrintTraceMemDump(unsigned char *start, int n) {