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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [monitor/] [monitor/] [boards/] [xsa-xst-3/] [start.s] - Diff between revs 84 and 180

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

Rev 84 Rev 180
Line 12... Line 12...
        .set    TLB_INDEX,1             ; reg # of TLB Index
        .set    TLB_INDEX,1             ; reg # of TLB Index
        .set    TLB_ENTRY_HI,2          ; reg # of TLB EntryHi
        .set    TLB_ENTRY_HI,2          ; reg # of TLB EntryHi
        .set    TLB_ENTRY_LO,3          ; reg # of TLB EntryLo
        .set    TLB_ENTRY_LO,3          ; reg # of TLB EntryLo
        .set    TLB_ENTRIES,32          ; number of TLB entries
        .set    TLB_ENTRIES,32          ; number of TLB entries
        .set    BAD_ADDRESS,4           ; reg # of bad address reg
        .set    BAD_ADDRESS,4           ; reg # of bad address reg
 
        .set    BAD_ACCESS,5            ; reg # of bad access reg
 
 
        .set    USER_CONTEXT_SIZE,37*4  ; size of user context
        .set    USER_CONTEXT_SIZE,38*4  ; size of user context
 
 
;***************************************************************
;***************************************************************
 
 
        .import _ecode
        .import _ecode
        .import _edata
        .import _edata
Line 356... Line 357...
        mvts    $8,TLB_ENTRY_HI
        mvts    $8,TLB_ENTRY_HI
        ldw     $8,$28,35*4             ; tlbEntryLo
        ldw     $8,$28,35*4             ; tlbEntryLo
        mvts    $8,TLB_ENTRY_LO
        mvts    $8,TLB_ENTRY_LO
        ldw     $8,$28,36*4             ; badAddress
        ldw     $8,$28,36*4             ; badAddress
        mvts    $8,BAD_ADDRESS
        mvts    $8,BAD_ADDRESS
 
        ldw     $8,$28,37*4             ; badAccess
 
        mvts    $8,BAD_ACCESS
        ;ldw    $0,$28,0*4              ; registers
        ;ldw    $0,$28,0*4              ; registers
        ldw     $1,$28,1*4
        ldw     $1,$28,1*4
        ldw     $2,$28,2*4
        ldw     $2,$28,2*4
        ldw     $3,$28,3*4
        ldw     $3,$28,3*4
        ldw     $4,$28,4*4
        ldw     $4,$28,4*4
Line 442... Line 445...
        stw     $8,$28,34*4             ; tlbEntryHi
        stw     $8,$28,34*4             ; tlbEntryHi
        mvfs    $8,TLB_ENTRY_LO
        mvfs    $8,TLB_ENTRY_LO
        stw     $8,$28,35*4             ; tlbEntryLo
        stw     $8,$28,35*4             ; tlbEntryLo
        mvfs    $8,BAD_ADDRESS
        mvfs    $8,BAD_ADDRESS
        stw     $8,$28,36*4             ; badAddress
        stw     $8,$28,36*4             ; badAddress
 
        mvfs    $8,BAD_ACCESS
 
        stw     $8,$28,37*4             ; badAccess
        .syn
        .syn
        j       loadState
        j       loadState
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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