Subversion Repositories Kolibri OS

Rev

Rev 8184 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8184 Rev 8199
Line 99... Line 99...
99
  mov  esi,@Kolibri@GetThreadData$qv
99
  mov  esi,@Kolibri@GetThreadData$qv
100
  movsd
100
  movsd
101
  movsd
101
  movsd
102
  Kolibri_Put_MovEaxVal_Ret  @Kolibri@GetPid$qv,edx
102
  Kolibri_Put_MovEaxVal_Ret  @Kolibri@GetPid$qv,edx
103
if defined KolibriHeapInit
103
if defined KolibriHeapInit
104
  mov  ecx,esp
-
 
105
  push ebx
-
 
106
  push ecx
-
 
107
  push U_END
-
 
108
  call KolibriHeapInit	; Initialize a dynamic heap and create new memory in its begin.
104
  call KolibriHeapInit	; Initialize a dynamic heap
109
  pop  ecx		; Parameters: begin of a new heap, end of data to create in
-
 
110
  mov  [esp+4],eax	; the begin of a heap. Return address of the created data.
-
 
111
  mov  dword [esp],0
-
 
112
else
105
end if
113
  xor  eax,eax
106
  xor  eax,eax
114
  push eax
107
  push eax
115
  push eax
108
  push eax
116
end if
-
 
117
  call @Kolibri@ThreadMain$qpvt1
109
  call @Kolibri@ThreadMain$qpvt1
118
.ThreadFinish:
110
.ThreadFinish:
119
  add  esp,8
111
  add  esp,8
120
if defined KolibriHeapFreeAndThreadFinish
112
if defined KolibriHeapFreeAndThreadFinish
121
  test eax,eax
113
  test eax,eax