Normal stack handling for sysenter/syscall; trap gate for int 0x40

git-svn-id: svn://kolibrios.org@434 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond)
2007-03-28 14:51:04 +00:00
parent 84fe57af51
commit c58d3fcbd1
5 changed files with 39 additions and 37 deletions

View File

@@ -441,7 +441,8 @@ B32:
mov eax, os_code
wrmsr
mov ecx, MSR_SYSENTER_ESP
mov eax, sysenter_stack ; Check it
; mov eax, sysenter_stack ; Check it
xor eax, eax
wrmsr
mov ecx, MSR_SYSENTER_EIP
mov eax, sysenter_entry