Commit 985d3e76 authored by Stewart Brodie's avatar Stewart Brodie
Browse files

Adding missing implemention of xosheap_realloc

Detail:
  The header file declaration was there .. the implementation wasn't.
Admin:
  Required by AcornSSL.

Version 0.07. Tagged as 'AsmUtils-0_07'
parent 5f61a0f1
/* (0.06)
/* (0.07)
*
* This file is automatically maintained by srccommit, do not edit manually.
*
*/
#define Module_MajorVersion_CMHG 0.06
#define Module_MajorVersion_CMHG 0.07
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 15 Mar 2000
#define Module_Date_CMHG 05 May 2000
#define Module_MajorVersion "0.06"
#define Module_Version 6
#define Module_MajorVersion "0.07"
#define Module_Version 7
#define Module_MinorVersion ""
#define Module_Date "15 Mar 2000"
#define Module_Date "05 May 2000"
#define Module_FullVersion "0.06"
#define Module_FullVersion "0.07"
......@@ -30,6 +30,7 @@
EXPORT xosheap_alloc
EXPORT xosheap_free
EXPORT xosheap_resize
EXPORT xosheap_realloc
EXPORT xosheap_read_size
AREA |AsmUtils$MemSWIs1$$Code|,CODE,READONLY,PIC
......@@ -87,4 +88,17 @@ xosheap_read_size
MOVVC R0,#0
Return
AREA |AsmUtils$MemSWIs6$$Code|,CODE,READONLY,PIC
xosheap_realloc
FunctionEntry
MOV R12,R3
MOV R3,R2
MOV R2,R1
MOV R1,R0
MOV R0,#HeapReason_ExtendBlock
SWI XOS_Heap
MOVVC R0,#0
STRVC R2,[R12]
Return
END
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