Subversion Repositories Kolibri OS

Rev

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

Rev 889 Rev 890
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 889 $
8
$Revision: 890 $
9
 
9
 
10
 
10
 
11
 
11
 
Line 12... Line -...
12
MEM_LIST_OFFSET equ  8
-
 
13
FREE_BLOCK      equ  4
-
 
14
USED_BLOCK      equ  8
-
 
15
DONT_FREE_BLOCK equ  10h
-
 
16
 
-
 
17
 
-
 
Line 18... Line 12...
18
align 4
12
MEM_LIST_OFFSET equ  8
Line 19... Line 13...
19
proc free_kernel_space stdcall uses ebx ecx edx esi edi, base:dword
13
FREE_BLOCK      equ  4
Line 53... Line 47...
53
           mov [page_tabs+esi], ecx
47
           mov [page_tabs+esi], ecx
54
           ret
48
           ret
55
endp
49
endp
Line 56... Line 50...
56
 
50
 
-
 
51
align 4
57
align 4
52
_UserAlloc:
Line 58... Line 53...
58
proc user_alloc stdcall, alloc_size:dword
53
proc user_alloc stdcall, alloc_size:dword
59
 
54
 
60
           push ebx
55
           push ebx
Line 129... Line 124...
129
           pop ebx
124
           pop ebx
130
           ret
125
           ret
131
endp
126
endp
Line 132... Line 127...
132
 
127
 
-
 
128
align 4
133
align 4
129
_UserFree:
Line 134... Line 130...
134
proc user_free stdcall, base:dword
130
proc user_free stdcall, base:dword
Line 135... Line 131...
135
 
131