CN101295282A - Method for using system memory - Google Patents

Method for using system memory Download PDF

Info

Publication number
CN101295282A
CN101295282A CNA2007101026297A CN200710102629A CN101295282A CN 101295282 A CN101295282 A CN 101295282A CN A2007101026297 A CNA2007101026297 A CN A2007101026297A CN 200710102629 A CN200710102629 A CN 200710102629A CN 101295282 A CN101295282 A CN 101295282A
Authority
CN
China
Prior art keywords
storer
computer system
monitoring chip
user demand
instruction
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.)
Pending
Application number
CNA2007101026297A
Other languages
Chinese (zh)
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.)
Inventec Corp
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNA2007101026297A priority Critical patent/CN101295282A/en
Publication of CN101295282A publication Critical patent/CN101295282A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for using a system storage; when a monitoring chip executes a program and a plurality of storages are required or the storage space is not enough, the monitoring chip sends a system interruption signal to ask a computer system to provide the storage, informs the computer system of the cause and requirement of the storage usage in an instruction transmission type, and directly accesses and uses the storage of the computer system. Therefore, by the storage inside the computer system, the capacity of the storage which can be used by the monitoring chip can be increased, thus achieving the object of improving the efficiency and increasing the convenience of the program writing.

Description

The method of using system storer
Technical field
The invention relates to a kind of method of using system storer, and particularly relevant for a kind of by monitoring chip use computer system the storer using method of built-in storer.
Background technology
Flourish along with computer technology, for more effective computer system of supervising different platform simultaneously, the generation of also thereupon meeting the tendency of a common standard.Comprising the intelligent platform management interface of formulating at cross platform system administrative institute (Intelligent Platform Management Interface, IPMI).For the supervisory system that adopts this management interfaces, singly do not comprise the supervisory systems circuit of computer system inside, also comprised the hardware of being responsible for overall management outside the computer system and various management softwares or the like.Under such framework, the chip of being responsible for the inner various supervisory control action of computer system then be referred to as baseboard management controller (BaseboardManagement Controller, BMC).In general, utilize baseboard management controller to reach the running of monitoring computer internal system, just like become one of main flow of the supervisory system that designs computer system.
Yet the related hardware of baseboard management controller is worth not striking, and the size of its storage space also is restricted, and 64KB is only arranged mostly.Such storage space only can offer the usefulness that baseboard management controller is kept general running, and the system engineer may be in default of enough memory buffer districts when writing program, and then causes the inconvenience in the program design.In addition, also because the storage space of baseboard management controller itself is less, the execution usefulness that relatively also can limit to baseboard management controller.
Summary of the invention
In view of this, the invention provides a kind of method of using system storer,, reach usefulness that promotes monitoring chip and the convenience of on monitoring chip, writing program by the storer in the accessed computer system.
The present invention proposes a kind of method of using system storer, is suitable for being used by monitoring chip the storer of computer system.The method comprises the following steps: at first, monitoring chip according to storer user demand transmitting system look-at-me and storer user demand to computer system.And according to the storer that is used the instruction accessing computer system by the storer of computer system passback, wherein, storer uses instruction to be produced according to the storer user demand by computer system.At last, remove the storer user demand.
Method according to described using system storer of the present invention, wherein transmit storer user demand to the step of computer system and comprise that transmitting the interruption source inquiry by computer system instructs to monitoring chip, and monitoring chip is responded interruption source inquiry instruction, and then transmits the storer user demand to computer system.
According to the method for described using system storer of the present invention, wherein the storer user demand comprise the configuration computer system storer, upload or the data of download memory, and discharge storer one of them.
According to the method for described using system storer of the present invention, comprise that also computer system uses to monitoring chip according to storer user demand config memory.
According to the method for described using system storer of the present invention, comprise that also computer system discharges the storer that configuration is used to monitoring chip according to the storer user demand.
According to the method for described using system storer of the present invention, wherein use the step of instruction accessing storer to comprise that the data that transmits in the monitoring chip stores to the storer of computer system according to storer.
According to the method for described using system storer of the present invention, wherein use the step of instruction accessing storer to comprise data in the storer of downloading computer system according to storer.
According to the method for described using system storer of the present invention, wherein system interrupt signals is to send or stop to send by the working storage of setting monitoring chip.
According to the method for the described using system storer of embodiments of the invention, wherein monitoring chip is that (Intelligent Platform Management Interface IPMI) links up with computer system by the intelligent platform management interface.
According to the method for described using system storer of the present invention, wherein monitoring chip comprise baseboard management controller (Baseboard Management Controller, BMC).
According to the method for described using system storer of the present invention, wherein storer comprises System Management Mode (System Management Mode, SMM) storer.
According to the method for described using system storer of the present invention, wherein storer uses instruction to comprise original equipment manufacturer (Original Equipment Manufacturer, OEM) instruction.
When the present invention need use the storer of computer system at monitoring chip, notify computer system that storage space is provided according to this, and inform that by the mode that instruction transmits computer system makes memory-aided reason and demand by monitoring chip transmitting system look-at-me.Pass through to use the storer of computer system inside in view of the above, and then increase the size of the spendable storer of monitoring chip, reach the purpose that the convenience of program is write in lifting usefulness and increase.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated, wherein:
Fig. 1 is the process flow diagram of the method for the using system storer that illustrates according to one embodiment of the invention.
Fig. 2 is the process flow diagram of the method for the using system storer that illustrates according to another embodiment of the present invention.
Fig. 3 is the synoptic diagram of the method for the using system storer that illustrates according to one embodiment of the invention.
Embodiment
In general, the memory span of monitoring chip itself is little, if can divert the storer on the computer system where necessary, certainly will be able to improve the usefulness of monitoring chip, also can increase the convenience of the program of writing.The present invention is based on above-mentioned viewpoint and then develops the method for a kind of using system storer that.In order to make content of the present invention more clear, below the example that can implement according to this really as the present invention especially exemplified by embodiment.
Fig. 1 is the process flow diagram of the method for the using system storer that illustrates according to one embodiment of the invention.Present embodiment be how to illustrate by monitoring chip use computer system the detailed step of built-in storer.Wherein, monitoring chip for example can be baseboard management controller (Baseboard Management Controller, BMC), in the storer that is built in the computer system then comprise System Management Mode (SystemManagement Mode, SMM) storer.When monitoring chip and computer system need be communicated with each other, then can (Intelligent Platform Management Interface IPMI) carries out the action of transmission data or signal by for example intelligent platform management interface.
See also Fig. 1, shown in step 110, after computer system boot-strap, monitoring chip at first sends a system interrupt signals to computer system according to the storer user demand of itself.Wherein, monitoring chip can come the transmitting system look-at-me by setting inner working storage.
In the present embodiment, after computer system receives this system interrupt signals, just can enter System Management Mode (System Management Mode, SMM), and with the ownership of computer system give system management interrupt handling procedure (System Management Interrupt handler).Computer system will transmit interruption source and inquire and instruct to monitoring chip this moment, send the reason of system interrupt signals to inquire it.Then in step 120, monitoring chip then can be responded this interruption source inquiry instruction, and the storer user demand that it is present is sent to computer system.
Next shown in step 130, computer system will produce a storer according to present storer user demand and use instruction, and be sent to monitoring chip.Monitoring chip just can use instruction to come the storer of accessed computer internal system according to storer.Wherein, this storer use instruction for example is that (Original Equipment Manufacturer OEM) instructs, and do not limit its scope in original equipment manufacturer.
After finishing the access action of storer, in step 140, monitoring chip can be removed present storer user demand, and preceding interrupted other programs that the ownership of computer system also will be returned to by the system management interrupt handling procedure.
From the above mentioned, by the transmitting system look-at-me, monitoring chip can notify computer system to provide suitable storage space to use for monitoring chip, and can come the storer of accessed computer internal system according to the demand of monitoring chip itself, increase the size of the spendable storer of monitoring chip according to this.
Fig. 2 is the process flow diagram of the method for the using system storer that illustrates according to another embodiment of the present invention, and Fig. 3 is the synoptic diagram of the method for the using system storer that illustrates according to one embodiment of the invention.Please consulting Fig. 2 and Fig. 3 simultaneously, is to use the flow process of the storer (not illustrating) of computer system 300 inside to come the present invention is done further explanation with monitoring chip 310 in the present embodiment.
At first shown in step 210, monitoring chip 310 is sent to computer system 300 with system interrupt signals.Wherein, after the central processing unit 320 in computer system 300 receives system interrupt signals, just can give system management interrupt handling procedure 330 with the ownership of computer system 300.In order to respond the interruption source inquiry instruction that is returned by computer system 300, the monitoring chip 310 then storer user demand that it is present is sent to computer system 300.
In step 213, computer system 300 just can for example dispose block storage zone for monitoring chip 310 uses in the System Management Mode storer (not illustrating) after the resolving memory user demand and learning that monitoring chip 310 proposes the requirement of config memory space for its use.What deserves to be mentioned is, config memory uses instruction by for example transmitting, computer system 300 can notify the action of monitoring chip 310 config memorys to finish, and can also inform relevant memory configurations data such as the monitoring chip 310 present memory size that dispose simultaneously.
After above-mentioned action is finished, shown in step 215, monitoring chip 310 can be removed present storer user demand of writing down, and come the content of updated stored device user demand according to new demand, and shown in step 220, once more the storer user demand after system interrupt signals and the renewal is sent to computer system 300.
In the present embodiment, suppose that storer user demand that monitoring chip 310 upgraded is for requiring material upload to computer system, so shown in step 223, after computer system 300 will for example be uploaded storer and use instruction to be sent to monitoring chip 310, monitoring chip 310 just can be with storage address, the size that stores data, and data itself is sent to computer system 300 in the lump, allows according to this in the storage space that computer system 300 formerly disposed data storage.
After above-mentioned action is finished, shown in step 225, monitoring chip 310 will be removed the storer user demand of being write down at present once more.At this moment, because the part information of monitoring chip 310 has been uploaded in the storer of computer system 300, so the storeies of monitoring chip 310 itself just can get off the free time.It is big that the storage space that can use becomes, and what become in the time of can allowing the program of system engineer on writing monitoring chip 310 is more flexible.In addition, when carrying out the function of monitoring chip 310 itself,, and then can produce higher usefulness also because there is more storage space available.
In the present embodiment, if monitoring chip 310 needs to use the data in the storer that before had been uploaded to computer system 300, or program is when carrying out the data that writes down the back in storer, just the storer user demand can be updated to the download memory data, and shown in step 230, once more the storer user demand after system interrupt signals and the renewal is sent to computer system 300.
Next shown in step 233, after computer system 300 receives above-mentioned storer user demand (this download demand contains storage address, data size), can be by for example intelligent platform management interface, send storage address, data size and the data itself of data to monitoring chip 310 in the lump, finish the download action of data according to this.After for example confirming that by move instruction download action is finished, shown in step 235, just monitoring chip 310 can be removed present storer user demand.
What deserves to be mentioned is, in order to keep the consistance of data in the storer, when avoiding the data on certain storage address of access, the same storage addresss of 310 pairs of monitoring chips propose the storer user demands, upload and the action of downloading data must be mutual exclusion (mutual exclusion) and can't carrying out simultaneously.And for fear of each time upload or download action consuming time of a specified duration excessively, the size that limits the transmission data in the present embodiment is 16 bit groups.Therefore when a large amount of data is uploaded or downloaded to needs, then data must being cut into after the 16 bit groups again, gradation transmits.Yet the size during data transmission is only for illustrating herein, and do not limit the scope of the invention.
When monitoring chip 310 judge might need to use the storer of computer system 300 inside action all finish after, just the storer user demand can be updated to the release storer, and shown in step 240, system interrupt signals and storer user demand are sent to computer system 300.
Then in step 243, computer system 300 discharges the storage space that previous configuration uses for monitoring chip 310 according to the storer user demand after upgrading.After computer system 300 informs that with instruction the action of monitoring chip 310 release storeies has been finished, shown in step 245, monitoring chip 310 will be removed the content of storer user demand at last.So far promptly finish the flow process of the method for using system storer of the present invention.
In sum, the method for using system storer of the present invention has following advantage at least:
By data is deposited in advance computer system in the built-in storer, and in monitoring chip, only keep necessary archives, accelerate the execution usefulness of monitoring chip according to this.
2. by part information being uploaded to the storer of computer system, therefore monitoring chip will have more available storage space, the storage space that can use when the design monitoring chip becomes big in view of the above, so can improve the elasticity and the convenience of the program of writing monitoring chip.
Though the present invention discloses as above with embodiment; right its is not in order to qualification the present invention, any the technical staff in the technical field, without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is when with being as the criterion that claims define.

