Rev 890 | Rev 914 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 890 | Rev 908 | ||
---|---|---|---|
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: 890 $ |
8 | $Revision: 908 $ |
9 | 9 | ||
Line 16... | Line 16... | ||
16 | 16 | ||
Line 17... | Line 17... | ||
17 | 17 | ||
Line 18... | Line 18... | ||
18 | 18 | ||
- | 19 | ;;;;;;;;;;;;;; USER ;;;;;;;;;;;;;;;;; |
|
19 | ;;;;;;;;;;;;;; USER ;;;;;;;;;;;;;;;;; |
20 | |
Line 20... | Line 21... | ||
20 | 21 | HEAP_TOP equ 0x7FC00000 |
|
21 | HEAP_TOP equ 0x5FC00000 |
22 | |
22 | 23 | align 4 |
|
23 | align 4 |
24 | _init_user_heap: |
Line 44... | Line 45... | ||
44 | mov ecx, eax |
45 | mov ecx, eax |
45 | sub eax, 4096 |
46 | sub eax, 4096 |
46 | or ecx, FREE_BLOCK |
47 | or ecx, FREE_BLOCK |
47 | mov [page_tabs+esi], ecx |
48 | mov [page_tabs+esi], ecx |
48 | ret |
49 | ret |
49 | endp |
- | |
Line 50... | Line 50... | ||
50 | 50 | ||
51 | align 4 |
51 | align 4 |
52 | _UserAlloc: |
52 | _UserAlloc: |