Rev 1496 | Rev 1629 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1496 | Rev 1516 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2009. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2009. 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: 1496 $ |
8 | $Revision: 1516 $ |
9 | 9 | ||
Line 1421... | Line 1421... | ||
1421 | wrmsr |
1421 | wrmsr |
Line 1422... | Line 1422... | ||
1422 | 1422 | ||
1423 | mov ebx, [size] |
1423 | mov ebx, [size] |
1424 | dec ebx |
1424 | dec ebx |
1425 | mov eax, 0xFFFFFFFF |
1425 | mov eax, 0xFFFFFFFF |
1426 | mov edx, 0x0000000F |
1426 | ; mov edx, 0x0000000F |
1427 | sub eax, ebx |
1427 | sub eax, ebx |
1428 | sbb edx, 0 |
1428 | ; sbb edx, 0 |
1429 | or eax, 0x800 |
1429 | or eax, 0x800 |
1430 | inc ecx |
1430 | inc ecx |
1431 | wrmsr |
1431 | wrmsr |
1432 | ret |
1432 | ret |