Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 11th, 2006, 7:37 AM   #1
metsfan
Programmer
 
Join Date: Dec 2005
Posts: 57
Rep Power: 0 metsfan is an unknown quantity at this point
Virtual Memory question

I could not find a forum for Unix-based operations, but since the class I am in is taught in C, ill post it here.

I am currently trying to figure out how to convert Virtual Memory Addresses into Physical Memory Addresses. I understand how it works. It is the the concatonation of the Physical Page Number, and Virtual Page Offset as far as I could gather

However, I am currently unable to figure out how I am supposed to come up with the Physical Page Number. Does anyone know how this is calculated?

Assume you are given only a Virtual Address

Also, what are the parameters for determining if there is a TLB hit, or a Page fault?
metsfan is offline   Reply With Quote
Old Apr 11th, 2006, 7:57 AM   #2
metsfan
Programmer
 
Join Date: Dec 2005
Posts: 57
Rep Power: 0 metsfan is an unknown quantity at this point
figure it out, let hte thread die
metsfan is offline   Reply With Quote
Old Apr 11th, 2006, 6:47 PM   #3
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Can you post the answer for anyone who might need it?
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:33 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC