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

Subversion Repositories amber

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

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 15
Line 45... Line 45...
main:
main:
        @ ---------------------
        @ ---------------------
        @ Enable the cache
        @ Enable the cache
        @ ---------------------
        @ ---------------------
        mov     r0,  #0x00000001
        mov     r0,  #0x00000001
        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 a block of memory that straddles
        @ Write to a block of memory that straddles
        @ across a cache region boundary so that
        @ across a cache region boundary so that

powered by: WebSVN 2.1.0

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