A control register is a processor register that changes or controls the general behavior of a CPU or other digital device. Common tasks performed by control registers include interrupt control, switching the addressing mode , paging control, and coprocessor control.
42-490: The early CPU lacked dedicated control registers, and relied on a limited set of internal signals and flags. When IBM developed a paging version of the System/360 , they added 16 control registers to the design for what became the 360/67 . IBM did not provide control registers on other S/360 models, but made them a standard part of System/370 , although with different register and bit assignments. As IBM added new features to
84-613: A boiler, a cold reservoir (a stream of cold water), or a piston (on which the working body could do work by pushing on it). In 1850, the German physicist Rudolf Clausius generalized this picture to include the concept of the surroundings and began to use the term working body when referring to the system. The biologist Ludwig von Bertalanffy became one of the pioneers of the general systems theory . In 1945 he introduced models, principles, and laws that apply to generalized systems or their subclasses, irrespective of their particular kind,
126-444: A major defect: they must be premised on one or more fundamental assumptions upon which additional knowledge is built. This is in strict alignment with Gödel's incompleteness theorems . The Artificial system can be defined as a "consistent formalized system which contains elementary arithmetic". These fundamental assumptions are not inherently deleterious, but they must by definition be assumed as true, and if they are actually false then
168-682: A single subsystem in order to test its Specific Application (SA). There are many kinds of systems that can be analyzed both quantitatively and qualitatively . For example, in an analysis of urban systems dynamics , A . W. Steiss defined five intersecting systems, including the physical subsystem and behavioral system. For sociological models influenced by systems theory, Kenneth D. Bailey defined systems in terms of conceptual , concrete , and abstract systems, either isolated , closed , or open . Walter F. Buckley defined systems in sociology in terms of mechanical , organic , and process models . Bela H. Banathy cautioned that for any inquiry into
210-670: A system is the Universe . An open system can also be viewed as a bounded transformation process, that is, a black box that is a process or collection of processes that transform inputs into outputs. Inputs are consumed; outputs are produced. The concept of input and output here is very broad. For example, an output of a passenger ship is the movement of people from departure to destination. A system comprises multiple views . Human-made systems may have such views as concept, analysis , design , implementation , deployment, structure, behavior, input data, and output data views. A system model
252-588: A system understanding its kind is crucial, and defined natural and designed , i. e. artificial, systems. For example, natural systems include subatomic systems, living systems , the Solar System , galaxies , and the Universe , while artificial systems include man-made physical structures, hybrids of natural and artificial systems, and conceptual knowledge. The human elements of organization and functions are emphasized with their relevant abstract systems and representations. Artificial systems inherently have
294-456: Is George Boole 's Boolean operators. Other examples relate specifically to philosophy, biology, or cognitive science. Maslow's hierarchy of needs applies psychology to biology by using pure logic. Numerous psychologists, including Carl Jung and Sigmund Freud developed systems that logically organize psychological domains, such as personalities, motivations, or intellect and desire. In 1988, military strategist, John A. Warden III introduced
336-533: Is a control register which is used to toggle the storing or loading of registers related to specific CPU features using the XSAVE/XRSTOR instructions. It is also used with some features to enable or disable the processor's ability to execute their corresponding instructions. It can be changed using the privileged XSETBV read using the unprivileged XGETBV instructions. There is also the IA32_XSS MSR, which
378-546: Is a hardware system, software system , or combination, which has components as its structure and observable inter-process communications as its behavior. There are systems of counting, as with Roman numerals , and various systems for filing papers, or catalogs, and various library systems, of which the Dewey Decimal Classification is an example. This still fits with the definition of components that are connected together (in this case to facilitate
420-499: Is any of various control registers in the x86 system architecture used for debugging , program execution tracing, computer performance monitoring, and toggling certain CPU features. With the introduction of the 80386 processor, Intel began introducing "experimental" features that would not necessarily be present in future versions of the processor. The first of these were two "test registers" (TR6 and TR7) that enabled testing of
462-616: Is enabled, hence when the PG bit is set in CR0. CR3 enables the processor to translate linear addresses into physical addresses by locating the page directory and page tables for the current task. Typically, the upper 20 bits of CR3 become the page directory base register (PDBR), which stores the physical address of the first page directory. If the PCIDE bit in CR4 is set, the lowest 12 bits are used for
SECTION 10
#1732786702257504-486: Is expressed in its functioning. Systems are the subjects of study of systems theory and other systems sciences . Systems have several common properties and characteristics, including structure, function(s), behavior and interconnectivity. The term system comes from the Latin word systēma , in turn from Greek σύστημα systēma : "whole concept made of several parts or members, system", literary "composition". In
546-492: Is handled by the rdmsr and wrmsr instructions, respectively. As these are privileged instructions, they can be executed only by the operating system. Use of the Linux msr kernel module creates a pseudo file "/dev/cpu/ x /msr" (with a unique x for each processor or processor core). A user with permissions to read and/or write to this file can use the file I/O API to access these registers. The msr-tools package provides
588-635: Is located at address DA0h . The IA32_XSS MSR controls bits of XCR0 which are considered to be "supervisor" state, and should be invisible to regular programs. It operates with the privileged XSAVES and XRSTORS instructions by adding supervisor state to the data they operate with. Put simply, if the X87 state was enabled in XCR0 and PT state was enabled in IA32_XSS, the XSAVE instruction would only store X87 state, while
630-447: Is required to describe and represent all these views. A systems architecture, using one single integrated model for the description of multiple views, is a kind of system model. A subsystem is a set of elements, which is a system itself, and a component of a larger system. The IBM Mainframe Job Entry Subsystem family ( JES1 , JES2 , JES3 , and their HASP / ASP predecessors) are examples. The main elements they have in common are
672-600: Is the 32 Bit version of the old Machine Status Word (MSW) register. The MSW register was expanded to the Control Register with the appearance of the i386 processor. Reserved, the CPU will throw a # UD exception when trying to access it. Contains a value called Page Fault Linear Address (PFLA). When a page fault occurs, the address the program attempted to access is stored in the CR2 register. Used when virtual addressing
714-400: Is to be blocked. For example, loading TPR with a value of 9 (1001b) blocks all interrupts with a priority class of 9 or less, while allowing all interrupts with a priority class of 10 or more to be recognized. Loading TPR with 0 enables all external interrupts. Loading TPR with 15 (1111b) disables all external interrupts. The TPR is cleared to 0 on reset. XCR0, or Extended Control Register 0,
756-636: The Five Ring System model in his book, The Air Campaign , contending that any complex system could be broken down into five concentric rings. Each ring—leadership, processes, infrastructure, population and action units—could be used to isolate key elements of any system that needed change. The model was used effectively by Air Force planners in the Iran–Iraq War . In the late 1990s, Warden applied his model to business strategy. Model-specific register A model-specific register ( MSR )
798-579: The IBM S/390 are an evolutionary enhancement to the control registers on the earlier ESA/370 , S/370-XA and S/370 processors. For details on which fields are dependent on specific features, consult the Principles of Operation. The control registers of z/Architecture are an evolutionary enhancement to the control registers of the earlier ESA/390 on the IBM S/390 processors. For details on which fields are dependent on specific features, consult
840-705: The SYSCALL /SYSRET instruction, and later for entering and exiting long mode . This register becomes architectural in AMD64 and has been adopted by Intel as IA32_EFER. Its MSR number is 0xC0000080. CR8 is a new register accessible in 64-bit mode using the REX prefix. CR8 is used to prioritize external interrupts and is referred to as the task-priority register (TPR). The AMD64 architecture allows software to define up to 15 external interrupt-priority classes. Priority classes are numbered from 1 to 15, with priority-class 1 being
882-499: The environment . One can make simplified representations ( models ) of the system in order to understand it and to predict or impact its future behavior. These models may define the structure and behavior of the system. There are natural and human-made (designed) systems. Natural systems may not have an apparent objective but their behavior can be interpreted as purposeful by an observer. Human-made systems are made with various purposes that are achieved by some action performed by or with
SECTION 20
#1732786702257924-486: The process-context identifier (PCID). Used in protected mode to control operations such as virtual-8086 support, enabling I/O breakpoints, page size extension and machine-check exceptions . If PAE is enabled or the processor is in x86-64 long mode this bit is ignored. Reserved, same case as CR1. Extended Feature Enable Register (EFER) is a model-specific register added in the AMD K6 processor, to allow enabling
966-490: The 19th century, the French physicist Nicolas Léonard Sadi Carnot , who studied thermodynamics , pioneered the development of the concept of a system in the natural sciences . In 1824, he studied the system which he called the working substance (typically a body of water vapor) in steam engines , in regard to the system's ability to do work when heat is applied to it. The working substance could be put in contact with either
1008-719: The PSW mask bits. Control Register 8 contains the assignments of Processor Storage units 1–4 to central processing units (CPUs) and channel controllers (CCs). Control Register 9 contains the assignments of Processor Storage units 5–8 to central processing units (CPUs) and channel controllers (CCs). Control Register 10 contains the Processor storage address assignment codes. Control Register 11 contains channel controller (CC) assignments. CR12 contains I/O Control Unit Partitioning. CR13 contains I/O Control Unit Partitioning. CR14 contains indicators. The control registers of ESA/390 on
1050-467: The Principles of Operation. Because z/Architecture expands the control registers from 32 bits to 64, the bit numbering differs from that in ESA/390. only) The CR0 register is 32 bits long on the 386 and higher processors. On x64 processors in long mode , it (and the other control registers) is 64 bits long. CR0 has various control flags that modify the basic operation of the processor. Register CR0
1092-494: The address of the segment table for dynamic address translation. Control register 2 is the Relocation exception address register. CR4 is the extended mask register for channels 0-31. Each bit is the 1/0 channel mask for the corresponding channel. CR5 is reserved for the extended mask register for channels 32–63. Each bit is the 1/0 channel mask for the corresponding channel. CR6 contains two mode flags plus extensions to
1134-462: The allocation and scarcity of resources. The international sphere of interacting states is described and analyzed in systems terms by several international relations scholars, most notably in the neorealist school . This systems mode of international analysis has however been challenged by other schools of international relations thought, most notably the constructivist school , which argues that an over-large focus on systems and structures can obscure
1176-449: The architecture, e.g., DAS , S/370-XA , S/370-ESA , ESA/390 , they added additional fields to the control registers. With z/Architecture , IBM doubled the control register size to 64 bits. On the 360/67 , CR0 and CR2 are used by address translation, CR 4-6 contain miscellaneous flags including interrupt masks and Extended Control Mode, and CR 8-14 contain the switch settings on the 2167 Configuration Unit. Control Register 0 contains
1218-461: The components that handle input, scheduling, spooling and output; they also have the ability to interact with local and remote operators. A subsystem description is a system object that contains information defining the characteristics of an operating environment controlled by the system. The data tests are performed to verify the correctness of the individual subsystem configuration data (e.g. MA Length, Static Speed Profile, …) and they are related to
1260-399: The distinction between them is often elusive. An economic system is a social institution which deals with the production , distribution and consumption of goods and services in a particular society . The economic system is composed of people , institutions and their relationships to resources, such as the convention of property . It addresses the problems of economics , like
1302-404: The flow of information). System can also refer to a framework, aka platform , be it software or hardware, designed to allow software programs to run. A flaw in a component or system can cause the component itself or an entire system to fail to perform its required function, e.g., an incorrect statement or data definition . In engineering and physics , a physical system is the portion of
Control register - Misplaced Pages Continue
1344-610: The introduction of the Pentium processor, Intel provided a pair of instructions ( RDMSR and WRMSR ) to access current and future "model-specific registers", as well as the CPUID instruction to determine which features are present on a particular model. Many of these registers have proven useful enough to be retained. Intel has classified these as architectural model-specific registers and has committed to their inclusion in future product lines. Reading and writing to these registers
1386-461: The lowest and priority-class 15 the highest. CR8 uses the four low-order bits for specifying a task priority and the remaining 60 bits are reserved and must be written with zeros. System software can use the TPR register to temporarily block low-priority interrupts from interrupting a high-priority task. This is accomplished by loading TPR with a value corresponding to the highest-priority interrupt that
1428-409: The nature of their component elements, and the relation or 'forces' between them. In the late 1940s and mid-50s, Norbert Wiener and Ross Ashby pioneered the use of mathematics to study systems of control and communication , calling it cybernetics . In the 1960s, Marshall McLuhan applied general systems theory in an approach that he called a field approach and figure/ground analysis , to
1470-464: The notion of organizations as systems in his book The Fifth Discipline . Organizational theorists such as Margaret Wheatley have also described the workings of organizational systems in new metaphoric contexts, such as quantum physics , chaos theory , and the self-organization of systems . There is also such a thing as a logical system . An obvious example is the calculus developed simultaneously by Leibniz and Isaac Newton . Another example
1512-455: The privileged XSAVES would store both X87 and PT states. Because it is an MSR, it can be accessed using the RDMSR and WRMSR instructions. System A system is a group of interacting or interrelated elements that act according to a set of rules to form a unified whole. A system, surrounded and influenced by its environment , is described by its boundaries, structure and purpose and
1554-487: The processor's translation lookaside buffer (TLB); a special variant of the MOV instruction allowed moving to and from the test registers. Three additional test registers followed in the 80486 (TR3–TR5) that enabled testing of the processor's caches for code and data. None of these five registers were implemented in the subsequent Pentium processor; the special variant of MOV generated an invalid opcode exception. With
1596-405: The role of individual agency in social interactions. Systems-based models of international relations also underlie the vision of the international sphere held by the liberal institutionalist school of thought, which places more emphasis on systems generated by rules and interaction governance, particularly economic governance. In computer science and information science , an information system
1638-407: The study of media theory . In the 1980s, John Henry Holland , Murray Gell-Mann and others coined the term complex adaptive system at the interdisciplinary Santa Fe Institute . Systems theory views the world as a complex system of interconnected parts. One scopes a system by defining its boundary ; this means choosing which entities are inside the system and which are outside—part of
1680-1207: The system is not as structurally integral as is assumed (i.e. it is evident that if the initial expression is false, then the artificial system is not a "consistent formalized system"). For example, in geometry this is very evident in the postulation of theorems and extrapolation of proofs from them. George J. Klir maintained that no "classification is complete and perfect for all purposes", and defined systems as abstract, real, and conceptual physical systems , bounded and unbounded systems , discrete to continuous, pulse to hybrid systems , etc. The interactions between systems and their environments are categorized as relatively closed and open systems . Important distinctions have also been made between hard systems—–technical in nature and amenable to methods such as systems engineering , operations research, and quantitative systems analysis—and soft systems that involve people and organizations, commonly associated with concepts developed by Peter Checkland and Brian Wilson through soft systems methodology (SSM) involving methods such as action research and emphasis of participatory designs. Where hard systems might be identified as more scientific ,
1722-527: The system. The parts of a system must be related; they must be "designed to work as a coherent entity"—otherwise they would be two or more distinct systems. Most systems are open systems , exchanging matter and energy with their respective surroundings; like a car, a coffeemaker , or Earth . A closed system exchanges energy, but not matter, with its environment; like a computer or the project Biosphere 2 . An isolated system exchanges neither matter nor energy with its environment. A theoretical example of such
Control register - Misplaced Pages Continue
1764-1003: The universe that is being studied (of which a thermodynamic system is one major example). Engineering also has the concept of a system referring to all of the parts and interactions between parts of a complex project. Systems engineering is the branch of engineering that studies how this type of system should be planned, designed, implemented, built, and maintained. Social and cognitive sciences recognize systems in models of individual humans and in human societies. They include human brain functions and mental processes as well as normative ethics systems and social and cultural behavioral patterns. In management science , operations research and organizational development , human organizations are viewed as management systems of interacting components such as subsystems or system aggregates, which are carriers of numerous complex business processes ( organizational behaviors ) and organizational structures. Organizational development theorist Peter Senge developed
#256743