Claims (12)

1. the method for a using system storer is suitable for being used by a monitoring chip storer of a computer system, and this method comprises the following steps:
Send a system interrupt signals to this computer system according to a storer user demand;
Transmit this storer user demand to this computer system;
According to the storer of this computer system of storer use instruction accessing that is returned by this computer system, wherein this storer use instruction is to be produced according to this storer user demand by this computer system; And
Remove this storer user demand.
2. the method for using system storer as claimed in claim 1 is characterized in that, transmits this storer user demand to the step of this computer system and comprises:
This computer system transmits interruption source inquiry instruction to this monitoring chip; And
This monitoring chip is responded this interruption source inquiry instruction, and transmits this storer user demand to this computer system.
3. the method for using system storer as claimed in claim 1 is characterized in that, this storer user demand comprises this storer of disposing this computer system, uploads or download the data of this storer, and discharge this storer one of them.
4. the method for using system storer as claimed in claim 1 is characterized in that, also comprises:
This computer system disposes this storer according to this storer user demand and uses for this monitoring chip.
5. the method for using system storer as claimed in claim 4 is characterized in that, also comprises:
This computer system discharges this storer that configuration uses for this monitoring chip according to this storer user demand.
6. the method for using system storer as claimed in claim 1 is characterized in that, uses the step of this storer of instruction accessing to comprise according to this storer:
The data that transmits in this monitoring chip stores to this storer of this computer system.
7. the method for using system storer as claimed in claim 6 is characterized in that, uses the step of this storer of instruction accessing to comprise according to this storer:
Download the interior data of storer of this computer system.
8. the method for using system storer as claimed in claim 1 is characterized in that, this system interrupt signals is to send or stop to send by a working storage of setting this monitoring chip.
9. the method for using system storer as claimed in claim 1 is characterized in that, this monitoring chip is to link up by an intelligent platform management interface and this computer system.
10. the method for using system storer as claimed in claim 1 is characterized in that, this monitoring chip comprises baseboard management controller.
11. the method for using system storer as claimed in claim 1 is characterized in that, this storer comprises the System Management Mode storer.
12. the method for using system storer as claimed in claim 1 is characterized in that, this storer uses instruction to comprise original equipment manufacturer's instruction.
CNA2007101026297A 2007-04-24 2007-04-24 Method for using system memory Pending CN101295282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101026297A CN101295282A (en) 2007-04-24 2007-04-24 Method for using system memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101026297A CN101295282A (en) 2007-04-24 2007-04-24 Method for using system memory

