Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > General
User Name
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!


  Search this Thread
Old 02-15-2010, 12:55 PM   #1
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 -

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

Old 02-15-2010, 01:03 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 04:57 PM   #3
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, 08:37 PM   #4
Senior Member
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,251

Rep: Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420Reputation: 1420
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).


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 11:49 AM
Assembly language: Purpose of shift register? ksgill Programming 4 03-21-2005 09:24 PM
Could not compile glibc-2.3.3 for powerpc on x86 architecture kaito Linux - General 3 12-20-2004 12:13 PM
/var/run/[XXX].pid - Tcl pid code liguorir Linux - Software 1 05-20-2004 11:32 PM
ERROR: Couldn't write pid to pid file lawrencegoodman Linux - Newbie 2 02-13-2004 09:05 PM > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:45 PM.

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