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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [orpsocv2/] [sw/] [drivers/] [or1200/] [or1200-mmu.S] - Diff between revs 373 and 393

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

Rev 373 Rev 393
?rev1line?
?rev2line?
 
#include "spr-defs.h"
 
 
 
        /* MMU enable functions */
 
.global lo_dmmu_en
 
lo_dmmu_en:
 
        l.mfspr r3,r0,SPR_SR
 
        l.ori   r3,r3,SPR_SR_DME
 
        l.mtspr r0,r3,SPR_ESR_BASE
 
        l.mtspr r0,r9,SPR_EPCR_BASE
 
        l.rfe
 
        l.nop
 
 
 
.global lo_immu_en
 
lo_immu_en:
 
        l.mfspr r3,r0,SPR_SR
 
        l.ori   r3,r3,SPR_SR_IME
 
        l.mtspr r0,r3,SPR_ESR_BASE
 
        l.mtspr r0,r9,SPR_EPCR_BASE
 
        l.rfe
 
        l.nop
 
 

powered by: WebSVN 2.1.0

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