Page Frame Allocator Tutorial

This forums is for OS project announcements including project openings, new releases, update notices, test requests, and job openings (both paying and volunteer).
Post Reply
User avatar
nekros
Member
Member
Posts: 391
Joined: Wed Mar 05, 2008 9:10 pm
Contact:

Page Frame Allocator Tutorial

Post by nekros »

I'd like any thoughts you might have on a tutorial I added to the wiki on making a simple page frame allocator, http://wiki.osdev.org/Writing_A_Page_Fr ... The_Method. Suggestions, do I need to clear anything up?
Working On:Bootloader, RWFS Image Program
Leviathan: http://leviathanv.googlecode.com
Kernel:Working on Design Doc
User avatar
einsteinjunior
Member
Member
Posts: 90
Joined: Tue Sep 11, 2007 6:42 am

Re: Page Frame Allocator Tutorial

Post by einsteinjunior »

What about freeing allocated pages when no more needed?
User avatar
ehenkes
Member
Member
Posts: 124
Joined: Mon Mar 23, 2009 3:15 am
Location: Germany
Contact:

Re: Page Frame Allocator Tutorial

Post by ehenkes »

endkernel = .;
I think that

Code: Select all

_endkernel = .;
is correct.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: Page Frame Allocator Tutorial

Post by Combuster »

How about using a crosscompiler instead of "fixing" that? (or feed gcc with -fno-leading-underscores)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply