Commit 765f5293 authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Don't map in VC memory

Detail:
  hdr/StaticWS, s/Top - Removed code to map in all of VC memory. Currently nothing needs it, and the code was broken anyway (debug output would corrupt a1 value given to OS_MapInIO)
Admin:
  Tested on Raspberry Pi


Version 0.46. Tagged as 'BCM2835-0_46'
parent f2a40e26
/* (0.45)
/* (0.46)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.45
#define Module_MajorVersion_CMHG 0.46
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 26 Jul 2015
#define Module_Date_CMHG 05 Aug 2015
#define Module_MajorVersion "0.45"
#define Module_Version 45
#define Module_MajorVersion "0.46"
#define Module_Version 46
#define Module_MinorVersion ""
#define Module_Date "26 Jul 2015"
#define Module_Date "05 Aug 2015"
#define Module_ApplicationDate "26-Jul-15"
#define Module_ApplicationDate "05-Aug-15"
#define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.45"
#define Module_HelpVersion "0.45 (26 Jul 2015)"
#define Module_LibraryVersionInfo "0:45"
#define Module_FullVersion "0.46"
#define Module_HelpVersion "0.46 (05 Aug 2015)"
#define Module_LibraryVersionInfo "0:46"
......@@ -121,7 +121,6 @@ ARM_Base # 4
ARM_Size # 4
VC_Base # 4
VC_Size # 4
VC_Logical # 4
Board_Model # 4
Board_Revision # 4
ARM_DMAChannels # 4
......
......@@ -585,20 +585,12 @@ HAL_Init
STR a2, Board_Revision
STR a1, ARM_DMAChannels
MOV a1, #0 ; map in the whole of the VC memory as
; IO to avoid subsequent logical
; address space fragmentation
LDR a2, VC_Base
LDR a3, VC_Size
mov r0,a2
bl HAL_DebugHexTX4
mov r0,a3
bl HAL_DebugHexTX4
CallOS OS_MapInIO
STR a1, VC_Logical
bl HAL_DebugHexTX4
; Get the physical address of NCNB workspace
; R8 -> start of NCNB workspace
......
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