Changeset 7afe5a2 in rtems for c/src/lib/libcpu/arm/shared


Ignore:
Timestamp:
Jun 3, 2006, 3:14:07 AM (15 years ago)
Author:
Jay Monkman <jtm@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bc19e2a
Parents:
ada5201
Message:

2006-06-02 Jay Monkman

  • at91rm9200/irq/bsp_irq_init.c, mc9328mxl/clock/clockdrv.c, mc9328mxl/irq/bsp_irq_asm.S, mc9328mxl/irq/bsp_irq_init.c, mc9328mxl/irq/irq.c, mc9328mxl/irq/irq.h, s3c2400/irq/bsp_irq_init.c: Changed interrupt handling to use shared rtems_irq_connect_data struct.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/shared/arm920/mmu.c

    rada5201 r7afe5a2  
    152152{
    153153    uint32_t val;
    154     asm volatile ("msr 15, 0, %0, cr1, cr0\n" : "=r" (val));
     154    asm volatile ("mrc 15, 0, %0, cr1, cr0\n" : "=r" (val));
    155155    return val;
    156156}
     
    241241    }
    242242}
     243
     244
     245void mmu_set_cpu_async_mode(void)
     246{
     247    uint32_t reg;
     248    reg = mmu_get_ctrl();
     249    reg |= 0xc0000000;
     250    mmu_set_ctrl(reg);
     251}
     252   
Note: See TracChangeset for help on using the changeset viewer.