diff options
author | Helge Deller <deller@gmx.de> | 2023-09-01 18:51:39 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-09-01 18:51:39 +0200 |
commit | 75f829a63d8a0068b658a6202d2823327333d4ea (patch) | |
tree | 89430814a25787905bcd017d9c8f76c8966309aa | |
parent | 6a6f8628350803ac8fd144bd86693bf3cfab6b5b (diff) | |
download | seabios-hppa-75f829a63d8a0068b658a6202d2823327333d4ea.zip seabios-hppa-75f829a63d8a0068b658a6202d2823327333d4ea.tar.gz seabios-hppa-75f829a63d8a0068b658a6202d2823327333d4ea.tar.bz2 |
parisc: Hand over correct arguments
-rw-r--r-- | src/parisc/parisc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index 497070f..4da727d 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -1269,11 +1269,12 @@ static int pdc_block_tlb(unsigned int *arg) /* initialize return value in case qemu can't handle BTLBs via diag instruction */ ret = PDC_BAD_OPTION; +printf("SeaBIOS: BTLB %x %x %x\n", ARG0, ARG1, ARG2); asm( - "ldw -0*%2(%1),%%r26 ! ldw -1*%2(%1),%%r25 ! ldw -2*%2(%1),%%r24 ! ldw -3*%2(%1),%%r23\n" \ - "ldw -4*%2(%1),%%r22 ! ldw -5*%2(%1),%%r21 ! ldw -6*%2(%1),%%r20 ! ldw -7*%2(%1),%%r19\n" \ + "ldw (7-0)*%2(%1),%%r26 ! ldw (7-1)*%2(%1),%%r25 ! ldw (7-2)*%2(%1),%%r24 ! ldw (7-3)*%2(%1),%%r23\n" \ + "ldw (7-4)*%2(%1),%%r22 ! ldw (7-5)*%2(%1),%%r21 ! ldw (7-6)*%2(%1),%%r20 ! ldw (7-7)*%2(%1),%%r19\n" \ "diag 0x100\n" \ - "copy %%ret0,%1\n" + "copy %%ret0,%0\n" : "=&r" (ret) : "r" (arg), "i" (sizeof(long)) : "r26", "r25", "r24", "r23", "r22", "r21", "r20", "r19" ); return ret; } |