mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
Replace REGX with PRIx64
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
90e189ece1
commit
b11ebf64b6
4 changed files with 8 additions and 7 deletions
|
@ -48,7 +48,9 @@ static int vga_osi_call (CPUState *env)
|
|||
static int vga_vbl_enabled;
|
||||
int linesize;
|
||||
|
||||
// printf("osi_call R5=" REGX "\n", ppc_dump_gpr(env, 5));
|
||||
#if 0
|
||||
printf("osi_call R5=%016" PRIx64 "\n", ppc_dump_gpr(env, 5));
|
||||
#endif
|
||||
|
||||
/* same handler as PearPC, coming from the original MOL video
|
||||
driver. */
|
||||
|
@ -100,7 +102,7 @@ static int vga_osi_call (CPUState *env)
|
|||
/* R6 = x, R7 = y, R8 = visible, R9 = data */
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "unsupported OSI call R5=" REGX "\n",
|
||||
fprintf(stderr, "unsupported OSI call R5=%016" PRIx64 "\n",
|
||||
ppc_dump_gpr(env, 5));
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue