-
公开(公告)号:EP1655667A3
公开(公告)日:2008-10-29
申请号:EP05447243.6
申请日:2005-11-04
Applicant: STMicroelectronics Belgium N.V.
Inventor: Alexandre, Rudolph , Charlier, Vincent , Rahaga, Tiana , Vandersmissen, Yves
IPC: G06F12/06
CPC classification number: G06F9/30149 , G06F9/322 , G06F9/328 , G06F12/0638
Abstract: A code patching device is provided for use with a processor having a read-only memory which stores instruction code and a further memory for storing patch code. A plurality of patch address registers each store an address, in the read-only memory, at which a patch is to be performed. A comparator compares the address of the read-only memory that is being accessed by the processor with the addresses stored in the registers. A control unit selects between code from the read-only memory or patch code from the further memory depending on the comparison. The code patching device can replace, on-the-fly, erroneous lines of code from the read-only memory by corrected ones. During an initialisation process the patch code is loaded into the further memory and the registers are loaded with the addresses which require patching.
-
2.
公开(公告)号:EP1655667A2
公开(公告)日:2006-05-10
申请号:EP05447243.6
申请日:2005-11-04
Applicant: STMicroelectronics Belgium N.V.
Inventor: Alexandre, Rudolph , Charlier, Vincent , Rahaga, Tiana , Vandersmissen, Yves
IPC: G06F12/06
CPC classification number: G06F9/30149 , G06F9/322 , G06F9/328 , G06F12/0638
Abstract: A code patching device is provided for use with a processor having a read-only memory which stores instruction code and a further memory for storing patch code. A plurality of patch address registers each store an address, in the read-only memory, at which a patch is to be performed. A comparator compares the address of the read-only memory that is being accessed by the processor with the addresses stored in the registers. A control unit selects between code from the read-only memory or patch code from the further memory depending on the comparison. The code patching device can replace, on-the-fly, erroneous lines of code from the read-only memory by corrected ones. During an initialisation process the patch code is loaded into the further memory and the registers are loaded with the addresses which require patching.
Abstract translation: 代码修补装置被提供用于具有存储指令代码的只读存储器和用于存储补丁码的另外的存储器的处理器。 多个补丁地址寄存器每个存储在只读存储器中要在其上执行补丁的地址。 比较器将处理器正在访问的只读存储器的地址与存储在寄存器中的地址进行比较。 控制单元根据比较选择来自只读存储器的代码或来自另外存储器的补丁码。 代码修补设备可以通过修正的代码来替代来自只读存储器的错误的代码行。 在初始化过程中,补丁代码被加载到另外的存储器中,寄存器加载了需要修补的地址。
-