Commit eefa2115 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix waiting on wrong mailbox address

Detail:
  s/Top - Fix cores sat in the holding pattern waiting on a write to the wrong address. Also, set up lr so we can return to the holding pattern if desired.
Admin:
  Tested on Pi 3 B
  Now possible to launch simple code sequences on the other cores


Version 0.56. Tagged as 'BCM2835-0_56'
parent 56779d91
/* (0.55) /* (0.56)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1. * Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 0.55 #define Module_MajorVersion_CMHG 0.56
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 28 Mar 2016 #define Module_Date_CMHG 29 Mar 2016
#define Module_MajorVersion "0.55" #define Module_MajorVersion "0.56"
#define Module_Version 55 #define Module_Version 56
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "28 Mar 2016" #define Module_Date "29 Mar 2016"
#define Module_ApplicationDate "28-Mar-16" #define Module_ApplicationDate "29-Mar-16"
#define Module_ComponentName "BCM2835" #define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835" #define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.55" #define Module_FullVersion "0.56"
#define Module_HelpVersion "0.55 (28 Mar 2016)" #define Module_HelpVersion "0.56 (29 Mar 2016)"
#define Module_LibraryVersionInfo "0:55" #define Module_LibraryVersionInfo "0:56"
...@@ -470,7 +470,7 @@ holding_pattern ...@@ -470,7 +470,7 @@ holding_pattern
; Now wait for further instruction ; Now wait for further instruction
10 10
WFE WFE
LDR v1, [a2] LDR v1, [a4]
CMP v1, #0 CMP v1, #0
BEQ %BT10 BEQ %BT10
[ HALDebug [ HALDebug
...@@ -479,6 +479,7 @@ holding_pattern ...@@ -479,6 +479,7 @@ holding_pattern
ADD a3, a1, #'0' ADD a3, a1, #'0'
STRB a3, [a2, #UARTDR] STRB a3, [a2, #UARTDR]
] ]
ADR lr, holding_pattern ; Allow return to the holding pattern to simplify testing
BX v1 BX v1
LTORG LTORG
......
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