diff options
author | marcel <marcel@FreeBSD.org> | 2003-02-01 21:38:36 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-02-01 21:38:36 +0000 |
commit | 50ebb07c3803d33b392da40bd43a4d978d7657eb (patch) | |
tree | 2b0b15bf397b0ae3b1fcfcc4e79b0441694d4fc8 | |
parent | cbb6b35209ec887be35ea7f2feeb1b2aa1f715b4 (diff) | |
download | FreeBSD-src-50ebb07c3803d33b392da40bd43a4d978d7657eb.zip FreeBSD-src-50ebb07c3803d33b392da40bd43a4d978d7657eb.tar.gz |
SSC calls use break immediate 0x80000. 0x80001 only works for
break.i. Ski is rather broken in this respect.
-rw-r--r-- | sys/boot/ia64/libski/ssc.c | 2 | ||||
-rw-r--r-- | sys/boot/ia64/ski/ssc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/ia64/libski/ssc.c b/sys/boot/ia64/libski/ssc.c index b15cf25..11a91c8 100644 --- a/sys/boot/ia64/libski/ssc.c +++ b/sys/boot/ia64/libski/ssc.c @@ -35,7 +35,7 @@ ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which) register u_int64_t ret0 __asm("r8"); __asm __volatile("mov r15=%1\n\t" - "break 0x80001" + "break 0x80000" : "=r"(ret0) : "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3)); return ret0; diff --git a/sys/boot/ia64/ski/ssc.c b/sys/boot/ia64/ski/ssc.c index b15cf25..11a91c8 100644 --- a/sys/boot/ia64/ski/ssc.c +++ b/sys/boot/ia64/ski/ssc.c @@ -35,7 +35,7 @@ ssc(u_int64_t in0, u_int64_t in1, u_int64_t in2, u_int64_t in3, int which) register u_int64_t ret0 __asm("r8"); __asm __volatile("mov r15=%1\n\t" - "break 0x80001" + "break 0x80000" : "=r"(ret0) : "r"(which), "r"(in0), "r"(in1), "r"(in2), "r"(in3)); return ret0; |