Subversion Repositories Kolibri OS

Rev

Rev 8184 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8184 Rev 8199
Line 1... Line 1...
1
;/***
1
;/***
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
KolibriHeapInit = @@Kolibri@_HeapInit$qv
3
KolibriHeapInit = @Kolibri@HeapInit$qv
Line 4... Line 4...
4
 
4
 
Line 5... Line 5...
5
KolibriHeapAlloc = @@Kolibri@Alloc$qui
5
KolibriHeapAlloc = @Kolibri@Alloc$qul
Line -... Line 6...
-
 
6
 
6
 
7
KolibriHeapReAlloc = @Kolibri@ReAlloc$qpvul
7
KolibriHeapReAlloc = @@Kolibri@ReAlloc$qpvui
8
 
8
 
9
KolibriHeapFree = @Kolibri@Free$qpv
9
KolibriHeapFree = @@Kolibri@Free$qpv
10
 
10
 
11
align 4
11
proc @MemoryHeap@mem_Init$qv uses ebx
12
proc @Kolibri@HeapInit$qv uses ebx
Line -... Line 13...
-
 
13
  mov  eax,SF_SYS_MISC
12
  mov  eax,SF_SYS_MISC
14
  mov  ebx,SSF_HEAP_INIT
13
  mov  ebx,SSF_HEAP_INIT
15
  int  0x40
14
  int  0x40
16
  ret
-
 
17
endp
15
  ret
18
 
16
endp
19
align 4
17
 
20
proc @Kolibri@Alloc$qul uses ebx
Line -... Line 21...
-
 
21
  mov  eax,SF_SYS_MISC
18
proc @MemoryHeap@mem_Alloc$qul uses ebx
22
  mov  ebx,SSF_MEM_ALLOC
19
  mov  eax,SF_SYS_MISC
23
  mov  ecx,[esp+8]
20
  mov  ebx,SSF_MEM_ALLOC
24
  int  0x40
21
  int  0x40
25
  ret
22
  ret
26
endp
23
endp
27
 
24
 
28
align 4
25
proc @MemoryHeap@mem_ReAlloc$qulpv uses ebx
29
proc @Kolibri@ReAlloc$qpvul uses ebx
Line -... Line 30...
-
 
30
  mov  eax,SF_SYS_MISC
26
  mov  eax,SF_SYS_MISC
31
  mov  ebx,SSF_MEM_REALLOC
27
  mov  ebx,SSF_MEM_REALLOC
32
  mov  ecx,[esp+12]
28
  mov  ecx,[esp+8]
33
  mov  edx,[esp+8]
29
  mov  edx,[esp+12]
34
  int  0x40
30
  int  0x40
35
  ret
31
  ret
36
endp