Microcode patch device and method for patching microcode using match registers and patch routines
AssigneeAdvanced Micro Devices, Inc.
InventorsKevin J. McGrath, James K. Pickett
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsKevin J. McGrath, James K. Pickett
Estimating the term…
Random access memory (RAM) may be provided in a processor for implementing microcode patches. The patch RAM may loaded by a microcode routine that is part of the normal microcode contained in a microcode read only memory (ROM) unit of the processor. When the processor powers-up, it uses its internal ROM microcode only if no patches are installed. If patches are installed and a microcode line is accessed for which a patch is enabled, the patch is executed instead of the microcode line. A patch may be enabled by setting a match register with the address of the microcode instruction line in the microcode ROM that is to be patched. Whenever the microcode ROM address matches the contents of a match register, control is transferred to the patch RAM. The patch RAM may have a plurality of fixed entry points each corresponding to a different match register.
A microcode patching device comprising:
A method for patching microcode in a processor, comprising:
The method as recited in 28, further comprising upon completion of loading said one or more microcode patch routines, said patch loader routine checking if a flag was set in said system memory, and branching to one of the one or more microcode patch routines located at a fixed location in said patch memory.
A processor comprising:
Dependencies are inferred from the claim text.