diff --git a/src/lib/heap.s b/src/lib/heap.s index bc0f541..a28e340 100644 --- a/src/lib/heap.s +++ b/src/lib/heap.s @@ -48,6 +48,7 @@ .equ sizeof_fb, (8*4 + align_imask) & align_mask .equ sizeof_ub, (8*1 + align_imask) & align_mask +# TODO: use with brk to reduce redundant calls .equ PAGE_SIZE, 4096 diff --git a/src/test/heap.s b/src/test/heap.s index 3d5beeb..a3c9ca9 100644 --- a/src/test/heap.s +++ b/src/test/heap.s @@ -22,6 +22,13 @@ hexstr: +# TODO: The print is really nice, +# but this is kinda garbage because +# it only tests what's hardcoded here. +# Need to turn into program where you +# can enter commands to test exactly +# what you want. + .align 2 .section .text