forked from KolibriOS/kolibrios
8b59b0bc76
git-svn-id: svn://kolibrios.org@8196 a494cfbc-eb01-0410-851d-a64ba20cac60
48 lines
756 B
C++
48 lines
756 B
C++
;/***
|
|
|
|
KolibriHeapInit = @Kolibri@HeapInit$qv
|
|
|
|
KolibriHeapAlloc = @Kolibri@Alloc$qul
|
|
|
|
KolibriHeapReAlloc = @Kolibri@ReAlloc$qpvul
|
|
|
|
KolibriHeapFree = @Kolibri@Free$qpv
|
|
|
|
align 4
|
|
proc @Kolibri@HeapInit$qv uses ebx
|
|
mov eax,SF_SYS_MISC
|
|
mov ebx,SSF_HEAP_INIT
|
|
int 0x40
|
|
ret
|
|
endp
|
|
|
|
align 4
|
|
proc @Kolibri@Alloc$qul uses ebx
|
|
mov eax,SF_SYS_MISC
|
|
mov ebx,SSF_MEM_ALLOC
|
|
mov ecx,[esp+8]
|
|
int 0x40
|
|
ret
|
|
endp
|
|
|
|
align 4
|
|
proc @Kolibri@ReAlloc$qpvul uses ebx
|
|
mov eax,SF_SYS_MISC
|
|
mov ebx,SSF_MEM_REALLOC
|
|
mov ecx,[esp+12]
|
|
mov edx,[esp+8]
|
|
int 0x40
|
|
ret
|
|
endp
|
|
|
|
align 4
|
|
proc @Kolibri@Free$qpv uses ebx
|
|
mov eax,SF_SYS_MISC
|
|
mov ebx,SSF_MEM_FREE
|
|
mov ecx,[esp+8]
|
|
int 0x40
|
|
ret
|
|
endp
|
|
|
|
;/**/
|