minor formatting.
This commit is contained in:
@@ -78,6 +78,7 @@ Heap_Init:
|
|||||||
; @param r25:r24 number of bytes to alloc
|
; @param r25:r24 number of bytes to alloc
|
||||||
; @return CFLAG set of okay, cleared otherwise
|
; @return CFLAG set of okay, cleared otherwise
|
||||||
; @return X start of allocated memory
|
; @return X start of allocated memory
|
||||||
|
; @clobbers r16, r17, r18, r19, r24, r25, X
|
||||||
|
|
||||||
Heap_Alloc:
|
Heap_Alloc:
|
||||||
rjmp heapAllocFirstFit
|
rjmp heapAllocFirstFit
|
||||||
@@ -92,6 +93,7 @@ Heap_Alloc:
|
|||||||
; @param r25:r24 number of bytes to alloc
|
; @param r25:r24 number of bytes to alloc
|
||||||
; @return CFLAG set of okay, cleared otherwise
|
; @return CFLAG set of okay, cleared otherwise
|
||||||
; @return X start of allocated memory
|
; @return X start of allocated memory
|
||||||
|
; @clobbers r16, r17, r18, r19, r24, r25, X
|
||||||
|
|
||||||
heapAllocFirstFit:
|
heapAllocFirstFit:
|
||||||
adiw r25:r24, 3 ; align size to next multiple of 4
|
adiw r25:r24, 3 ; align size to next multiple of 4
|
||||||
|
|||||||
Reference in New Issue
Block a user