1. 21 Jun, 2015 1 commit
    • Robert Sprowson's avatar
      Minor cleanups · 182f19f7
      Robert Sprowson authored
      * A few redundant includes removed
      * Use ObjAsm {TRUE} and {FALSE}
      * Since there's no command table, don't declare the messages file in the module header
      * Use WFI directly instead of DCI &E320F003
      * Remove *FreezeTime command help from messages
      Built, but not tested.
      
      Version 0.75. Tagged as 'PortableHAL-0_75'
      182f19f7
  2. 14 Apr, 2013 1 commit
  3. 21 Nov, 2012 1 commit
    • Jeffrey Lee's avatar
      Add initial implementation of the new HAL friendly BMU interface · f39eb189
      Jeffrey Lee authored
      Detail:
        hdr/BMUDevice - New header describing layout of BMU HAL devices
        Makefile - export hdr/BMUDevice, and a C version of hdr/Portable
        hdr/Portable - Lots of new definitions related to the BMU interface. VirtualRPC BMU vars renamed slightly to match the A4/HAL naming convention (PortableBMUV_) instead of the Stork naming convention (Portable_BMUVar_).
        s/Front, s/GetAll, s/StPortable - BMU interface implementation. Two new SWIs (Portable_EnumerateBMU & Portable_ReadBMUVariables) are provided, along with a semi backwards compatible Portable_ReadBMUVariable implementation. Code also updated to use OSHW_ constants instead of magic numbers.
        Resources/UK/Messages - New error message text added
      Admin:
        Tested in ROM on BB-xM, Pandora, TouchBook
      
      
      Version 0.73. Tagged as 'PortableHAL-0_73'
      f39eb189
  4. 26 Feb, 2012 1 commit
  5. 27 Jan, 2012 1 commit
  6. 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
      Detail:
        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.
      Admin:
        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'
      ab299835
  7. 21 Mar, 2010 1 commit
    • Jeffrey Lee's avatar
      Tweak Portable_Idle implementation in PortableHAL module · fc5e15e5
      Jeffrey Lee authored
      Detail:
        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.
      Admin:
        Untested, but should be safe.
      
      
      Version 0.69. Tagged as 'PortableHAL-0_69'
      fc5e15e5
  8. 30 Jan, 2010 1 commit