On Mon, Apr 4, 2011 at 10:37 PM, Blue Swirl wrote:
> On Mon, Apr 4, 2011 at 8:25 PM, Artyom Tarasenko wrote:
>> On Sat, May 22, 2010 at 12:52 PM, Igor V. Kovalenko
>> wrote:
>>> --- a/target-sparc/helper.c
>>> +++ b/target-sparc/helper.c
>>> @@ -572,6 +572,23 @@ static int get_physical_address(C
On Mon, Apr 4, 2011 at 8:25 PM, Artyom Tarasenko wrote:
> On Sat, May 22, 2010 at 12:52 PM, Igor V. Kovalenko
> wrote:
>> --- a/target-sparc/helper.c
>> +++ b/target-sparc/helper.c
>> @@ -572,6 +572,23 @@ static int get_physical_address(CPUState *env,
>> target_phys_addr_t *physical,
>> /* ?
On Sat, May 22, 2010 at 12:52 PM, Igor V. Kovalenko
wrote:
> --- a/target-sparc/helper.c
> +++ b/target-sparc/helper.c
> @@ -572,6 +572,23 @@ static int get_physical_address(CPUState *env,
> target_phys_addr_t *physical,
> /* ??? We treat everything as a small page, then explicitly flush
>
From: Igor V. Kovalenko
- cpu_mmu_index return MMU_NUCLEUS_IDX if trap level is not zero
- cpu_get_tb_cpu_state: store trap level and primary context in flags
this allows to restart code translation when address translation is changed
- stop translation block after writing to pstate and tl regi