[go: up one dir, main page]

CN100527094C - Method and apparatus for capturing temporary memory data - Google Patents

Method and apparatus for capturing temporary memory data Download PDF

Info

Publication number
CN100527094C
CN100527094C CNB2007101373752A CN200710137375A CN100527094C CN 100527094 C CN100527094 C CN 100527094C CN B2007101373752 A CNB2007101373752 A CN B2007101373752A CN 200710137375 A CN200710137375 A CN 200710137375A CN 100527094 C CN100527094 C CN 100527094C
Authority
CN
China
Prior art keywords
register
data
address
processing routine
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2007101373752A
Other languages
Chinese (zh)
Other versions
CN101082879A (en
Inventor
谢正立
杨正国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Via Technologies Inc
Original Assignee
Via Technologies Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Via Technologies Inc filed Critical Via Technologies Inc
Priority to CNB2007101373752A priority Critical patent/CN100527094C/en
Publication of CN101082879A publication Critical patent/CN101082879A/en
Application granted granted Critical
Publication of CN100527094C publication Critical patent/CN100527094C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention is a method and device for capturing register data, which is applied to a computer system, wherein the computer system comprises a central processing unit and a chip set, and the device comprises: a trigger signal generator; a user address register; a data transfer register and a user interface, and the method comprises the following steps: firstly, a trigger signal is sent to the chip set in response to the occurrence of an event; secondly, sending an interrupt signal to the central processing unit to enable the central processing unit to call a processing routine; then the processing routine reads data from the specific temporary memory of the computer system pointed by the address data according to the address data and stores the data in the data transfer temporary memory; and finally, providing the user interface to read the data in the data transfer register, wherein the processing routine carries out data reading operation according to the service completion flag and the transaction request status flag stored in the handshake register.

Description

The obtaining scratch memory data method and apparatus
Technical field
The present invention is a kind of obtaining scratch memory data method and apparatus, and finger is applied to the obtaining scratch memory data method and apparatus on the computer system especially.
Background technology
Debug (debug) is the important operation in design process of computer system software/hardware/firmware, is exactly to read that the numerical value in all kinds of working storages inspects for the debug personnel in the computer system and a main operation is arranged in the debug program.And all be to be executed in the operating system application program under the environment of normal operation in order to the debugging tool software of checking all kinds of working storages in the computer system now, for example common kerneldebugger of Microsoft.But thus, the problem that is taken place before operating system is finished loading and normal operation also can't be finished by this type of debugging tool software and check.And when undesired situation takes place operating system (for example operating system is worked as machine), known debugging tool software also will can't work orderly thereupon decommissioning.
For instance, before operating system loads, the Basic Input or Output System (BIOS) of computer system (BIOS) selftest (POST) program of can starting shooting, in order to suitably the logic element that comprises CPU (central processing unit), chipset etc. in the computer system being carried out initialized operation, and the program of start selftest (POST) is made up of a plurality of step.But in the program of start selftest (POST), produce phenomenon when machine, existing known debugging tool software also can't read the numerical value of all kinds of working storages in the computer system, so the reason that can't take place leading to errors be analyzed, and the source code content that can only inspect Basic Input or Output System (BIOS) (BIOS) is come the location of mistakes.
In addition, even when operating system has been finished loading but taken place when the machine phenomenon afterwards, the known debugging tool software of running under operating system environment also will can't read the numerical value of all kinds of working storages in the computer system thereupon decommissioning.Therefore how to improve above-mentioned any means known disappearance, for developing fundamental purpose of the present invention.
Summary of the invention
The present invention is a kind of obtaining scratch memory data method, is applied on the computer system, and this computer system includes CPU (central processing unit) and chipset, and it comprises the following step: send trigger pip to this chipset in response to incident takes place; This chipset sends look-at-me to this CPU (central processing unit), this CPU (central processing unit) is carried out handled routine; This processing routine goes in the specific working storage of this address date this computer system pointed reading of data and unloading in data transfer temporary storage according to address date; And provide user's interface to read data in this data transfer temporary storage, wherein, this processing routine is to hold in the working storage according to friendship that flag is finished in stored service and the transaction request state flags carries out data read operation.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein the specification of this trigger pip can be SERIRQ signal, gpi signal or EXTSMI# signal.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this specific working storage can be this CPU (central processing unit) inside working storage, PCI configuration working storage or be defined in the storage space address or the inputoutput space address on working storage.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this address date is deposited in user's address register, and this address date in this user's address register can utilize this user's interface to set.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this user's interface host computer of can be thumb-acting switch and/or having display.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this incident can be that a certain step in the start self test program of this computer system is when finishing, when a certain predetermined period time arrives or the user triggers.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this look-at-me of sending of this chipset is a system management interrupt signal, and this CPU (central processing unit) just enters System Management Mode and call out this processing routine that is arranged in BIOS chip.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this processing routine is to read this address date from the address date working storage.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein this processing routine data read operation of carrying out comprises the following step: judge whether this transaction request state flags is configured to " 1 ", if, just reading of data and be stored to this data transfer temporary storage in this specific working storage that points to according to this address date, then this transaction request state flags is removed and be " 0 ", judge that then this service finishes flag and whether be configured to " 1 ", if flag is finished in this service is removed to " 0 " and jump out this processing routine and this System Management Mode; And this service finish flag then to get back to previous step rapid for " 0 " if judge.
According to above-mentioned conception, obtaining scratch memory data method of the present invention, wherein to hold working storage be that read/write is once removed the formula working storage in this friendship, when the relative position of holding working storage to this friendship when this processing routine writes " 1 ", just can with this transaction request state flags maybe this service finish flag and remove and be " 0 ".
Another aspect of the invention is a kind of obtaining scratch memory data device, be applied on the computer system, this computer system includes CPU (central processing unit) and chipset, this obtaining scratch memory data device comprises: the trigger pip generator, it is to send trigger pip to this chipset in response to incident takes place, send look-at-me to this CPU (central processing unit) in order to trigger this chipset, handle routine and this CPU (central processing unit) is carried out; User's address register, this processing routine are to go reading of data in the specific working storage of this address date this computer system pointed according to the address date in this user's address register; Data transfer temporary storage, the data of reading from this specific working storage for this processing routine store; And user's interface, signal is connected to this data transfer temporary storage, this user's address register and this trigger pip generator, its be used for reading in this data transfer temporary storage data and to this user's address register and this trigger pip generator input data; And hand over and hold working storage, this friendship is held the working storage service of having deposited and is finished flag and transaction request state flags, and this processing routine finishes flag according to this service and this transaction request state flags carries out data read operation.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein the specification of this trigger pip can be SERIRQ signal, gpi signal or EXTSMI# signal.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this specific working storage can be this CPU (central processing unit) inside working storage, PCI configuration working storage or be defined in the storage space address or the inputoutput space address on working storage.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this address date in this user's address register can utilize this user's interface to set.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this user's interface host computer of can be thumb-acting switch and/or having display.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this incident can be that a certain step in the start self test program of this computer system is when finishing, when a certain predetermined period time arrives or the user triggers.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this look-at-me of sending of this chipset is a system management interrupt signal, and this CPU (central processing unit) just enters System Management Mode and call out this processing routine that is arranged in BIOS chip.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein this processing routine data read operation of carrying out comprises the following step: judge whether this transaction request state flags is configured to " 1 ", if, just reading of data and be stored to this data transfer temporary storage in this specific working storage that points to according to this address date, then this transaction request state flags is removed and be " 0 ", judge that then this service finishes flag and whether be configured to " 1 ", if flag is finished in this service is removed to " 0 " and jump out this processing routine and this System Management Mode; And this service finish flag then to get back to previous step rapid for " 0 " if judge.
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein to hold working storage be that read/write is once removed the formula working storage in this friendship, when the relative position of holding working storage to this friendship when this processing routine writes " 1 ", just can with this transaction request state flags maybe this service finish flag and remove and be " 0 ".
According to above-mentioned conception, obtaining scratch memory data device of the present invention, wherein to hold the circuit of working storage be can be integrated in this chipset for this trigger pip generator, this user's address register, this data transfer temporary storage, this friendship.
Description of drawings
The present invention must pass through following graphic and explanation, in order to do getting more deep understanding:
Fig. 1, it is that the present invention improves debugging system that any means known develops to be applied to function block schematic diagram in the computer system.
Fig. 2, it is a debug hardware cell built-in function block schematic diagram of the present invention.
Fig. 3, the job step process flow diagram when its processing routine that is built in BIOS chip in being is carried out.
Fig. 4, it is the job step schematic flow sheet that software and hardware two parts of the present invention are carried out after integrated.
Each the element line formula that is comprised during the present invention is graphic is as follows:
CPU (central processing unit) 10 chipsets 11
BIOS chip 12 debugging systems 13
Debug hardware cell 131 is handled routine 132
Bus 110 debug hardware cells 131
Start selftest sign indicating number working storage 1310 trigger pip generators 1311
User's address register 1312 data transfer temporary storage 1313
Working storage 1314 user's interfaces 1315 are held in friendship
Embodiment
See also Fig. 1, it is that the present invention improves debugging system that any means known develops to be applied to function block schematic diagram in the computer system, wherein CPU (central processing unit) 10, chipset 11 and BIOS chip 12 are indispensable hardware of computer system and firmware, the debugging system 13 that the present invention developed then comprises the exploitation of two parts, first is a debug hardware cell 131, it is to carry out signal transmission by bus 110 and chipset 11, second portion then be can in be built in the processing routine (handler routine) 132 of BIOS chip 12.Below both details and running is elaborated.
At first, debug hardware cell 131 can be finished with the form of pci bus element or lpc bus element, and meaning is that bus 110 available PCI buses or lpc bus are finished.Debug hardware cell 131 built-in function block schematic diagrams are then shown in Fig. 2, it includes start selftest sign indicating number working storage (POSTcode register) 1310, trigger pip generator 1311, user's address register 1312, data shift (dump) working storage 1313, (handshake) working storage 1314 and user's interface 1315 are held in friendship, the selftest sign indicating number working storage (POST code register) 1310 of wherein starting shooting is used for capturing the start selftest sign indicating number (POST code) that is transmitted on the bus 110, start selftest sign indicating number (POST code) representative start self test program is accomplished to the code of that step, and the start selftest sign indicating number (POST code) in the start selftest sign indicating number working storage (POSTcode register) 1310 can be read by user's interface 1315.
As for 1311 of trigger pip generators is to send system management interrupt (System Management Interrupt in response to incident takes place, abbreviation SMI) trigger pip is to chipset 11, and then make chipset 11 send this system management interrupt (SMI) to CPU (central processing unit) 10, allow CPU (central processing unit) 10 enter System Management Mode (System Management Mode, be called for short SMM) and call out the processing routine 132 that is arranged in BIOS chip 12.And the implementation of this trigger pip needs basically in response to chipset 11 supported specifications, and can be gpi signal, EXTSMI# signal or SERIRQ signal etc., as for above-mentioned incident can be that a certain step of start in the self test program is when finishing, or a certain predetermined period time when arriving, or the user is when triggering or the like.
User's address register 1312 then provides to the user and inserts address date, this address date is to point to specific working storage, and the inside working storage that this specific working storage can be a CPU (central processing unit) 10, PCI dispose working storage or be defined in some storage space address (memory space address) or inputoutput space address (IO space address) on working storage.So specific working storage according to address date computer system pointed, this processing routine (handler routine) 132 is able to reading of data from specific working storage, and see that from the angle of handling routine 1312 of user's address registers are a read-only working storage (read-only register).
Data transfer temporary storage (dump register) 1313 then provides handles the data that routine (handlerroutine) 132 unloadings are read from specific working storage.Hold 1314 of working storages in order to deposit two flag value as for friendship, one is that (service_complete) flag is finished in service, another is transaction request state (Transaction_Request) flag, and this friendship is held the preferable read/write that can be of working storage 1314 and once removed (read/write-one-clear) formula working storage and finish.
Providing the user as for 1315 user's interfaces carries out the numerical value input or observes the numerical value of wherein depositing above-mentioned all kinds of working storages, user's interface 1315 that its available thumb-acting switch (DIP SWITCH) is finished carries out the work of numerical value input, and, just can observe the numerical value that debug hardware cell 131 is read by user's interface 1315 that a host computer with display is finished.And above-mentioned start selftest sign indicating number working storage (POST code register) 1310, trigger pip generator 1311, user's address register 1312, data shift (dump) working storage 1313 and hand over and hold (handshake) working storage 1314 and all can be integrated in the chipset, or finish in the device outside being independent of computer system with user's interface 1315 together.
See also Fig. 3 again, job step process flow diagram when its processing routine 132 that is built in BIOS chip 12 in being is carried out, at first, step 31 is for judging whether transaction request state (Transaction_Request) flag sets " 1 " for earlier, if, just reading of data in the working storage that enters step 32 and point to according to the address date in the address register 1312, enter after the step 33 just the data storing that will read to data transfer temporary storage (dump register), step 34 then is to remove the transaction request state flags to be " 0 ", the judgement (step 35) whether the service that enters then finishes, (i.e. service finish flag be made as " 1 ") then enters the flag that step 36 service of removing finishes and jumps out and handle routine 132 and System Management Mode if "Yes", if "No" is then got back to step 31.Thus, the present invention handles routine 132 and just can carry out the operation of reading data in the address date working storage pointed after calling out.And when handing over when holding working storage 1314 and once removing (read/write-one-clear) formula working storage for read/write, the relative position that 132 need of processing routine are held working storage 1314 to this friendship writes " 1 ", just can remove and be " 0 " removing flag that transaction request state flags or service finish, can simplify the complexity of software program code.
The job step schematic flow sheet that above-mentioned software and hardware two parts are carried out after integrated then as shown in Figure 4, at first, step 41 is for allowing the user utilize user's interface 1315 to set address date in this user's address register 1312 (the transaction request state flags also need be set to 1 simultaneously), step 42 is for to send trigger pip to chipset 11 by trigger pip generator 1311 then, and chipset just sends this system management interrupt (SMI) to CPU (central processing unit) 10, allows CPU (central processing unit) 10 enter System Management Mode (SMM) and call treatment routine 132 is carried out the operation of above-mentioned Fig. 3.Then enter step 43, whether user's decision has been that last working storage reads service, if "Yes" is carried out setting up of transaction request state (Transaction_Request) flag after then can being made as " 1 " (step 44) by the flag that user's interface 1315 is finished service (service_complete) again to step 45, if "No" then jumps directly to step 45 and carries out setting up of transaction request state (Transaction_Request) flag.As for step 46 item is to judge transaction request state (Transaction_Request) flag whether remove by processed routine 132, if "Yes" is just taken data (step 47) away from data transfer temporary storage (dump register) 1313, judge item again that in step 48 service finishes whether the flag of (service_complete) is " 1 " then, if also jumping out, "Yes" constipation bundle whole operation handles routine 132 and System Management Mode, if "No" rebound step 42 more then.
Thus, the input that the user holds working storage 1314 and user's address register 1312 by 1315 pairs of friendships of user's interface, just can determine whether will enter in System Management Mode and the processing routine 132, and to carry out the acquisition of working storage content on that address, whether to jump out the decision of System Management Mode and processing routine 132 in addition.And owing to System Management Mode can be moved outside the operating system in being independent of, and hardware of the present invention also can be independent of and goes back independent operation outside the computer system, therefore the present invention can improve any means known disappearance really, but, develop fundamental purpose of the present invention so can reach even do not load as yet or all normal operations during computer down in operating system.And but the present invention's widespread use is to the various computer system, so the present invention must be appointed by those skilled in the art and executes that the craftsman thinks and be to modify right neither taking off as attached claim Protector that scope is desired as all.

Claims (11)

1.一种暂存器数据撷取方法,应用于计算机系统之上,该计算机系统包含有中央处理单元与芯片组,其包含下列步骤:1. A method for acquiring temporary register data, applied to a computer system, the computer system comprising a central processing unit and a chipset, comprising the following steps: 因应事件发生而发出触发信号至该芯片组;Send a trigger signal to the chipset in response to an event; 该芯片组发出中断信号至该中央处理单元,使该中央处理单元呼叫处理例程;the chipset sends an interrupt signal to the central processing unit, causing the central processing unit to call a processing routine; 根据地址数据所指向的该计算机系统的特定暂存器,该处理例程从该特定暂存器中读取数据并转存于数据转移暂存器;以及According to the specific register of the computer system pointed to by the address data, the processing routine reads data from the specific register and transfers it to the data transfer register; and 提供使用者接口来读取该数据转移暂存器中的数据,providing a user interface to read the data in the data transfer register, 其中,该处理例程是根据交握暂存器中所存放的服务完成旗标与交易请求状态旗标来进行数据读取操作。Wherein, the processing routine performs the data reading operation according to the service completion flag and the transaction request status flag stored in the handshake register. 2.根据权利要求1所述的暂存器数据撷取方法,其中该地址数据存放于使用者地址暂存器中,而该使用者地址暂存器中的该地址数据可以利用该使用者接口来进行设定。2. The register data acquisition method according to claim 1, wherein the address data is stored in the user address register, and the address data in the user address register can use the user interface to make settings. 3.根据权利要求1所述的暂存器数据撷取方法,其中该事件可以是该计算机系统的开机自我测试程序中的某一步骤结束时、某一预定周期时间到达时、或是使用者触发。3. The method for retrieving register data according to claim 1, wherein the event can be when a certain step in the POST procedure of the computer system ends, when a certain predetermined cycle time arrives, or when the user trigger. 4.根据权利要求1所述的暂存器数据撷取方法,其中该芯片组发出的该中断信号为系统管理中断信号,而该中央处理单元便进入系统管理模式并呼叫位于基本输入输出系统芯片中的该处理例程以从地址数据暂存器中读取该地址数据。4. The method for retrieving register data according to claim 1, wherein the interrupt signal sent by the chipset is a system management interrupt signal, and the central processing unit enters the system management mode and calls the SoC located in the BIOS The processing routine in to read the address data from the address data register. 5.根据权利要求1所述的暂存器数据撷取方法,其中该处理例程进行的数据读取操作包含下列步骤:5. The scratchpad data retrieval method according to claim 1, wherein the data reading operation performed by the processing routine comprises the following steps: 判断该交易请求状态旗标是否被设定成“1”,若是,便根据该地址数据指向的该特定暂存器中读取数据并储存至该数据转移暂存器,然后将该交易请求状态旗标清除为“0”,然后判断该服务完成旗标是否被设定成“1”,若是,将服务完成旗标清除为“0”并跳出该处理例程及该系统管理模式;以及Determine whether the transaction request status flag is set to "1", if so, read data from the specific register pointed to by the address data and store it in the data transfer register, and then the transaction request status Clearing the flag to "0", then judging whether the service completion flag is set to "1", if so, clearing the service completion flag to "0" and jumping out of the processing routine and the system management mode; and 若判断该服务完成旗标为“0”则回到上一步骤;If it is judged that the service completion flag is "0", then return to the previous step; 其中该交握暂存器为读/写一次清除式暂存器,当该处理例程向该交握暂存器的相对位置写入“1”时,便可将该交易请求状态旗标或该服务完成旗标清除为“0”。Wherein the handshake register is a read/write-one-clear register, when the processing routine writes "1" to the relative position of the handshake register, the transaction request status flag or The service completion flag is cleared to "0". 6.一种暂存器数据撷取装置,应用于计算机系统之上,该计算机系统包含有中央处理单元与芯片组,该暂存器数据撷取装置包含:6. A temporary register data acquisition device, applied to a computer system, the computer system includes a central processing unit and a chipset, and the temporary register data acquisition device includes: 触发信号产生器,其是因应事件发生而发出触发信号至该芯片组,用以触发该芯片组发出中断信号至该中央处理单元,而使该中央处理单元呼叫处理例程;a trigger signal generator, which sends a trigger signal to the chipset in response to the occurrence of an event, for triggering the chipset to send an interrupt signal to the central processing unit, so that the central processing unit calls a processing routine; 使用者地址暂存器,提供该处理例程根据该使用者地址暂存器中的地址数据去该地址数据所指向的该计算机系统的特定暂存器中读取数据;A user address register, providing the processing routine to read data from a specific register of the computer system pointed to by the address data according to the address data in the user address register; 数据转移暂存器,供该处理例程从该特定暂存器中读出的数据进行储存;使用者接口,信号连接至该数据转移暂存器、该使用者地址暂存器以及该触发信号产生器,其是用来读取该数据转移暂存器中的数据并对该使用者地址暂存器以及该触发信号产生器输入数据;以及a data transfer register for storing data read by the processing routine from the specific register; a user interface for signal connection to the data transfer register, the user address register and the trigger signal a generator, which is used to read data in the data transfer register and input data to the user address register and the trigger signal generator; and 交握暂存器,该交握暂存器存放有服务完成旗标与交易请求状态旗标,而该处理例程根据该服务完成旗标与该交易请求状态旗标来进行数据读取操作。The handshake register stores a service completion flag and a transaction request status flag, and the processing routine performs a data reading operation according to the service completion flag and the transaction request status flag. 7.根据权利要求6所述的暂存器数据撷取装置,其中该特定暂存器可以是该中央处理单元的内部暂存器、PCI配置暂存器或是定义于存储器空间地址或输入输出空间地址上的暂存器。7. The register data acquisition device according to claim 6, wherein the specific register can be an internal register of the central processing unit, a PCI configuration register, or a register defined in memory space address or input and output A scratchpad at a space address. 8.根据权利要求6所述的暂存器数据撷取装置,其中该使用者地址暂存器中的该地址数据可以利用该使用者接口来进行设定。8. The register data acquisition device according to claim 6, wherein the address data in the user address register can be set by using the user interface. 9.根据权利要求6所述的暂存器数据撷取装置,其中该事件可以是该计算机系统的开机自我测试程序中的某一步骤结束时、某一预定周期时间到达时、或是使用者触发。9. The temporary register data acquisition device according to claim 6, wherein the event can be when a certain step in the POST procedure of the computer system ends, when a certain predetermined cycle time arrives, or when the user trigger. 10.根据权利要求6所述的暂存器数据撷取装置,其中该芯片组发出的该中断信号为系统管理中断信号,而该中央处理单元便进入系统管理模式并呼叫位于基本输入输出系统芯片中的该处理例程。10. The register data acquisition device according to claim 6, wherein the interrupt signal sent by the chipset is a system management interrupt signal, and the central processing unit enters the system management mode and calls the system chip located in the basic input output output The processing routine in . 11.根据权利要求6所述的暂存器数据撷取装置,其中该处理例程进行的数据读取操作包含下列步骤:11. The register data acquisition device according to claim 6, wherein the data reading operation performed by the processing routine comprises the following steps: 判断该交易请求状态旗标是否被设定成“1”,若是,便根据该地址数据指向的该特定暂存器中读取数据并储存至该数据转移暂存器,然后将该交易请求状态旗标清除为“0”,然后判断该服务完成旗标是否被设定成“1”,若是,将该服务完成旗标清除为“0”并跳出该处理例程及该系统管理模式;以及Determine whether the transaction request status flag is set to "1", if so, read data from the specific register pointed to by the address data and store it in the data transfer register, and then the transaction request status clearing the flag to "0", then judging whether the service completion flag is set to "1", if so, clearing the service completion flag to "0" and jumping out of the processing routine and the system management mode; and 若判断该服务完成旗标为“0”则回到上一步骤;If it is judged that the service completion flag is "0", then return to the previous step; 其中该交握暂存器为读/写一次清除式暂存器,当该处理例程向该交握暂存器的相对位置写入“1”时,便可将该交易请求状态旗标或该服务完成旗标清除为“0”。Wherein the handshake register is a read/write-one-clear register, when the processing routine writes "1" to the relative position of the handshake register, the transaction request status flag or The service completion flag is cleared to "0".
CNB2007101373752A 2007-07-25 2007-07-25 Method and apparatus for capturing temporary memory data Active CN100527094C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101373752A CN100527094C (en) 2007-07-25 2007-07-25 Method and apparatus for capturing temporary memory data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101373752A CN100527094C (en) 2007-07-25 2007-07-25 Method and apparatus for capturing temporary memory data

Publications (2)

Publication Number Publication Date
CN101082879A CN101082879A (en) 2007-12-05
CN100527094C true CN100527094C (en) 2009-08-12

Family

ID=38912462

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101373752A Active CN100527094C (en) 2007-07-25 2007-07-25 Method and apparatus for capturing temporary memory data

Country Status (1)

Country Link
CN (1) CN100527094C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9158697B2 (en) 2011-12-28 2015-10-13 Realtek Semiconductor Corp. Method for cleaning cache of processor and associated processor

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826046B (en) * 2009-03-06 2011-12-14 纬创资通股份有限公司 Computer startup debugging method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174381A1 (en) * 2001-05-18 2002-11-21 Olarig Sompong P. Method and apparatus for expediting system initialization
CN1744057A (en) * 2005-10-14 2006-03-08 威盛电子股份有限公司 Detecting system and method
CN1786924A (en) * 2004-12-06 2006-06-14 明基电通股份有限公司 Electronic appliance and method with debugging function
CN1828553A (en) * 2005-04-13 2006-09-06 威盛电子股份有限公司 System on Chip and Test/Debugging Method Applied thereto

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020174381A1 (en) * 2001-05-18 2002-11-21 Olarig Sompong P. Method and apparatus for expediting system initialization
CN1786924A (en) * 2004-12-06 2006-06-14 明基电通股份有限公司 Electronic appliance and method with debugging function
CN1828553A (en) * 2005-04-13 2006-09-06 威盛电子股份有限公司 System on Chip and Test/Debugging Method Applied thereto
CN1744057A (en) * 2005-10-14 2006-03-08 威盛电子股份有限公司 Detecting system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9158697B2 (en) 2011-12-28 2015-10-13 Realtek Semiconductor Corp. Method for cleaning cache of processor and associated processor
TWI579695B (en) * 2011-12-28 2017-04-21 瑞昱半導體股份有限公司 Method for cleaning cache of processor and associated processor

Also Published As

Publication number Publication date
CN101082879A (en) 2007-12-05

Similar Documents

Publication Publication Date Title
CN115841089B (en) System-level chip verification platform and verification method based on UVM
CN1316372C (en) Single step processing
US7624312B2 (en) System, apparatus, computer program product for performing operational validation with limited CPU use of a communications network
US20030196146A1 (en) Systems and methods for testing processors
CN108595298A (en) A kind of chip test system and method
JP2017513116A5 (en)
JPH07182204A (en) Integrated microprocessor, computer development system and test method of integrated processor
US10078113B1 (en) Methods and circuits for debugging data bus communications
JP2018537762A (en) Method and circuit for debugging a circuit design
CN104077220A (en) Method and device for debugging microprocessor without interlocked piped stages (MIPS) framework operating system kernel
CN103197914A (en) Multiple processor delayed execution
WO2025081835A1 (en) Interruption control method and apparatus, device, program, and readable storage medium
JP4564616B2 (en) Debug data processor
CN111159023A (en) Test method, test device, electronic equipment and computer readable storage medium
CN100527094C (en) Method and apparatus for capturing temporary memory data
US20060195721A1 (en) Method and apparatus for qualifying debug operation using source information
CN117236272A (en) Chip simulation verification method and device, equipment and storage medium
JP5628411B2 (en) Semiconductor device
US20070043882A1 (en) Facilitating the configuration of new PCI devices during post
CN119167841A (en) Simulation logic system design method, electronic device and storage medium
CN100524245C (en) Method for monitoring input/output port data
JP2001356971A (en) System and method for testing multiprocessor memory
JP2014182676A (en) Log collection device, arithmetic unit, and log collection method
US20080229022A1 (en) Efficient system bootstrap loading
CN101124547A (en) Testable multiprocessor system and method for testing a processor system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant