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>
This commit is contained in:
Olivier Houchard 2006-06-06 01:14:12 +00:00
parent ceff114886
commit f14c3a8aac
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View File

@ -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