Processor Control Region
   HOME

TheInfoList



OR:

Processor Control Region (PCR) is a
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
kernel mode
data structure In computer science, a data structure is a data organization, management, and storage format that is usually chosen for efficient access to data. More precisely, a data structure is a collection of data values, the relationships among them, a ...
that contains information about the current
processor Processor may refer to: Computing Hardware * Processor (computing) **Central processing unit (CPU), the hardware within a computer that executes a program *** Microprocessor, a central processing unit contained on a single integrated circuit (I ...
. It can be accessed via the fs
segment register Memory segmentation is an operating system memory management technique of division of a computer's primary memory into segments or sections. In a computer system using segmentation, a reference to a memory location includes a value that identifie ...
on x86 versions, or the gs
segment register Memory segmentation is an operating system memory management technique of division of a computer's primary memory into segments or sections. In a computer system using segmentation, a reference to a memory location includes a value that identifie ...
on x64 versions respectively.


Structure

In
Windows Windows is a group of several proprietary graphical operating system families developed and marketed by Microsoft. Each family caters to a certain sector of the computing industry. For example, Windows NT for consumers, Windows Server for serv ...
, the PCR is known as KPCR. It contains information about the current processor.


Processor Control Block

The PCR contains a substructure called Processor Control Block (KPRCB), which contains information such as CPU step and a pointer to the thread object of the current thread.


See also

*
Process Environment Block In computing the Process Environment Block (abbreviated PEB) is a data structure in the Windows NT operating system family. It is an opaque data structure that is used by the operating system internally, most of whose fields are not intended for u ...
*
Process control block A process control block (PCB) is a data structure used by computer operating systems to store all the information about a process. It is also known as a process descriptor. When a process is created (initialized or installed), the operating system c ...


References

*http://www.nirsoft.net/kernel_struct/vista/KPCR.html *http://www.nirsoft.net/kernel_struct/vista/KPRCB.html Windows NT kernel Data structures by computing platform {{Windows-stub