Save of registers after an entrance in function libGUI is added.

git-svn-id: svn://kolibrios.org@706 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
andrew_programmer 2008-01-31 12:50:35 +00:00
parent 7602a89157
commit 03ec9a762d
14 changed files with 186 additions and 26 deletions

View File

@ -7,10 +7,16 @@
activate_trap_for_specialized_message: activate_trap_for_specialized_message:
mov ebx,[esp+4] push eax
push ebx
mov ebx,[esp+8+4]
xor eax,eax xor eax,eax
mov al,[ebx+control_header_size] mov al,[ebx+control_header_size]
or al,activate_trap or al,activate_trap
mov [ebx+control_header_size],al mov [ebx+control_header_size],al
pop ebx
pop eax
ret 4 ret 4

View File

@ -17,8 +17,15 @@ align 4
craete_Bookmark: craete_Bookmark:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForBookmark],eax mov [PointerToStructureForBookmark],eax
mov [ParendForBookmark],ebx mov [ParendForBookmark],ebx
@ -416,6 +423,13 @@ craete_Bookmark:
dec [Bookmark.counter1] dec [Bookmark.counter1]
jnz next_Bookmark_craete_childs jnz next_Bookmark_craete_childs
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -27,8 +27,15 @@ align 4
craete_button: craete_button:
mov ebx,[esp+4] ;parend push ebx
mov eax,[esp+8] ;control push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4] ;parend
mov eax,[esp+24+8] ;control
mov [PointerToStructureForButton],eax mov [PointerToStructureForButton],eax
@ -64,6 +71,13 @@ craete_button:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],edi mov [eax+36],edi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -13,8 +13,15 @@ align 4
craete_check_box: craete_check_box:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForCheckBox],eax mov [PointerToStructureForCheckBox],eax
@ -46,6 +53,13 @@ craete_check_box:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],esi mov [eax+36],esi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -13,8 +13,15 @@ align 4
craete_edit_box: craete_edit_box:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForEditBox],eax mov [PointerToStructureForEditBox],eax
@ -45,6 +52,14 @@ craete_edit_box:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],edi mov [eax+36],edi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -17,8 +17,15 @@ align 4
craete_image: craete_image:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForImage],eax mov [PointerToStructureForImage],eax
@ -49,6 +56,13 @@ craete_image:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],edi mov [eax+36],edi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -14,11 +14,21 @@ align 4
move_component: move_component:
mov ebx,[esp+4] ;Control push ebx
mov ecx,[esp+8] ;new x push ecx
mov edx,[esp+12] ;new y push edx
push ebp
mov ebx,[esp+16+4] ;Control
mov ecx,[esp+16+8] ;new x
mov edx,[esp+16+12] ;new y
mov [ebx+24],ecx mov [ebx+24],ecx
mov [ebx+28],edx mov [ebx+28],edx
pop ebp
pop edx
pop ecx
pop ebx
ret 12 ret 12

View File

@ -19,8 +19,15 @@ align 4
craete_number: craete_number:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForNumber],eax mov [PointerToStructureForNumber],eax
@ -47,6 +54,13 @@ craete_number:
mov [eax+24],ecx mov [eax+24],ecx
mov [eax+28],edx mov [eax+28],edx
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -17,8 +17,15 @@ align 4
craete_progress_bar: craete_progress_bar:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForProgressBar],eax mov [PointerToStructureForProgressBar],eax
@ -49,6 +56,13 @@ craete_progress_bar:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],edi mov [eax+36],edi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -14,11 +14,21 @@ align 4
resize_component: resize_component:
mov ebx,[esp+4] ;Control push ebx
mov ecx,[esp+8] ;new size x push ecx
mov edx,[esp+12] ;new size y push edx
push ebp
mov ebx,[esp+16+4] ;Control
mov ecx,[esp+16+8] ;new size x
mov edx,[esp+16+12] ;new size y
mov [ebx+32],ecx mov [ebx+32],ecx
mov [ebx+36],edx mov [ebx+36],edx
pop ebp
pop edx
pop ecx
pop ebx
ret 12 ret 12

View File

@ -33,8 +33,15 @@ align 4
craete_scroller: craete_scroller:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForScroller],eax mov [PointerToStructureForScroller],eax
@ -83,6 +90,13 @@ craete_scroller:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],edi mov [eax+36],edi
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -19,8 +19,15 @@ align 4
craete_text: craete_text:
mov ebx,[esp+4] push ebx
mov eax,[esp+8] push ecx
push edx
push esi
push edi
push ebp
mov ebx,[esp+24+4]
mov eax,[esp+24+8]
mov [PointerToStructureForText],eax mov [PointerToStructureForText],eax
@ -51,6 +58,13 @@ craete_text:
mov [eax+32],esi mov [eax+32],esi
mov [eax+36],dword 9 mov [eax+36],dword 9
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret 8 ret 8
;**************************************************** ;****************************************************

View File

@ -11,6 +11,6 @@ align 4
get_version: get_version:
xor eax,eax xor eax,eax
mov eax,dword 071216 ;16.12.07 mov eax,dword 080131 ;31.01.08
ret ret

View File

@ -1,3 +1,10 @@
31.01.08
RUSSIAN
Äîáàâëåíî ñîõðàíåíèå ðåãèñòðîâ ïîñëå âõîäà â ôóíêöèè libGUI.
ENGLISH
Save of registers after an entrance in function libGUI is added.
16.12.07 16.12.07
RUSSIAN RUSSIAN