[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 21/24] target-alpha: Include the PCC_OFS in the RPCC
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 21/24] target-alpha: Include the PCC_OFS in the RPCC return value. |
Date: |
Tue, 19 Apr 2011 08:04:58 -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 cc8a33d..5902cd6 100644
--- a/target-alpha/op_helper.c
+++ b/target-alpha/op_helper.c
@@ -44,7 +44,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.3.4
- [Qemu-devel] [PATCH 00/24] Alpha system emulation, v2, Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 21/24] target-alpha: Include the PCC_OFS in the RPCC return value.,
Richard Henderson <=
- [Qemu-devel] [PATCH 10/24] target-alpha: Tidy up arithmetic exceptions., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 09/24] target-alpha: Add IPRs to be used by the emulation PALcode., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 22/24] target-alpha: Implement TLB flush primitives., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 19/24] target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 05/24] target-alpha: Tidy exception constants., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 17/24] target-alpha: Implement more CALL_PAL values inline., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 11/24] target-alpha: Merge HW_REI and HW_RET implementations., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 24/24] target-alpha: Add SX164 emulation., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 15/24] target-alpha: All ISA checks to use TB->FLAGS., Richard Henderson, 2011/04/19
- [Qemu-devel] [PATCH 03/24] pci: Export pci_to_cpu_addr., Richard Henderson, 2011/04/19