Commit 79e44eed authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Reserve 5 bytes for timestamping

Also, swap magic numbers for defines.

Version 0.27. Tagged as 'BCM2835-0_27'
parent cb672d54
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.26"
Module_Version SETA 26
Module_MajorVersion SETS "0.27"
Module_Version SETA 27
Module_MinorVersion SETS ""
Module_Date SETS "18 Sep 2012"
Module_ApplicationDate SETS "18-Sep-12"
Module_ComponentName SETS "BCM2835"
Module_ComponentPath SETS "mixed/RiscOS/Sources/HAL/BCM2835"
Module_FullVersion SETS "0.26"
Module_HelpVersion SETS "0.26 (18 Sep 2012)"
Module_FullVersion SETS "0.27"
Module_HelpVersion SETS "0.27 (18 Sep 2012)"
END
/* (0.26)
/* (0.27)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.26
#define Module_MajorVersion_CMHG 0.27
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 18 Sep 2012
#define Module_MajorVersion "0.26"
#define Module_Version 26
#define Module_MajorVersion "0.27"
#define Module_Version 27
#define Module_MinorVersion ""
#define Module_Date "18 Sep 2012"
......@@ -18,6 +18,6 @@
#define Module_ComponentName "BCM2835"
#define Module_ComponentPath "mixed/RiscOS/Sources/HAL/BCM2835"
#define Module_FullVersion "0.26"
#define Module_HelpVersion "0.26 (18 Sep 2012)"
#define Module_LibraryVersionInfo "0:26"
#define Module_FullVersion "0.27"
#define Module_HelpVersion "0.27 (18 Sep 2012)"
#define Module_LibraryVersionInfo "0:27"
......@@ -32,6 +32,8 @@
AREA |ARM$$data|, CODE, READONLY, PIC
GET Hdr:HALEntries
EXPORT HAL_NVMemoryType
EXPORT HAL_NVMemorySize
EXPORT HAL_NVMemoryPageSize
......@@ -42,14 +44,17 @@
cmos_size * 2048 ; arbitrary choice
UND #&C305 ; get it?
UND #&C305 ; get it?
DCD cmos_size
cmos
% cmos_size
cmos_stamp
DCB 0, 0, 0, 0, 0 ; space for a UTC save time
ALIGN
HAL_NVMemoryType
; HAL provides calls to access NVMemory, physical locations 0-15 are read/write
LDR a1, =3 :OR: 1:SHL:10 :OR: 1:SHL:11
LDR a1, =NVMemoryFlag_HAL :OR: NVMemoryFlag_LowRead :OR: NVMemoryFlag_LowWrite
MOV pc,lr
HAL_NVMemorySize
......
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