Changeset 3d76996 in mainline


Ignore:
Timestamp:
2006-12-02T20:16:35Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
92778f2
Parents:
d0485c6
Message:

Add dcache_flush() function that flushes D-Cache on sparc64.

Location:
kernel/arch/sparc64
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/Makefile.inc

    rd0485c6 r3d76996  
    8484        arch/$(ARCH)/src/dummy.s \
    8585        arch/$(ARCH)/src/mm/as.c \
     86        arch/$(ARCH)/src/mm/cache.c \
    8687        arch/$(ARCH)/src/mm/frame.c \
    8788        arch/$(ARCH)/src/mm/page.c \
  • kernel/arch/sparc64/include/arch.h

    rd0485c6 r3d76996  
    4141#define ASI_AIUS                0x11    /** Access to secondary context with user privileges. */
    4242#define ASI_NUCLEUS_QUAD_LDD    0x24    /** ASI for 16-byte atomic loads. */
     43#define ASI_DCACHE_TAG          0x47    /** ASI D-Cache Tag. */
    4344#define ASI_UPA_CONFIG          0x4a    /** ASI of the UPA_CONFIG register. */
    4445
  • kernel/arch/sparc64/src/start.S

    rd0485c6 r3d76996  
    252252
    253253        /*
     254         * Flush D-Cache.
     255         */
     256        call dcache_flush
     257        nop
     258
     259        /*
    254260         * So far, we have not touched the stack.
    255261         * It is a good idea to set the kernel stack to a known state now.
Note: See TracChangeset for help on using the changeset viewer.