Commit 495018ca authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Implement HAL_IRQMax

Detail:
  hdr/BCM2835 - Add definition for highest IRQ number
  s/Boot, s/Interrupts - Added HAL_IRQMax implementation, to ensure correct functionality with latest Kernel
Admin:
  Tested on 256MB Pi model B
  Requires Kernel-5_35-4_79_2_182


Version 0.29. Tagged as 'BCM2835-0_29'
parent 8c2b8c22
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.28"
Module_Version SETA 28
Module_MajorVersion SETS "0.29"
Module_Version SETA 29
Module_MinorVersion SETS ""
Module_Date SETS "20 Jan 2013"
Module_ApplicationDate SETS "20-Jan-13"
Module_Date SETS "22 Jan 2013"
Module_ApplicationDate SETS "22-Jan-13"
Module_ComponentName SETS "BCM2835"
Module_ComponentPath SETS "mixed/RiscOS/Sources/HAL/BCM2835"
Module_FullVersion SETS "0.28"
Module_HelpVersion SETS "0.28 (20 Jan 2013)"
Module_FullVersion SETS "0.29"
Module_HelpVersion SETS "0.29 (22 Jan 2013)"
END
/* (0.28)
/* (0.29)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.28
#define Module_MajorVersion_CMHG 0.29
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 20 Jan 2013
#define Module_Date_CMHG 22 Jan 2013
#define Module_MajorVersion "0.28"
#define Module_Version 28
#define Module_MajorVersion "0.29"
#define Module_Version 29
#define Module_MinorVersion ""
#define Module_Date "20 Jan 2013"
#define Module_Date "22 Jan 2013"
#define Module_ApplicationDate "20-Jan-13"
#define Module_ApplicationDate "22-Jan-13"
#define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.28"
#define Module_HelpVersion "0.28 (20 Jan 2013)"
#define Module_LibraryVersionInfo "0:28"
#define Module_FullVersion "0.29"
#define Module_HelpVersion "0.29 (22 Jan 2013)"
#define Module_LibraryVersionInfo "0:29"
......@@ -545,6 +545,8 @@ iDev_ARM_SDIO * 64+18 ; copy of GPU IRQ 56
iDev_ARM_Uart * 64+19 ; copy of GPU IRQ 57
iDev_ARM_VCSDIO * 64+20 ; copy of GPU IRQ 62
iDev_Max * 64+21
;IIC0 (BSC0, i.e. Broadcom Serial Controller 0)
IIC_Base0 * &00205000 ; base of IIC0
;IIC1 (BCS1, i.e. Broadcom Serial Controller 1)
......
......@@ -38,6 +38,7 @@
EXPORT HAL_FIQClear
EXPORT HAL_FIQSource
EXPORT HAL_FIQStatus
EXPORT HAL_IRQMax
GET Hdr:ListOpts
......@@ -222,5 +223,9 @@ HAL_FIQSource
DoMemBarrier ip
MOV pc, lr
HAL_IRQMax
MOV a1, #iDev_Max
MOV pc, lr
END
......@@ -56,6 +56,7 @@
IMPORT HAL_FIQClear
IMPORT HAL_FIQSource
IMPORT HAL_FIQStatus
IMPORT HAL_IRQMax
IMPORT Timer_Init
IMPORT HAL_Timers
......@@ -521,7 +522,7 @@ HAL_EntryTable DATA
HALEntry HAL_USBControllerInfo
NullEntry ;HALEntry HAL_MonitorLeadID
HALEntry HAL_IRQMax
HALEntry HAL_VideoRender
......
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