Changeset 2629


Ignore:
Timestamp:
Oct 22, 2011, 5:39:56 AM (4 years ago)
Author:
wmb
Message:

OLPC XO-1.75 - turn off timer interrupts when entering Linux.

Location:
cpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/mmp2/timer.fth

    r2588 r2629  
    162162' (set-tick-limit) to set-tick-limit
    163163
     164: timers-off  ( -- )
     165   0 timer0-ier!  0 timer1-ier!  0 timer2-ier!  \ Disable timer interrupts
     166   7 timer0-icr!  7 timer1-icr!  7 timer2-icr!  \ Clear pending interrupts
     167;
     168
    164169: can-idle?  ( -- flag )
    165170   interrupts-enabled?  if
  • cpu/arm/olpc/1.75/fw.bth

    r2628 r2629  
    3434;
    3535: quiesce  ( -- )
     36   timers-off
    3637   usb-quiet
    3738   close-ec
Note: See TracChangeset for help on using the changeset viewer.