qemu/target-sparc
Igor Kovalenko 697a77e6e7 sparc64 support TSB related MMU registers
Posting updated patch to the list...

>>> On Fri, Apr 24, 2009 at 9:42 PM, Blue Swirl <blauwirbel@gmail.com> wrote:
>>>  >
>>>  > Nice, though I didn't notice any visible improvement in my tests.
>>>
>>> This early in boot process there is not much to output; and I test
>>>  recent kernel which may use different startup sequence.
>>>  I modified openbios cif handler to output arguments and I now can see
>>>  visible difference.
>>>
>>>
>>>  >
>>>  > About the patch, there are a few problems:
>>>  > - it breaks Sparc32
>>>
>>> You mean it stops working?
>>
>> Does not even build.

Fixed now.

>>>  > - commented out code is ugly
>>>  > - if and else should be on the same line as '{' or '}'
>>>  > - long lines should be wrapped
>>>  > - in the line:
>>>  > +    return (((tag_access_register & 0x1fff)<<48)|(tag_access_register >> 22));
>>>  >  there should be white space between ) and << and 48.
>>>  >
>>>

>>
>> Also the ")|(" in between is crowded.
>>
>> Maybe the coding style does not describe this well enough.

BTW Supplying indent template would be great.

Please see the updated patch qemu-sparc64-tsb-asi-2.patch attached.

--
Kind regards,
Igor V. Kovalenko
2009-04-25 18:17:19 +03:00
..
cpu.h The _exit syscall is used for both thread termination in NPTL applications, 2009-03-07 15:24:59 +00:00
exec.h qemu: per-arch cpu_has_work (Marcelo Tosatti) 2009-04-24 18:03:20 +00:00
helper.c qemu: introduce qemu_init_vcpu (Marcelo Tosatti) 2009-04-24 18:03:41 +00:00
helper.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
machine.c Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
op_helper.c sparc64 support TSB related MMU registers 2009-04-25 18:17:19 +03:00
TODO Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
translate.c Add new command line option -singlestep for tcg single stepping. 2009-04-05 20:08:59 +00:00