Allocating a stack for a process

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
GhostedGaming
Member
Member
Posts: 35
Joined: Wed Jul 02, 2025 11:46 pm
Libera.chat IRC: GhostedGaming

Allocating a stack for a process

Post by GhostedGaming »

So I'm working on process but I don't know how to allocate a stack for a process I should already know this but I don't
https://github.com/UEF-DOS/Dos-Kernel/b ... /process.c heres the file not much added but I can't really find anything that explains stuff how I understand plus can't ask questions to a web page but I can to people
edit: Also the OS is x86_64 using limine
Octocontrabass
Member
Member
Posts: 6275
Joined: Mon Mar 25, 2013 7:01 pm

Re: Allocating a stack for a process

Post by Octocontrabass »

How do you allocate memory for other things?
GhostedGaming
Member
Member
Posts: 35
Joined: Wed Jul 02, 2025 11:46 pm
Libera.chat IRC: GhostedGaming

Re: Allocating a stack for a process

Post by GhostedGaming »

Ya I figured it out I wasn't thinking but in good now
Post Reply