Publications (1)

Publication Number Publication Date
CN101295282A true CN101295282A (en) 2008-10-29

Family

ID=40065575

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101026297A Pending CN101295282A (en) 2007-04-24 2007-04-24 Method for using system memory

Country Status (1)

Country Link
CN (1) CN101295282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350737B (en) * 2007-07-19 2011-05-04 宏正自动科技股份有限公司 Ipmi systems and electronic apparatus and memory sharing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350737B (en) * 2007-07-19 2011-05-04 宏正自动科技股份有限公司 Ipmi systems and electronic apparatus and memory sharing method

Similar Documents

Publication Publication Date Title
US5649112A (en) Method and apparatus for modifying microcode in a distributed nodal network while the network continues operation
CN109656593B (en) Method for realizing remote upgrading of FPGA (field programmable Gate array) program based on ZYNQ (z-YNQ) chip
CN101452369B (en) Method and system for controlling logical unit of USB mass storage device
CN105103144A (en) Apparatuses and methods for adaptive control of memory
US7065623B2 (en) Bandwidth utilization in a PPRC system
CN102081568B (en) Multi-motherboard server system
CN101770433B (en) General driving method and general driving device
US20130311543A1 (en) Apparatus for enhancing performance of a parallel processing environment, and associated methods
CN103793238A (en) Rack and method for simultaneously updating multiple basic input output systems thereof
US8612973B2 (en) Method and system for handling interrupts within computer system during hardware resource migration
CN102428451A (en) Command and interrupt grouping for a data storage device
CN102855146A (en) Firmware updating system and method
CN101373433A (en) Method for updating BIOS and computer and system using the same
US9336022B2 (en) Universal serial bus (USB) device and a USB system including the same
CN101295255B (en) Firmware updating system and method
CN103176932A (en) Method and system for DMA data transmission
US20120331212A1 (en) Status information saving among multiple computers
CN102253845B (en) Server system
CN110704365A (en) Reconstruction device based on FPGA
CN100587678C (en) External device access device and system large-scale integrated circuit
JP4322240B2 (en) Reboot method, system and program
CN116032746B (en) Information processing method and device of resource pool, storage medium and electronic device
CN101295282A (en) Method for using system memory
JP2000010902A (en) Daisy chain connecting device and its address setting method
CN108572831B (en) Software online updating and upgrading system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20081029