malloc/free do not change ebx now

git-svn-id: svn://kolibrios.org@3681 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse
2013-06-18 10:33:19 +00:00
parent eebdcf71f9
commit 1a7694e453
5 changed files with 5 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ $Revision$
;
align 4
malloc:
push esi
push ebx esi
; nb = ((size+7)&~7)+8;
@@ -96,7 +96,7 @@ malloc:
mov ecx, mst.mutex
call mutex_unlock
mov eax, esi
pop esi
pop esi ebx
ret
.split:
@@ -205,7 +205,7 @@ free:
test eax, eax
jz .exit
push edi
push ebx edi
mov edi, eax
add edi, -8
@@ -298,7 +298,7 @@ free:
mov eax, esi
pop esi
.fail:
pop edi
pop edi ebx
.exit:
ret