Read-write method for special module register

A method of reading and writing, register technology, applied in the direction of instruments, electrical digital data processing, calculation, etc., can solve the problems that affect the time of analyzing problems, lengthen the time course of problem solving, etc., and achieve the effect of reducing time

Inactive Publication Date: 2009-05-13
邳州世纪益圆家居有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, such software tools will affect the time to anal...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Read-write method for special module register
  • Read-write method for special module register
  • Read-write method for special module register

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] figure 1 It is a flowchart of a method for reading and writing a special module register according to an embodiment of the present invention. Please refer to figure 1 , in the data write operation, first obtain the address of the SMR to be written and the write data (as shown in step 110). Then, read the storage data stored in the above-mentioned special module register (as shown in step 120). Next, go to step 130 to determine whether the written data is null data. Therefore, it can be determined whether to write the read stored data back into the special module register according to the judgment result of the written data. When it is judged that the write-in data is empty data, the stored data read out will be written back in the special module register (as shown in step 140), so as to avoid the computer system from crashing; otherwise, when it is judged that the write-in data is not When it is empty data, write data into the special module register (as shown in st...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a reading-writing method of a model-specific register, wherein, the model-specific register is arranged in a central processing unit, and the central processing unit is provided with a plurality of model-specific registers. The method comprises the following steps: first, acquiring an address of a model-specific register and write-in data; reading storage data stored in the model-specific register; and judging whether the write-in data are null data; and then deciding whether to write the storage data back to the model-specific register according to a judgment result of the write-in data.

Description

technical field [0001] The present invention relates to a method for reading and writing a register, and in particular relates to a method for reading and writing a special module register. Background technique [0002] A model-specific register (Model-Specific Register, MSR) is a register set in a central processing unit (Central Processing Unit, CPU), and is generally used to control the operation of the central processing unit. In a common central processing unit, there may be dozens of special module registers, or even hundreds of special module registers. [0003] When a problem occurs in the computer system and the Basic Input / Output System (BIOS) must be debugged, it is often necessary to read the data content in the special module register. Although there are some software tools that can read special module registers, these software tools have their limitations. For example, some software tools can only read more than ten special module registers. Therefore, such s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/00
Inventor 邓印邱国书
Owner 邳州世纪益圆家居有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products