diff options
author | cognet <cognet@FreeBSD.org> | 2006-06-06 01:14:12 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2006-06-06 01:14:12 +0000 |
commit | 04175402f4d484036090509744d0fce37d3c94fd (patch) | |
tree | f14864ae82ffd9045d5fd2cbbbfeba5d3fc3b1ef | |
parent | 9a1fae85101c35023249839eabfe666b133916a1 (diff) | |
download | FreeBSD-src-04175402f4d484036090509744d0fce37d3c94fd.zip FreeBSD-src-04175402f4d484036090509744d0fce37d3c94fd.tar.gz |
Make VERBOSE_INIT_ARM compile by fixing various printf formats, and add it
as an option.
Submitted by: Max N. Boyarov <m.boyarov at bsd dot by>
-rw-r--r-- | sys/arm/arm/pmap.c | 4 | ||||
-rw-r--r-- | sys/conf/options.arm | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index 25c66cd..ed6af4c 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -4703,7 +4703,7 @@ pmap_map_chunk(vm_offset_t l1pt, vm_offset_t va, vm_offset_t pa, panic("pmap_map_chunk: no L1 table provided"); #ifdef VERBOSE_INIT_ARM - printf("pmap_map_chunk: pa=0x%lx va=0x%lx size=0x%lx resid=0x%lx " + printf("pmap_map_chunk: pa=0x%x va=0x%x size=0x%x resid=0x%x " "prot=0x%x cache=%d\n", pa, va, size, resid, prot, cache); #endif @@ -4842,7 +4842,7 @@ pmap_devmap_bootstrap(vm_offset_t l1pt, const struct pmap_devmap *table) for (i = 0; pmap_devmap_table[i].pd_size != 0; i++) { #ifdef VERBOSE_INIT_ARM - printf("devmap: %08lx -> %08lx @ %08lx\n", + printf("devmap: %08x -> %08x @ %08x\n", pmap_devmap_table[i].pd_pa, pmap_devmap_table[i].pd_pa + pmap_devmap_table[i].pd_size - 1, diff --git a/sys/conf/options.arm b/sys/conf/options.arm index 5323295..9ff203a 100644 --- a/sys/conf/options.arm +++ b/sys/conf/options.arm @@ -16,3 +16,4 @@ SKYEYE_WORKAROUNDS opt_global.h STARTUP_PAGETABLE_ADDR opt_global.h XSCALE_CACHE_READ_WRITE_ALLOCATE opt_global.h XSACLE_DISABLE_CCNT opt_timer.h +VERBOSE_INIT_ARM opt_global.h |