Interface control circuit, equipment and identification switching method
An interface control and identification technology, applied in the computer field, can solve the problems of complex software system structure, high development, testing and maintenance costs, and low system performance, and achieve the effect of providing system performance, high development, testing, and maintenance costs and reducing complexity.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] Please refer to figure 1 , which shows a schematic structural diagram of a device provided in Embodiment 1 of the present invention, the device includes a bus 110, an interface control circuit 120 connected to the bus 110, a memory 130 connected to the interface control circuit 120, and at least one Processor 140.
[0057] The memory 130 is used for storing at least one identifier. Wherein, each identifier corresponds to a predetermined address and at least one critical code segment, the identifier is an idle identifier or a busy identifier, an idle identifier represents that the corresponding critical code segment can be accessed by the processor 140, and a busy identifier represents that the corresponding critical code segment cannot be accessed. Processor 140 accesses. In a specific implementation, the memory 130 can be realized as a chip, which can be connected to the interface control circuit 120 through a hardware interface; optionally, the memory 130 can also b...
Embodiment 2
[0062] Please refer to figure 1 , which shows a schematic structural diagram of the device provided by Embodiment 2 of the present invention, the device includes a bus 110, an interface control circuit 120 connected to the bus 110, a memory 130 connected to the interface control circuit 120, and at least one Processor 140.
[0063] The memory 130 is used for storing at least one identifier. Wherein, each identifier corresponds to a predetermined address and at least one critical code segment, the identifier is an idle identifier or a busy identifier, an idle identifier represents that the corresponding critical code segment can be accessed by the processor 140, and a busy identifier represents that the corresponding critical code segment cannot be accessed. Processor 140 accesses. In a specific implementation, the memory 130 can be realized as a chip, which can be connected to the interface control circuit 120 through a hardware interface; optionally, the memory 130 can also...
Embodiment 3
[0075] Please refer to image 3 , which shows a method flow chart of the identification switching method provided in Embodiment 3 of the present invention. The method is used in the equipment described in Embodiment 1 and Embodiment 2, and the method includes:
[0076] Step 301, receiving a read request sent by a processor and including a predetermined address;
[0077] When a processor needs to access a resource protected by a key code segment, the processor sends a read request including a predetermined address to the interface control circuit. Correspondingly, the interface control circuit can receive the read request including the predetermined address sent by the processor.
[0078] Step 302, querying the identifier stored in the memory according to the predetermined address in the read request;
[0079] After the interface control circuit receives the read request including the predetermined address, the interface control circuit may search the memory for an identifier...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 