Initial support for USB, UHCI, and USB Keyboards.
[seabios.git] / src / output.c
index da585b4f35b18f9266cb17ea93db4bf4831b0d15..28cb024bf572e0037dbbb84c1161055d9b84b696 100644 (file)
@@ -296,10 +296,10 @@ printf(const char *fmt, ...)
 }
 
 void
-hexdump(void *d, int len)
+hexdump(const void *d, int len)
 {
     int count=0;
-    while (len) {
+    while (len > 0) {
         if (count % 8 == 0) {
             putc(0, '\n');
             puthex(0, count*4, 8);