Changeset 802898f in mainline for boot/arch/sparc64/src/asm.S


Ignore:
Timestamp:
2013-09-02T20:14:11Z (11 years ago)
Author:
Dominik Taborsky (AT DOT) <brembyseznamcz>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c95dff
Parents:
0435fe41 (diff), 61ab4a9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

mainline update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/src/asm.S

    r0435fe41 r802898f  
    3030#include <arch/arch.h>
    3131
     32#if defined(PROCESSOR_us) || defined(PROCESSOR_us3)
    3233#define ICACHE_SIZE       8192
    3334#define ICACHE_LINE_SIZE  32
    3435#define ICACHE_SET_BIT    (1 << 13)
    3536#define ASI_ICACHE_TAG    0x67
     37#endif  /* PROCESSOR_us || PROCESSOR_us3 */
    3638
    3739.register %g2, #scratch
     
    134136# Flush I-cache
    135137icache_flush:
     138#if defined(PROCESSOR_us) || defined(PROCESSOR_us3)
    136139        set ((ICACHE_SIZE - ICACHE_LINE_SIZE) | ICACHE_SET_BIT), %g1
    137140        stxa %g0, [%g1] ASI_ICACHE_TAG
     
    149152       
    150153        nop
     154#else
     155        // TODO: sun4v
     156        retl
     157        nop
     158#endif  /* PROCESSOR_us || PROCESSOR_us3 */
    151159
    152160.global ofw
Note: See TracChangeset for help on using the changeset viewer.