Page 1 of 1

Allocating a stack for a process

Posted: Fri Mar 06, 2026 11:54 pm
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

Re: Allocating a stack for a process

Posted: Sat Mar 07, 2026 10:22 pm
by Octocontrabass
How do you allocate memory for other things?

Re: Allocating a stack for a process

Posted: Sat Mar 07, 2026 10:25 pm
by GhostedGaming
Ya I figured it out I wasn't thinking but in good now