Commit 10df2aff authored by Robert Sprowson's avatar Robert Sprowson
Browse files

A signed string pointer comparison was stopping USBdriver from finding valid...

A signed string pointer comparison was stopping USBdriver from finding valid endpoints when ROMmed,as the special string it registers with was at a -ve address.

Changed to behave per the PRM (only 0 is important).
That was a git to find!

Version 0.64. Tagged as 'DeviceFS-0_64'
parent 63afe076
......@@ -11,13 +11,13 @@
GBLS Module_HelpVersion
GBLS Module_ComponentName
GBLS Module_ComponentPath
Module_MajorVersion SETS "0.63"
Module_Version SETA 63
Module_MajorVersion SETS "0.64"
Module_Version SETA 64
Module_MinorVersion SETS ""
Module_Date SETS "14 Jan 2003"
Module_ApplicationDate SETS "14-Jan-03"
Module_Date SETS "03 Mar 2003"
Module_ApplicationDate SETS "03-Mar-03"
Module_ComponentName SETS "DeviceFS"
Module_ComponentPath SETS "RiscOS/Sources/HWSupport/DeviceFS"
Module_FullVersion SETS "0.63"
Module_HelpVersion SETS "0.63 (14 Jan 2003)"
Module_FullVersion SETS "0.64"
Module_HelpVersion SETS "0.64 (03 Mar 2003)"
END
/* (0.63)
/* (0.64)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.68.
*
*/
#define Module_MajorVersion_CMHG 0.63
#define Module_MajorVersion_CMHG 0.64
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 14 Jan 2003
#define Module_Date_CMHG 03 Mar 2003
#define Module_MajorVersion "0.63"
#define Module_Version 63
#define Module_MajorVersion "0.64"
#define Module_Version 64
#define Module_MinorVersion ""
#define Module_Date "14 Jan 2003"
#define Module_Date "03 Mar 2003"
#define Module_ApplicationDate "14-Jan-03"
#define Module_ApplicationDate "03-Mar-03"
#define Module_ComponentName "DeviceFS"
#define Module_ComponentPath "RiscOS/Sources/HWSupport/DeviceFS"
#define Module_FullVersion "0.63"
#define Module_HelpVersion "0.63 (14 Jan 2003)"
#define Module_LibraryVersionInfo "0:63"
#define Module_FullVersion "0.64"
#define Module_HelpVersion "0.64 (03 Mar 2003)"
#define Module_LibraryVersionInfo "0:64"
......@@ -81,7 +81,7 @@ DecodeSpecial ROUT
LDR r4, [pr, #parent_Validation] ; get pointer to validation string
CMP r4, #0
ADDR r4, null, LE ; -> null string (if <=0)
ADDR r4, null, EQ ; -> null string (if 0 passed)
10
LDRB r0, [r4], #1
TEQ r0, #0
......@@ -120,7 +120,7 @@ DecodeSpecial ROUT
BL CopyNoTerm
LDR r0, [pr, #parent_Validation]
CMP r0, #0
ADDR r0, null, LE
ADDR r0, null, EQ
BL CopyString ; and append the one from the device
DebugS special, "string to be expanded ", r7
......
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