OSDev.org

The Place to Start for Operating System Developers
It is currently Mon May 20, 2024 1:07 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Issues with stack overflows using QEMU [SOLVED]
PostPosted: Mon Sep 07, 2020 5:56 pm 
Offline
Member
Member

Joined: Mon Sep 07, 2020 5:50 pm
Posts: 46
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group