Commit 3ba8734f authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Fix heap test compile errors

Detail:
  TestSrc/HeapTest/c/testbed - Added missing semicolon
  TestSrc/HeapTest/s/asm - Include Hdr:MsgTrans for XMessageTrans_CopyError
Admin:
  Now compiles and runs properly!


Version 5.35, 4.79.2.129. Tagged as 'Kernel-5_35-4_79_2_129'
parent 4a30b643
...@@ -13,12 +13,6 @@ ...@@ -13,12 +13,6 @@
* limitations under the License. * limitations under the License.
*/ */
/* OS_Heap testbed code. Creates a heap and randomly allocates/deallocates/
resizes blocks of memory to test for any bugs. Tests can either be performed
using the OS_Heap SWI or by compiling a special version of the heap code
from the kernel source folder (see USE_LOCAL_OSHEAP #define and s.asm)
*/
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
...@@ -292,7 +286,7 @@ int main(int argc,char **argv) ...@@ -292,7 +286,7 @@ int main(int argc,char **argv)
_kernel_oserror *err; _kernel_oserror *err;
/* TODO - Take parameters from command line */ /* TODO - Take parameters from command line */
_swix(OS_ReadMonotonicTime,_OUT(0),&seed) _swix(OS_ReadMonotonicTime,_OUT(0),&seed);
allocsize = 8*1024; allocsize = 8*1024;
init(); init();
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
GET Hdr:FSNumbers GET Hdr:FSNumbers
GET Hdr:HighFSI GET Hdr:HighFSI
GET Hdr:NewErrors GET Hdr:NewErrors
GET Hdr:MsgTrans
; Disable internationalisation ; Disable internationalisation
GBLL International GBLL International
......
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
GBLS Module_ComponentPath GBLS Module_ComponentPath
Module_MajorVersion SETS "5.35" Module_MajorVersion SETS "5.35"
Module_Version SETA 535 Module_Version SETA 535
Module_MinorVersion SETS "4.79.2.128" Module_MinorVersion SETS "4.79.2.129"
Module_Date SETS "10 Dec 2011" Module_Date SETS "10 Dec 2011"
Module_ApplicationDate SETS "10-Dec-11" Module_ApplicationDate SETS "10-Dec-11"
Module_ComponentName SETS "Kernel" Module_ComponentName SETS "Kernel"
Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel" Module_ComponentPath SETS "castle/RiscOS/Sources/Kernel"
Module_FullVersion SETS "5.35 (4.79.2.128)" Module_FullVersion SETS "5.35 (4.79.2.129)"
Module_HelpVersion SETS "5.35 (10 Dec 2011) 4.79.2.128" Module_HelpVersion SETS "5.35 (10 Dec 2011) 4.79.2.129"
END END
...@@ -5,12 +5,12 @@ ...@@ -5,12 +5,12 @@
* *
*/ */
#define Module_MajorVersion_CMHG 5.35 #define Module_MajorVersion_CMHG 5.35
#define Module_MinorVersion_CMHG 4.79.2.128 #define Module_MinorVersion_CMHG 4.79.2.129
#define Module_Date_CMHG 10 Dec 2011 #define Module_Date_CMHG 10 Dec 2011
#define Module_MajorVersion "5.35" #define Module_MajorVersion "5.35"
#define Module_Version 535 #define Module_Version 535
#define Module_MinorVersion "4.79.2.128" #define Module_MinorVersion "4.79.2.129"
#define Module_Date "10 Dec 2011" #define Module_Date "10 Dec 2011"
#define Module_ApplicationDate "10-Dec-11" #define Module_ApplicationDate "10-Dec-11"
...@@ -18,6 +18,6 @@ ...@@ -18,6 +18,6 @@
#define Module_ComponentName "Kernel" #define Module_ComponentName "Kernel"
#define Module_ComponentPath "castle/RiscOS/Sources/Kernel" #define Module_ComponentPath "castle/RiscOS/Sources/Kernel"
#define Module_FullVersion "5.35 (4.79.2.128)" #define Module_FullVersion "5.35 (4.79.2.129)"
#define Module_HelpVersion "5.35 (10 Dec 2011) 4.79.2.128" #define Module_HelpVersion "5.35 (10 Dec 2011) 4.79.2.129"
#define Module_LibraryVersionInfo "5:35" #define Module_LibraryVersionInfo "5:35"
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