diff options
author | Richard Henderson <rth@twiddle.net> | 2012-08-24 15:47:26 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-01-05 12:18:42 -0800 |
commit | c4f0a863c3b980694e2ccb8fa3252a0eb8ef6a97 (patch) | |
tree | b7e5ceafb152ad0497b63ce4a5d01269e3800b24 /target-s390x/misc_helper.c | |
parent | dd3eb7b54f0dbcf76e3ccfdf8535201049670378 (diff) |
target-s390: Convert SPT, STPT
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/misc_helper.c')
-rw-r--r-- | target-s390x/misc_helper.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/target-s390x/misc_helper.c b/target-s390x/misc_helper.c index 9263ae727f..431824249c 100644 --- a/target-s390x/misc_helper.c +++ b/target-s390x/misc_helper.c @@ -196,10 +196,8 @@ uint64_t HELPER(stckc)(CPUS390XState *env) } /* Set CPU Timer */ -void HELPER(spt)(CPUS390XState *env, uint64_t a1) +void HELPER(spt)(CPUS390XState *env, uint64_t time) { - uint64_t time = cpu_ldq_data(env, a1); - if (time == -1ULL) { return; } @@ -211,10 +209,10 @@ void HELPER(spt)(CPUS390XState *env, uint64_t a1) } /* Store CPU Timer */ -void HELPER(stpt)(CPUS390XState *env, uint64_t a1) +uint64_t HELPER(stpt)(CPUS390XState *env) { /* XXX implement */ - cpu_stq_data(env, a1, 0); + return 0; } /* Store System Information */ |