StupidOS/kernel/heap.inc

28 lines
310 B
PHP
Raw Normal View History

2024-07-18 09:28:07 +00:00
;; File: heap.inc
;; Function: heap_init
heap_init:
push ebp
mov ebp, esp
sub esp, 4
mov [ebp-4], eax
mov ecx, KERNEL_VIRT_BASE
add eax, ecx
push eax
push ecx
mov esi, szMsgHeapInit
call klog
; TODO
leave
ret
heap_alloc:
ret
heap_free:
ret
szMsgHeapInit db "HEAP: initialize %x - %x", 0