forked from KolibriOS/kolibrios
recode all kernel sources to UTF-8; binary still uses single-byte encoding and isn't changed at all
git-svn-id: svn://kolibrios.org@3539 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
@@ -84,6 +84,7 @@ debug_direct_print equ 0
|
||||
include "proc32.inc"
|
||||
include "kglobals.inc"
|
||||
include "lang.inc"
|
||||
include "encoding.inc"
|
||||
|
||||
include "const.inc"
|
||||
max_processes equ 255
|
||||
@@ -494,9 +495,9 @@ no_mode_0x12:
|
||||
|
||||
; !!!! It`s dirty hack, fix it !!!
|
||||
; Bits of EDX :
|
||||
; Bit 31<EFBFBD>16 During the SYSRET instruction, this field is copied into the CS register
|
||||
; Bit 31–16 During the SYSRET instruction, this field is copied into the CS register
|
||||
; and the contents of this field, plus 8, are copied into the SS register.
|
||||
; Bit 15<EFBFBD>0 During the SYSCALL instruction, this field is copied into the CS register
|
||||
; Bit 15–0 During the SYSCALL instruction, this field is copied into the CS register
|
||||
; and the contents of this field, plus 8, are copied into the SS register.
|
||||
|
||||
; mov edx, (os_code + 16) * 65536 + os_code
|
||||
@@ -3337,8 +3338,8 @@ sys_sheduler:
|
||||
;now counter in ecx
|
||||
;(edx:eax) esi:edi => edx:esi
|
||||
; Fast Call MSR can't be destroy
|
||||
; <EFBFBD><EFBFBD> MSR_AMD_EFER <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20>.<2E>. <20> <20>⮬ ॣ<><E0A5A3><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>
|
||||
; <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F>몫<EFBFBD><EBAAAB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>७<EFBFBD><E0A5AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
; Но MSR_AMD_EFER можно изменять, т.к. в этом регистре лиш
|
||||
; включаются/выключаются расширенные возможности
|
||||
cmp edx, MSR_SYSENTER_CS
|
||||
je @f
|
||||
cmp edx, MSR_SYSENTER_ESP
|
||||
|
Reference in New Issue
Block a user