GitLab has been upgraded to 13.11.3 If you encounter any issues mail code@riscosopen.org

Commit 740691e6 authored by Jeffrey Lee's avatar Jeffrey Lee Committed by ROOL
Browse files

Fix HAL_PhysInfo

CPUDetect was corrupting the pointer needed for storing the table size

Version 0.88. Tagged as 'HAL_BCM2835-0_88'
parent 80ee0170
/* (0.87) /* (0.88)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* *
*/ */
#define Module_MajorVersion_CMHG 0.87 #define Module_MajorVersion_CMHG 0.88
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 22 Jun 2020 #define Module_Date_CMHG 01 Jul 2020
#define Module_MajorVersion "0.87" #define Module_MajorVersion "0.88"
#define Module_Version 87 #define Module_Version 88
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "22 Jun 2020" #define Module_Date "01 Jul 2020"
#define Module_ApplicationDate "22-Jun-20" #define Module_ApplicationDate "01-Jul-20"
#define Module_ComponentName "HAL_BCM2835" #define Module_ComponentName "HAL_BCM2835"
#define Module_FullVersion "0.87" #define Module_FullVersion "0.88"
#define Module_HelpVersion "0.87 (22 Jun 2020)" #define Module_HelpVersion "0.88 (01 Jul 2020)"
#define Module_LibraryVersionInfo "0:87" #define Module_LibraryVersionInfo "0:88"
...@@ -1055,7 +1055,7 @@ HAL_Reset ...@@ -1055,7 +1055,7 @@ HAL_Reset
HAL_PhysInfo ROUT HAL_PhysInfo ROUT
TEQ a1, #PhysInfo_GetTableSize TEQ a1, #PhysInfo_GetTableSize
BNE %FT01 BNE %FT01
CPUDetect a2 CPUDetect ip
MOVLS a1, #524288 ; Two pages in each byte, so (2^32)/(4096*2) MOVLS a1, #524288 ; Two pages in each byte, so (2^32)/(4096*2)
MOVHI a1, #4194304 ; Two pages in each byte, so (2^35)/(4096*2) MOVHI a1, #4194304 ; Two pages in each byte, so (2^35)/(4096*2)
STR a1, [a2] STR a1, [a2]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment