svn commit: r199593 - projects/mips/sys/mips/octeon1
Warner Losh
imp at FreeBSD.org
Fri Nov 20 15:57:45 UTC 2009
Author: imp
Date: Fri Nov 20 15:57:45 2009
New Revision: 199593
URL: http://svn.freebsd.org/changeset/base/199593
Log:
Don't assume register addresses can fit into void *. Minor formatting
simplification while I'm here.
Modified:
projects/mips/sys/mips/octeon1/octeon_machdep.c
Modified: projects/mips/sys/mips/octeon1/octeon_machdep.c
==============================================================================
--- projects/mips/sys/mips/octeon1/octeon_machdep.c Fri Nov 20 15:56:51 2009 (r199592)
+++ projects/mips/sys/mips/octeon1/octeon_machdep.c Fri Nov 20 15:57:45 2009 (r199593)
@@ -605,8 +605,8 @@ void ciu_dump_interrutps_enabled (int co
}
ciu_intr_bits = oct_read64(ciu_intr_reg_addr);
- printf(" CIU core %d int: %d en: %d ip: %d Add: %p enabled: 0x%llX SR: %x\n",
- core_num, intx, enx, ciu_ip, (void *)ciu_intr_reg_addr,
+ printf(" CIU core %d int: %d en: %d ip: %d Add: %#llx enabled: %#llx SR: %x\n",
+ core_num, intx, enx, ciu_ip, (unsigned long long)ciu_intr_reg_addr,
(unsigned long long)ciu_intr_bits, mips_rd_status());
}
More information about the svn-src-projects
mailing list