- 25 Mar, 2016 1 commit
-
-
Jeffrey Lee authored
Make Portable_Idle perform a DSB before the WFI, and use the CP15 WFI op on ARMv6. Allow the CPU clock device to vanish and re-appear. Export a C version of the CPUClkDevice header. Detail: s/Front, s/GetAll, s/StPortable - Improve Portable_Idle implementation so that it issues a DSB before the WFI, and uses the CP15 WFI (potentially with erratum 486865 workaround) for ARMv6. Adjust handling of CPU clock device in order to allow it to be registered and deregistered at runtime. Makefile, h/CPUClkDevice - Export a C version of the CPUClkDevice header Admin: Tested on Raspberry Pi 1B/2B/3B Version 0.79. Tagged as 'PortableHAL-0_79'
-
- 03 Mar, 2016 1 commit
-
-
Jeffrey Lee authored
Detail: s/StPortable - CPUSpeed bit 0 is 0 for fast and 1 for slow, make sure we get it the right way round when re-applying the current speed setting after accepting new fast & slow speed values Admin: Untested Issue spotted by Willi Theiss Version 0.78. Tagged as 'PortableHAL-0_78'
-
- 12 Dec, 2015 1 commit
-
-
ROOL authored
Detail: The CPUClkDevice struct pointer should be in a1, not a3. Admin: Submission from Willi Theiss. Version 0.77. Tagged as 'PortableHAL-0_77'
-
- 05 Dec, 2015 1 commit
-
-
Robert Sprowson authored
New Portable_ReadSensor is a general front end to sensors that might be of concern to the Portable module. Starter for 10 is temperature, and we support reading the CPU die temperature (from a new CPUClk entry point, since faster=botter they're physically related parameters) and the BMU charger. Each supports multiple units, so in future multicore temperatures can be reported. New error message in the resources, plus enable tokenisation of the Messages file since it's used via a buffered MessageTrans_ErrorLookup call. Tested briefly on a HAL with fake temperature sensor returning a hardwired kelvin value. Version 0.76. Tagged as 'PortableHAL-0_76'
-
- 21 Jun, 2015 1 commit
-
-
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'
-
- 14 Apr, 2013 1 commit
-
-
Robert Sprowson authored
In API 0.1 a new call, GetOverride, is provided. Changes from Willi Theiss. Version 0.74. Tagged as 'PortableHAL-0_74'
-
- 21 Nov, 2012 1 commit
-
-
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'
-
- 26 Feb, 2012 1 commit
-
-
Robert Sprowson authored
Version 0.72. Tagged as 'PortableHAL-0_72'
-
- 27 Jan, 2012 1 commit
-
-
Robert Sprowson authored
Version 0.71. Tagged as 'PortableHAL-0_71'
-
- 19 Mar, 2011 1 commit
-
-
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'
-
- 21 Mar, 2010 1 commit
-
-
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'
-
- 30 Jan, 2010 1 commit
-
-
Jeffrey Lee authored
Detail: Currently only supporte the Portable_Idle and Portable_Features SWIs. Portable_Idle is implemented using the WFI instruction found in ARMv6K+, but the module should compile and run on any architecture. Admin: Tested on rev C2 beagleboard Version 0.68. Tagged as 'PortableHAL-0_68'
-