forked from Imagelibrary/rtems
libbsp/.../sparc64/loader/main.c: Use inttypes.h constants to remove 1 warning
This commit is contained in:
committed by
Joel Sherrill
parent
62c238e8f2
commit
27920db91e
@@ -40,6 +40,7 @@
|
|||||||
|
|
||||||
#include <bsp.h>
|
#include <bsp.h>
|
||||||
#include <rtems/bspIo.h>
|
#include <rtems/bspIo.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <boot/main.h>
|
#include <boot/main.h>
|
||||||
#include <boot/balloc.h>
|
#include <boot/balloc.h>
|
||||||
@@ -313,7 +314,7 @@ void bootstrap(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printk("\nMemory statistics (total %d MB, starting at %x)\n",
|
printk("\nMemory statistics (total %d MB, starting at %" PRIxPTR ")\n",
|
||||||
bootinfo.memmap.total >> 20, bootinfo.physmem_start);
|
bootinfo.memmap.total >> 20, bootinfo.physmem_start);
|
||||||
printk(" %x: kernel entry point\n", KERNEL_VIRTUAL_ADDRESS);
|
printk(" %x: kernel entry point\n", KERNEL_VIRTUAL_ADDRESS);
|
||||||
printk(" %x: boot info structure\n", &bootinfo);
|
printk(" %x: boot info structure\n", &bootinfo);
|
||||||
|
|||||||
Reference in New Issue
Block a user