arch/arm/src/arm/arm_prefetchabort.c: Fix a syslog format
This commit is contained in:
parent
18bfb39552
commit
b15da3b18d
|
@ -24,6 +24,7 @@
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
|
@ -84,7 +85,7 @@ void arm_prefetchabort(uint32_t *regs)
|
||||||
* virtual addresses.
|
* virtual addresses.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
pginfo("VADDR: %08x VBASE: %08x VEND: %08x\n",
|
pginfo("VADDR: %08" PRIx32 " VBASE: %08x VEND: %08x\n",
|
||||||
regs[REG_PC], PG_PAGED_VBASE, PG_PAGED_VEND);
|
regs[REG_PC], PG_PAGED_VBASE, PG_PAGED_VEND);
|
||||||
|
|
||||||
if (regs[REG_R15] >= PG_PAGED_VBASE && regs[REG_R15] < PG_PAGED_VEND)
|
if (regs[REG_R15] >= PG_PAGED_VBASE && regs[REG_R15] < PG_PAGED_VEND)
|
||||||
|
|
Loading…
Reference in New Issue