| Branch: | Revision:

root / target-sparc / machine.c @ 9168b3a5

History | View | Annotate | Download (6 kB)

# Date Author Comment
5a834bb4 05/09/2010 11:19 pm Blue Swirl

sparc: Fix lazy flag calculation on interrupts, refactor

Recalculate Sparc64 CPU flags on interrupts, otherwise some earlier
flags could be stored to pstate.

Refactor PSR/CCR/CWP handling: concentrate the actual
functions to op_helper.c.

Thanks to Igor Kovalenko for reporting....

8f4efc55 01/27/2010 11:21 pm Igor V. Kovalenko

sparc64: reimplement tick timers v4

sparc64 timer has tick counter which can be set and read,
and tick compare value used as deadline to fire timer interrupt.
The timer is not used as periodic timer, instead deadline
is set each time new timer interrupt is needed....

8194f35a 08/04/2009 11:22 pm Igor Kovalenko

Sparc64: replace tsptr with helper routine

tl and tsptr of members sparc64 cpu state must be changed
simultaneously to keep trap state window in sync with current
trap level. Currently translation of store to tl does not change
tsptr, which leads to corrupt trap state on corresponding...

6e8e7d4c 07/27/2009 08:43 am Igor Kovalenko

sparc64 name mmu registers and general cleanup

- add names to mmu registers, this helps understanding the code which
uses/modifies them.
- fold i/d mmu tlb entries tag and tte arrays into arrays of tlb entries
- extract demap_tlb routine (code duplication)...

f80f9ec9 05/21/2009 04:47 pm Anthony Liguori

Convert machine registration to use module init functions

This cleans up quite a lot of #ifdefs, extern variables, and other ugliness.

Signed-off-by: Anthony Liguori <>

1d6198c3 12/13/2008 11:32 am blueswir1

Remove unnecessary trailing newlines

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

e87231d4 09/26/2008 10:48 pm blueswir1

Add a generic Niagara machine

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

a7a044f2 08/01/2008 06:13 pm blueswir1

Handle wrapped registers correctly when saving
Fix typo
Save and load interrupt_index and pil_in
Original patch by Luis Pureza

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

c19148bd 07/25/2008 10:42 am blueswir1

Make MAXTL dynamic, bounds check tl when indexing

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

0b8f1b10 07/24/2008 02:28 pm blueswir1

Sparc32: save/load all MMU registers, Sparc64: add CPU save/load

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

c7ba218d 07/22/2008 10:07 am blueswir1

Add T1 and T2 CPUs, add a Sun4v machine

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

1a14026e 06/07/2008 11:07 am blueswir1

Allow NWINDOWS selection (CPU feature with model specific defaults)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162

8dd3dca3 05/04/2008 04:11 pm aurel32

remove target ifdefs from vl.c

(Glauber Costa)

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162