Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 68acf21 in mainline


Ignore:
Timestamp:
2010-02-23T21:21:47Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
153fbf9, 7da160b
Parents:
f389409
Message:

Optimize the clean window handler on sun4v according to 12.2.3 of the
UltraSPARC T1 Supplement to the UltraSPARC Architecture 2005.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/trap/regwin.h

    rf389409 r68acf21  
    183183        add %l0, 1, %l0
    184184        wrpr %l0, 0, %cleanwin
     185#if defined(SUN4U)
    185186        mov %r0, %l0
    186187        mov %r0, %l1
     
    199200        mov %r0, %o6
    200201        mov %r0, %o7
     202#endif
    201203        retry
    202204.endm
    203205#endif /* __ASM__ */
    204206
    205 #if defined (SUN4U)
     207#if defined(SUN4U)
    206208#include <arch/trap/sun4u/regwin.h>
    207 #elif defined (SUN4V)
     209#elif defined(SUN4V)
    208210#include <arch/trap/sun4v/regwin.h>
    209211#endif
Note: See TracChangeset for help on using the changeset viewer.