LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 02-15-2010, 11:55 AM   #1
shreshtha
LQ Newbie
 
Registered: Jul 2006
Location: India
Distribution: ubuntu
Posts: 13

Rep: Reputation: 0
What is purpose of PID register in PowerPC architecture?


According to PowerPC reference manual it says PID is used during address translation (virtual to physical). My question is - Is this PID(8bit) register in PowerPC contains Process ID of user space Processes? If yes who does it and when it is filled?

Following statement created confusion -
"... simply because the contents of PID register is different for each task. (Note: the PID register is only 8 bits and has no direct connection to the OS concept of a "process ID".) "

From - http://kvm.et.redhat.com/page/PowerPC_Book_E_MMU

Any reference for the purpose of this register, usecase nad how this register is used will be very helpful.

Thanks
 
Old 02-15-2010, 12:03 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,977
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Moved: This thread is more suitable in <GENERAL> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 02-15-2010, 03:57 PM   #3
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Maybe it's not "Process ID", but "Pointer ID"...? I don't know, I'm just taking a wild guess (hell, I don't even really know anything about the PPC architecture ).
 
Old 02-15-2010, 07:37 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian
Posts: 2,454

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
It seems to be explained in the link you posted: it gives the OS some extra bits so that addresses in the TLB from one process will never match addresses from another process. It's not directly related to OS processes in that the hardware doesn't care about which process addresses come from, you could (theoretically) have an OS without any processes that makes use of this feature. Also since the PID is only 8 bits, it's unlikely that there will be a 1-to-1 mapping from OS pids to PID register values (most OS's will want to have more than 256 processes).
 
  


Reply

Tags
memory, pid, powerpc, virtual


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reading pid from pid file in C language shifter Programming 1 05-14-2008 10:49 AM
Assembly language: Purpose of shift register? ksgill Programming 4 03-21-2005 08:24 PM
Could not compile glibc-2.3.3 for powerpc on x86 architecture kaito Linux - General 3 12-20-2004 11:13 AM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 10:32 PM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 08:05 PM


All times are GMT -5. The time now is 10:32 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration