Rev 465 | Rev 519 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 465 | Rev 490 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 465 $ |
1 | $Revision: 490 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
Line 240... | Line 240... | ||
240 | test [SCR_MODE],word 0100000000000000b |
240 | test [SCR_MODE],word 0100000000000000b |
241 | jnz @f |
241 | jnz @f |
242 | mov [BOOT_VAR+0x901c],byte 2 |
242 | mov [BOOT_VAR+0x901c],byte 2 |
243 | ret |
243 | ret |
244 | @@: |
244 | @@: |
- | 245 | call init_mtrr |
|
- | 246 | ||
245 | mov edx, LFB_BASE |
247 | mov edx, LFB_BASE |
246 | mov esi, [LFBAddress] |
248 | mov esi, [LFBAddress] |
247 | mov edi, 0x00800000 |
249 | mov edi, 0x00800000 |
248 | mov dword [exp_lfb+4], edx |
250 | mov dword [exp_lfb+4], edx |
Line 966... | Line 968... | ||
966 | cmp ebx, OS_BASE |
968 | cmp ebx, OS_BASE |
967 | jae .fail |
969 | jae .fail |
968 | stdcall load_library, ebx |
970 | stdcall load_library, ebx |
969 | mov [esp+36], eax |
971 | mov [esp+36], eax |
970 | ret |
972 | ret |
971 | - | ||
972 | @@: |
973 | @@: |
973 | cmp eax, 20 |
974 | cmp eax, 20 |
974 | ja .fail |
975 | ja .fail |
975 | mov eax, ecx |
976 | mov eax, ecx |
976 | call user_realloc |
977 | call user_realloc |
977 | mov [esp+36], eax |
978 | mov [esp+36], eax |
978 | ret |
979 | ret |
979 | - | ||
980 | .fail: |
980 | .fail: |
981 | xor eax, eax |
981 | xor eax, eax |
982 | mov [esp+36], eax |
982 | mov [esp+36], eax |
983 | ret |
983 | ret |