It took some time, but I've finally done it.
Here's the link that helped me out: Creating A Custom Malloc() And Free() In C - C And C++ | Dream.In.Code
Thanks again to everyone who posted!
Type: Posts; User: guestcheap
It took some time, but I've finally done it.
Here's the link that helped me out: Creating A Custom Malloc() And Free() In C - C And C++ | Dream.In.Code
Thanks again to everyone who posted!
One problem I had with the script here:i386/boot/cdboot/malloc.c Source is that I have no idea what &end is. It hasn't been declared in this piece of code, so I assume its in boot.h. How do I define...
First of all I didn't 'myself' link this page AndrewHunter did. That being said, I found help here I understand how the code works, but I can't identify the line of code which actually assigns the...
I've already checked out the link before posting here, but I've already built my kernel structure specifically to avoid the amount of extra assembly he's using. Additionally, with every article he's...
Okay...
But how do I allocate memory? I mean there are various tutorials on the net on how the process should be done, and the dangers of making one(which is kind of why I'm using a Virtual...
I haven't done anything except a printf, OSDEV wiki recommends memory management as the next step.
Yes, I think its weird too, but that's how I'm running it
Any updates?
How can I allocate memory? I've told you why I need it and what OS I'm using? Could you guys at least give me a breakdown of the steps involved?
Thanks
actually, i am making an OS kernel, on Ubuntu 11 running as a Virtual Machine on windows...
Thanks for the replies...
I got some help from Writing a memory manager - OSDev Wiki. I want to this but I have absolutely no idea how. Any help?
PS:
You know, some people actually 'need' to...
Hey,
I want to know how to go about creating functions like malloc and free in C(without using any other libraries)? I need to make my own set of memory management functions.
Thanks...