OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [tests/] [cache3.S] - Diff between revs 2 and 15

Show entire file | Details | Blame | View Log

Rev 2 Rev 15
Line 49... Line 49...
main:
main:
        @ ---------------------
        @ ---------------------
        @ Enable the cache
        @ Enable the cache
        @ ---------------------
        @ ---------------------
        mov     r0,  #0xffffffff
        mov     r0,  #0xffffffff
        mcr     p15, 0, r0, c3, c0, 0   @ cacheable area
        mcr     15, 0, r0, cr3, cr0, 0   @ cacheable area
        mov     r0,  #1
        mov     r0,  #1
        mcr     p15, 0, r0, c2, c0, 0   @ cache enable
        mcr     15, 0, r0, cr2, cr0, 0   @ cache enable
        nop
        nop
        nop
        nop
 
 
        @ ---------------------
        @ ---------------------
        @ Write to 2k locations
        @ Write to 2k locations

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.