On Mon, 4 Jul 2011 17:06:54 +0200
Fabien Chouteau chout...@adacore.com wrote:
On 01/07/2011 22:22, Scott Wood wrote:
On Fri, 1 Jul 2011 16:13:41 +0200
Fabien Chouteau chout...@adacore.com wrote:
+static void booke_update_fixed_timer(CPUState *env,
+
On 05/07/2011 18:02, Scott Wood wrote:
On Mon, 4 Jul 2011 17:06:54 +0200
Fabien Chouteau chout...@adacore.com wrote:
On 01/07/2011 22:22, Scott Wood wrote:
On Fri, 1 Jul 2011 16:13:41 +0200
Fabien Chouteau chout...@adacore.com wrote:
+static void booke_update_fixed_timer(CPUState
On Tue, 5 Jul 2011 18:41:13 +0200
Fabien Chouteau chout...@adacore.com wrote:
On 05/07/2011 18:02, Scott Wood wrote:
On Mon, 4 Jul 2011 17:06:54 +0200
Fabien Chouteau chout...@adacore.com wrote:
Do you mean lapse = period - ((tb - (1 target_bit)) (period - 1)); ?
Yes.
Or more
On 01/07/2011 22:22, Scott Wood wrote:
On Fri, 1 Jul 2011 16:13:41 +0200
Fabien Chouteau chout...@adacore.com wrote:
+static void booke_update_fixed_timer(CPUState *env,
+ uint8_t target_bit,
+ uint64_t
While working on the emulation of the freescale p2010 (e500v2) I realized that
there's no implementation of booke's timers features. Currently mpc8544 uses
ppc_emb (ppc_emb_timers_init) which is close but not exactly like booke (for
example booke uses different SPR).
This is a first attempt for a
On Fri, 1 Jul 2011 16:13:41 +0200
Fabien Chouteau chout...@adacore.com wrote:
+uint64_t cpu_ppc_get_tb(ppc_tb_t *tb_env, uint64_t vmclk, int64_t tb_offset)
{
/* TB time in tb periods */
return muldiv64(vmclk, tb_env-tb_freq, get_ticks_per_sec()) + tb_offset;
@@ -678,18 +661,23 @@