forked from KolibriOS/kolibrios
fixed #pf handler
git-svn-id: svn://kolibrios.org@395 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
87fc474bee
commit
ed47d8bf86
@ -478,7 +478,7 @@ proc page_fault_handler
|
||||
cmp ebx, 0x80000000
|
||||
jae .kernel_space
|
||||
|
||||
cmp ebx, page_tabs+0x800
|
||||
cmp ebx, page_tabs+0x200000
|
||||
jae .tab_space
|
||||
|
||||
cmp ebx, app_page_tabs
|
||||
@ -487,6 +487,9 @@ proc page_fault_handler
|
||||
cmp ebx, 0x7DC00000
|
||||
jae .lfb_addr
|
||||
|
||||
; cmp ebx, 0x1000000
|
||||
; jb .exit
|
||||
|
||||
.user_space:
|
||||
shr ebx, 12
|
||||
mov ecx, ebx
|
||||
|
@ -336,7 +336,7 @@ high_code:
|
||||
; and the contents of this field, plus 8, are copied into the SS register.
|
||||
|
||||
; mov edx, (os_code + 16) * 65536 + os_code
|
||||
mov edx, 0x1B0013
|
||||
mov edx, 0x1B0008
|
||||
|
||||
mov eax, syscall_entry
|
||||
mov ecx, MSR_AMD_STAR
|
||||
|
Loading…
Reference in New Issue
Block a user