PROCESSOR MODE LOCKING
First Claim
1. A method implemented by a data processing apparatus, the method comprising:
- operating a processor in the data processing apparatus in a first processing mode;
setting one or more control bits of a control register of the processor to configure the processor to operate in a different second processing mode;
providing a virtual register in a virtual machine executing on the data processing apparatus, the virtual register having one or more locking bits corresponding to the control bits of the control register;
setting a value of the one or more locking bits of the virtual register; and
in response to setting the value of the one or more locking bits, preventing the processor from being configured to operate in the first processing mode.
1 Assignment
0 Petitions
Accused Products
Abstract
Implementations of the present disclosure are directed to a method, system and computer-readable medium for operating a processor in a data processing apparatus in a first processing mode; setting one or more control bits of a control register of the processor to configure the processor to operate in a different second processing mode; providing a virtual register in a virtual machine executing on the data processing apparatus, the virtual register having one or more locking bits corresponding to the control bits of the control register; setting a value of the one or more locking bits of the virtual register; and in response to setting the value of the one or more locking bits, preventing the processor from being configured to operate in the first processing mode.
49 Citations
20 Claims
-
1. A method implemented by a data processing apparatus, the method comprising:
-
operating a processor in the data processing apparatus in a first processing mode; setting one or more control bits of a control register of the processor to configure the processor to operate in a different second processing mode; providing a virtual register in a virtual machine executing on the data processing apparatus, the virtual register having one or more locking bits corresponding to the control bits of the control register; setting a value of the one or more locking bits of the virtual register; and in response to setting the value of the one or more locking bits, preventing the processor from being configured to operate in the first processing mode. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system comprising:
-
a computer readable medium having instructions stored thereon; and a data processing apparatus configured to execute the instructions to perform operations comprising; operating a processor in the data processing apparatus in a first processing mode; setting one or more control bits of a control register of the processor to configure the processor to operate in a different second processing mode; providing a virtual register in a virtual machine executing on the data processing apparatus, the virtual register having one or more locking bits corresponding to the one or more control bits of the control register; setting a value of the one or more locking bits of the virtual register; and in response to setting the value of the one or more locking bits, preventing the processor from being configured to operate in the first processing mode. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer program product stored in one or more storage media for controlling a processing mode of a data processing apparatus, the computer program product being executable by the data processing apparatus to cause the data processing apparatus to perform operations comprising:
-
operating a processor in the data processing apparatus in a first processing mode; setting one or more control bits of a control register of the processor to configure the processor to operate in a different second processing mode; providing a virtual register in a virtual machine executing on the data processing apparatus, the virtual register having one or more locking bits corresponding to the one or more control bits of the control register; setting a value of the one or more locking bits of the virtual register; and in response to setting the value of the one or more locking bits, preventing the processor from being configured to operate in the first processing mode. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification