WinExperements / osdev

A simple hobby operation system written in C and assembly
1 stars 0 forks source link

Page fault #1

Closed WinExperements closed 1 year ago

WinExperements commented 2 years ago

If you run the test program inside init program that runnned inside the init, then you got page fault. This issue is created by me, to not forget it. After debug, the issue is in memory manager that returns page that used as page directory for the init process, as result it's got modified.

WinExperements commented 2 years ago

User space programs don't runned in user space, so after the fix, i broke all, all my work, ah

WinExperements commented 1 year ago

I fixed the page fault, but now i have problems only with the user space and multitasking

WinExperements commented 1 year ago

The issue is begin fixed, all works: User mode tasks actually runs in user mode. No more page faults when starting/exiting apps