Rev 7122 | Rev 7130 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7122 | Rev 7126 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. 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: 7122 $ |
8 | $Revision: 7126 $ |
9 | 9 | ||
10 | 10 | ||
Line 354... | Line 354... | ||
354 | mov [cpu_phys_addr_width-OS_BASE], 32 |
354 | mov [cpu_phys_addr_width-OS_BASE], 32 |
Line 355... | Line 355... | ||
355 | 355 | ||
356 | pushfd |
356 | pushfd |
357 | pop eax |
357 | pop eax |
358 | mov ecx, eax |
358 | mov ecx, eax |
359 | xor eax, 0x40000 |
359 | xor eax, EFLAGS_AC |
360 | push eax |
360 | push eax |
361 | popfd |
361 | popfd |
362 | pushfd |
362 | pushfd |
363 | pop eax |
363 | pop eax |
Line 367... | Line 367... | ||
367 | push ecx |
367 | push ecx |
368 | popfd |
368 | popfd |
Line 369... | Line 369... | ||
369 | 369 | ||
370 | mov [cpu_type], CPU_486 |
370 | mov [cpu_type], CPU_486 |
371 | mov eax, ecx |
371 | mov eax, ecx |
372 | xor eax, 0x200000 |
372 | xor eax, EFLAGS_ID |
373 | push eax |
373 | push eax |
374 | popfd |
374 | popfd |
375 | pushfd |
375 | pushfd |
376 | pop eax |
376 | pop eax |