Hello, I've just recently gotten into OS development, and I've been writing my own bootloader in assembly, and I'm currently working on a simple kernel in C. The bootloader works, and the kernel loads fine, however I seem to be getting stack over flow issues very easily, as well as pointers not quite pointing to the correct place. I suspect this might have to do with how I have set up the GDT, but I'm not entirely sure.
https://github.com/AsherBearce/ToyOperatingSystem
This is the code that I have written so far, and I would much appreciate any pointers and/or help debugging this, because I'm at my wits end with this lol.
Edit: By the time this was approved, I already solved my issue. The issue was that I wasn't setting up the stack correctly
Issues with stack overflows using QEMU [SOLVED]
-
- Member
- Posts: 46
- Joined: Mon Sep 07, 2020 5:50 pm