[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 26/33] target-alpha: Include the PCC_OFS in the RPCC
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 26/33] target-alpha: Include the PCC_OFS in the RPCC return value. |
Date: |
Thu, 28 Apr 2011 13:51:08 -0700 |
Signed-off-by: Richard Henderson <address@hidden>
---
target-alpha/op_helper.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c
index 91ef90a..42fec07 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -66,7 +66,8 @@ static void QEMU_NORETURN arith_excp(int exc, uint64_t mask)
uint64_t helper_load_pcc (void)
{
/* ??? This isn't a timer for which we have any rate info. */
- return (uint32_t)cpu_get_real_ticks();
+ uint64_t ret = env->pcc_ofs;
+ return ret << 32 | (uint32_t)cpu_get_real_ticks();
}
uint64_t helper_load_fpcr (void)
--
1.7.4.4
- [Qemu-devel] [PATCH 16/33] target-alpha: Implement do_interrupt for system mode., (continued)
- [Qemu-devel] [PATCH 16/33] target-alpha: Implement do_interrupt for system mode., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 17/33] target-alpha: Swap shadow registers moving to/from PALmode., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 19/33] target-alpha: Use kernel mmu_idx for pal_mode., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 18/33] target-alpha: Add various symbolic constants., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 21/33] target-alpha: Disable interrupts properly., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 20/33] target-alpha: All ISA checks to use TB->FLAGS., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 22/33] target-alpha: Implement more CALL_PAL values inline., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 23/33] target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 24/33] target-alpha: Remap PIO space for 43-bit KSEG for EV6., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 25/33] target-alpha: Trap for unassigned and unaligned addresses., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 26/33] target-alpha: Include the PCC_OFS in the RPCC return value.,
Richard Henderson <=
- [Qemu-devel] [PATCH 27/33] target-alpha: Use a fixed frequency for the RPCC in system mode., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 28/33] target-alpha: Implement TLB flush primitives., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 31/33] target-alpha: Implement WAIT IPR., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 32/33] target-alpha: Implement HALT IPR., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 29/33] target-alpha: Add custom PALcode image for CLIPPER emulation., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 33/33] target-alpha: Add high-resolution access to wall clock and an alarm., Richard Henderson, 2011/04/28
- [Qemu-devel] [PATCH 30/33] target-alpha: Add CLIPPER emulation., Richard Henderson, 2011/04/28
- Re: [Qemu-devel] [PATCH 00/33] Alpha system emulation, v3, Paolo Bonzini, 2011/04/29