*size of memory manager code reduced

*18/17 function returns physical memory size now 
 (it returned size of allocatable memory previously).

git-svn-id: svn://kolibrios.org@39 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Andrey Halyavin (halyavin)
2006-01-23 14:30:15 +00:00
parent 14825618c3
commit 4c548cc4f0
2 changed files with 11 additions and 54 deletions

View File

@@ -2258,8 +2258,10 @@ no_mouse_centered:
no_get_free_space:
cmp eax,17
jnz no_get_all_space
mov eax,[MEM_AllSpace]
shl eax,2
mov eax,[0xFE8C]
shr eax,10
; mov eax,[MEM_AllSpace]
; shl eax,2
ret
no_get_all_space: