/kernel/branches/flat_kernel/core/memory.inc |
---|
478,7 → 478,7 |
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 |
cmp ebx, 0x7DC00000 |
jae .lfb_addr |
; cmp ebx, 0x1000000 |
; jb .exit |
.user_space: |
shr ebx, 12 |
mov ecx, ebx |
/kernel/branches/flat_kernel/kernel.asm |
---|
336,7 → 336,7 |
; 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 |