Fixed 64-bit register reading.
--- a/tool/CommandRegRead.cpp Wed Apr 08 14:10:34 2009 +0000
+++ b/tool/CommandRegRead.cpp Wed Apr 08 14:49:36 2009 +0000
@@ -188,7 +188,7 @@
unsigned int uval = le32_to_cpup(data.data);
cout << uval << " 0x" << hex << setw(8) << uval << endl;
} else if (dataType->name == "uint64") {
- long long unsigned int uval = le32_to_cpup(data.data);
+ long long unsigned int uval = le64_to_cpup(data.data);
cout << uval << " 0x" << hex << setw(8) << uval << endl;
} else { // raw
uint8_t *d = data.data;