Paging tutorial

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
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Paging tutorial

Post by Jeko »

I need a good tutorial on the implementation of paging. Can you help me?
Thank you!
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re: Paging tutorial

Post by Candy »

MarkOS wrote:I need a good tutorial on the implementation of paging. Can you help me?
Thank you!
Did you try the OS FAQ present at this site?
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: Paging tutorial

Post by Combuster »

Candy wrote:Did you try the OS FAQ
you mean OSDev Wiki? :wink:
(@MarkOS: its the sunflower button at the top of this page)

And while we're at it, why not try [wiki]Tutorial:Higher_Half_bare_bones[/wiki]
"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 ]
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: Paging tutorial

Post by Jeko »

I need something about implementing paging in multitasking
User avatar
muisei
Member
Member
Posts: 79
Joined: Sat Sep 23, 2006 2:10 pm
Location: Bulgaria
Contact:

Post by muisei »

Try out this site http://www.osdever.net.In the section tutorials search for memory managers.I've seen some good page tutorials there.
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

muisei wrote:Try out this site http://www.osdever.net.In the section tutorials search for memory managers.I've seen some good page tutorials there.
I already saw this. I need something also. I need to implement paging with multitasking.
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

RE: paging tutorial

Post by Kevin McGuire »

User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Re: RE: paging tutorial

Post by Jeko »

Kevin McGuire wrote:This one might help.
http://www.osdev.org/wiki/Quick_And_Dir ... ace_Scheme
thank you. But I need something else. I want to know where I must put the kernel stack, the user stack, the kernel code, the user code, et cetera, in virtual addresses.
User avatar
os64dev
Member
Member
Posts: 553
Joined: Sat Jan 27, 2007 3:21 pm
Location: Best, Netherlands

Re: RE: paging tutorial

Post by os64dev »

MarkOS wrote: thank you. But I need something else. I want to know where I must put the kernel stack, the user stack, the kernel code, the user code, et cetera, in virtual addresses.
well that is really up to you.. virtual addresses allow for any location that you see fit to use as long as you map it to different physical pages. meaning for instance 100 processes can run with stack at 0-1MB and code 1-2 MB and kernel mapped at 2-3 MB.
Author of COBOS
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

@MarkOS:

Thank You, for the idea.
Post Reply