diff options
| author | Prashanth Mundkur | 2018-09-18 17:23:47 -0700 |
|---|---|---|
| committer | Prashanth Mundkur | 2018-10-23 15:32:15 -0700 |
| commit | ca6494d94d9f219de8e46062134258f0c9e2245c (patch) | |
| tree | 4f54074c349688a754184b6e40653da7bb2d3506 /riscv/riscv_platform.c | |
| parent | a665e2160692e509b75966ceb96b8eb3a84a8375 (diff) | |
RISC-V: Add some debug logs for within_phys_mem.
Diffstat (limited to 'riscv/riscv_platform.c')
| -rw-r--r-- | riscv/riscv_platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/riscv/riscv_platform.c b/riscv/riscv_platform.c index 31ec09c4..be926f6a 100644 --- a/riscv/riscv_platform.c +++ b/riscv/riscv_platform.c @@ -13,31 +13,37 @@ bool plat_enable_misaligned_access(unit u) mach_bits plat_ram_base(unit u) { + fprintf(stderr, "plat_ram_base: -> %0" PRIx64 "\n", rv_ram_base); return rv_ram_base; } mach_bits plat_ram_size(unit u) { + fprintf(stderr, "plat_ram_size: -> %0" PRIx64 "\n", rv_ram_size); return rv_rom_base; } mach_bits plat_rom_base(unit u) { + fprintf(stderr, "plat_rom_base: -> %0" PRIx64 "\n", rv_rom_base); return rv_rom_base; } mach_bits plat_rom_size(unit u) { + fprintf(stderr, "plat_rom_size: -> %0" PRIx64 "\n", rv_rom_size); return rv_rom_size; } mach_bits plat_clint_base(unit u) { + fprintf(stderr, "plat_clint_base: -> %0" PRIx64 "\n", rv_clint_base); return rv_clint_base; } mach_bits plat_clint_size(unit u) { + fprintf(stderr, "plat_clint_size: -> %0" PRIx64 "\n", rv_clint_size); return rv_clint_size; } |
