1. 26 Feb, 2012 1 commit
  2. 27 Jan, 2012 1 commit
  3. 19 Mar, 2011 1 commit
    • Jeffrey Lee's avatar
      Add code for controlling CPU speed via interacting with a CPUClk HAL device. · ab299835
      Jeffrey Lee authored
        Makefile, hdr/CPUClkDevice - Add HALDevice_CPUClk descriptor to header exports
        hdr/Portable - Trim some obsolete definitions, tidy formatting, add Speed2 and (unimplemented) WakeTime SWI numbers, add BatteryTimeRemaining and MaxBatteryTime BMU variables (from VirtualRPC)
        s/Front, s/GetAll, s/StPortable - Added Portable_Speed and Portable_Speed2 implementations, for controlling CPU speed. Portable_Speed is fully compatible with the old A4 version; all new features are exposed via Portable_Speed2 instead. Also added some debug-only stats logging code to track how much time is spent in various states.
        Resources/UK/Messages - New error messages.
        Tested on rev C2 BB, A2 BB-xM, C1 TouchBook.
        Portable_Speed2 & HALDevice_CPUClk documentation will be on the wiki soon.
      Version 0.70. Tagged as 'PortableHAL-0_70'
  4. 21 Mar, 2010 1 commit
    • Jeffrey Lee's avatar
      Tweak Portable_Idle implementation in PortableHAL module · fc5e15e5
      Jeffrey Lee authored
        In an attempt to solve a problem that doesn't exist, my Portable_Idle implementation was taking measures to avoid executing the WFI instruction if the module might have been running on pre-ARMv3 hardware.
        However I've since discovered that this was unnecessary, since WFI degrades to a NOP MSR on pre-ARMv6K, and MSR itself is a NOP on pre-ARMv3.
        Untested, but should be safe.
      Version 0.69. Tagged as 'PortableHAL-0_69'
  5. 30 Jan, 2010 1 commit