TravorLZH / TravorOS

A simple OS running on Intel x86 architecture | No longer updating
GNU General Public License v3.0
29 stars 3 forks source link

Triple fault when booting #2

Closed TravorLZH closed 6 years ago

TravorLZH commented 6 years ago

I am testing your operating system in QEMU, but I met a continuous reboot after running the machine. But after I remove this line kernel/kernel.c

enable_paging(&page_dir);

It works fine for me. Perhaps you need to fix some problems on paging.

TravorLZH commented 6 years ago

Now I am trying to learn stuff from this tutorial, so that I can help fix this issue.

TravorLZH commented 6 years ago

JamesM's Tutorial doesn't help, so I choose another in OSDEV Wiki

TravorLZH commented 6 years ago

I tried to simplify those steps. I removed the structs created from JamesM's Tutorial, so the paging code looks simpler. It is taken from here