CN1841351A - Response processing method and system for user-defined interrupt signals - Google Patents
Response processing method and system for user-defined interrupt signals Download PDFInfo
- Publication number
- CN1841351A CN1841351A CN 200510059835 CN200510059835A CN1841351A CN 1841351 A CN1841351 A CN 1841351A CN 200510059835 CN200510059835 CN 200510059835 CN 200510059835 A CN200510059835 A CN 200510059835A CN 1841351 A CN1841351 A CN 1841351A
- Authority
- CN
- China
- Prior art keywords
- look
- peripheral device
- ordering
- response processing
- allocation list
- 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
Links
Images
Abstract
The response process system for custom interruption signal for a computer platform with a programmable interrupt controller comprises: an interrupt signal response module, a processing module, and an activating module for drive program. Wherein, under APIC operation mode, without PCI control, it pre-defines virtual device in interruption setting configuration table corresponding to the custom interruption signal from peripheral equipment, as well as the IRQ for interruption signal. This invention can save hardware cost.
Description
Technical field
The invention relates to a kind of computer information technology, particularly about a kind of response processing method and system that orders look-at-me certainly, be applied in computer platform and this computer platform is equipped with the programmable interruptable controller, the look-at-me (user-defined interrupt signals) of ordering certainly that the peripheral device of this computer platform overlap joint is sent provides a response processing capacity.
Background technology
The host circuit of computer platform all is to adopt look-at-me (interrupts) allow each peripheral device basically, for example hard disk unit, optical disc apparatus, key board unit, mouse apparatus etc., when carrying out information sharing with central processing unit, needs can temporarily send an interrupt request information, interrupt the work that central processing unit is carried out at present, allow central processing unit transfer to carry out the required driver of peripheral device, carry out the desired data of peripheral device and exchange action.
PIC (Programmable Interrupt Controller) is that Intel company (Intel) is a kind of programmable interruptable controller that personal computer development, and can allow the user be respectively each peripheral device and work out an exclusive look-at-me voluntarily; APIC (Advanced ProgrammableInterrupt Controller) then is a kind of novel and programmable interruptable controller that function is more powerful of Intel company, in be specially adapted to the to have multiprocessor computer motherboard (for example computer motherboard of server) of (Multi-Processor), provide the look-at-me processing capacity of a multitask.
In practical application, when using traditional PIC operator scheme, normally the IRQ system break circuit with computer platform is connected to a PCI (Peripheral ComponentInterconnect) controller, and make this pci controller receive that peripheral device sends order look-at-me certainly the time, produce the PCI look-at-me (PCI interrupt) of a correspondence, can make CPU (central processing unit) respond this PCI look-at-me, carry out corresponding driver.In addition, when using advanced APIC operator scheme, the configuration of its look-at-me then needs pre-defined BIOS at computer platform (Basic Input/Output System, BIOS) (Multi-Processor is MP) in allocation list or ACPI (the Advanced Configuration andPower Interface) allocation list for the multiprocessor in.
Yet under above-mentioned APIC operator scheme, the condition precedent of setting MP allocation list or ACPI allocation list is the pci controller that must be equiped with a hardware in computer platform.Yet the installing pci controller need increase relevant hardware, it is used do not meet economic benefit.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, it is a kind of from the response processing method and the system that order look-at-me that fundamental purpose of the present invention is to provide, and can adopt pci controller to carry out under the APIC operator scheme from the configuration settings of ordering look-at-me.
Certainly response processing method and the system applies of ordering look-at-me of the present invention is equipped with a programmable interruptable controller at computer platform and this computer platform, allow the user order look-at-me certainly in the sequencing mode, the look-at-me of ordering certainly that the peripheral device that this computer platform is overlapped sends provides a response processing capacity.
Certainly the response processing method of ordering look-at-me of the present invention comprises at least: allocation list is interrupted setting in (1) default, wherein pre-defined have that a virtual bench corresponds to that this peripheral device produces order look-at-me certainly, and simultaneously pre-defined have that this peripheral device produces order the pairing system break circuit of look-at-me certainly; (2) when practical operation, each that responds that this peripheral device produces sends an Interrupt Process active information from ordering look-at-me; (3) respond this Interrupt Process active information and from this interruption set find out allocation list that this peripheral device produces order the pairing system break circuit of look-at-me certainly; And (4) activate the required driver of this peripheral device according to the system break circuit found out, makes this driver be performed and handle the present disrupted condition that produces of this peripheral device.
Of the present inventionly comprise at least from the response processing system of ordering look-at-me: (a) look-at-me respond module, its can respond that this peripheral device produces each send an Interrupt Process active information from ordering look-at-me; (b) a look-at-me processing module, wherein be preset with one interrupt to set allocation list and this interruptions setting allocation list pre-defined have that a virtual bench corresponds to that this peripheral device produces order look-at-me certainly, and the while pre-defined have that this peripheral device produces order the pairing system break circuit of look-at-me certainly; And this look-at-me processing module can respond Interrupt Process active information that this look-at-me respond module sends and from this interruption set find out allocation list that this peripheral device produces order the pairing system break circuit of look-at-me certainly; And (c) driver active module, the system break circuit that it can be found out according to this look-at-me processing module and activate the required driver of this peripheral device makes this driver be performed and handles the present disrupted condition that produces of this peripheral device by this system break circuit.
Characteristics from the response processing method of ordering look-at-me and system of the present invention are that a pre-defined virtual bench interrupts setting in the allocation list in one, what make that this virtual bench corresponds to that peripheral device produces orders look-at-me certainly, and simultaneously pre-defined each from ordering the pairing system break circuit of look-at-me.These characteristics can allow the interrupt handling routine in the computer platform needn't adopt the pci controller of hardware to carry out therefore can saving hardware cost from the configuration settings of ordering look-at-me under the APIC operator scheme.
Description of drawings
Fig. 1 is of the present invention from the application structure of the response processing system of ordering look-at-me and the basic structure of Object Oriented OO component model thereof;
Fig. 2 is the embodiment that allocation list is set in the interruption of adopting from the response processing system of ordering look-at-me of the present invention.
Embodiment
Embodiment
Below be conjunction with figs., describe in detail of the present invention from ordering the response processing method of look-at-me and the embodiment of system.
Fig. 1 promptly shows of the present invention from the application structure of the response processing system of ordering look-at-me (part that comprises as the frame of broken lines of label 100 indications) and the basic structure of Object Oriented OO component model (object-oriented component model) thereof.As shown in the figure, of the present invention is to carry to computer platform 10 in practical application from the response processing system 100 of ordering look-at-me, the computer platform of an employing multiprocessor (Multi-Processor) structure particularly, server for example, and this computer platform 10 disposes the programmable interruptable controller 20 of a particular form, it for example is APIC (Advanced Programmable InterruptController) the formula programmable interruptable controller of a standard, and and then dispose a peripheral component interconnect express 30, (Fig. 1 shows 3 peripheral devices 31 to be used to overlap one or more peripheral devices, 32,33; Number at practical application upper periphery device is also unrestricted).These peripheral devices 31,32,33 for example are and PCI (Peripheral Component Interconnect) or the compatible peripheral device of ISA (Industry StandardArchitecture), comprise external hard drive device, external optical disc apparatus, key board unit, mouse apparatus etc.
When practical operation, the look-at-me (user-defined interrupt signals) of ordering certainly that can send respectively each peripheral device 31,32,33 of these computer platform 10 overlap joints from the response processing system 100 of ordering look-at-me of the present invention provides a response processing capacity, find out each whereby from ordering the pairing system break circuit of look-at-me IRQ, make the CPU (central processing unit) 11 of this computer platform 10 can carry out 31,32,33 corresponding respectively drivers 41,42,43 of each peripheral device.
As shown in Figure 1, the Object Oriented OO component model (object-oriented component model) of software configuration from the response processing system 100 of ordering look-at-me of the present invention comprises at least: (a) the look-at-me respond module 110; (b) the look-at-me processing module 120; And (c) driver active module 130.On concrete enforcement, certainly the response processing system 100 of ordering look-at-me of the present invention can realize with computer program fully, this computer program for example can be incorporated into the operating system (operatingsystem of this computer platform 10 in the mode of an add-on module (add-on module), OS) in, CPU (central processing unit) 11 by this computer platform 10 is carried out this program, provides the required look-at-me of ordering certainly to respond processing capacity.
Look-at-me respond module 110 can this programmable interruptable controller 20 receive that any peripheral device (31,32 or 33) sends order look-at-me certainly the time, responsively send an Interrupt Process active information to look-at-me processing module 120.
Be preset with one in the look-at-me processing module 120 and interrupt set allocation list 121 and this interruptions and set and pre-definedly in the allocation list 121 have a virtual bench to correspond to each peripheral device 31,32,33 to order look-at-me certainly by what the user set in advance, and the while pre-defined each peripheral device 31,32,33 generations are arranged order the pairing system break circuit of look-at-me IRQ certainly.When practical operation, this look-at-me processing module 120 can respond the Interrupt Process active information that above-mentioned look-at-me respond module 110 is sent, from this interruption set find out allocation list 121 that this peripheral device 31 produces order the pairing system break circuit of look-at-me IRQ certainly, just should interrupt setting the pairing system break circuit of the virtual bench IRQ of definition in the allocation list 121.On concrete enforcement, interruption setting allocation list 121 is multiprocessor (Multi-Processor, MP) allocation list or ACPI (the Advanced Configuration and Power Interface) allocation lists in BIOS (the Basic Input/Output System) system 12 that is based upon this computer platform 10.Fig. 2 shows that promptly interruption setting allocation list 121 is based upon an embodiment of MP allocation list, wherein Source_BUS_ID and Source_BUS_IRQ promptly are used to define a virtual bench, and Destination_IOAPIC_ID and Destination_IOAPIC_INTIN then define 20 corresponding look-at-mes of APIC programmable interruptable controller.
The system break circuit IRQ that driver active module 130 can be found out according to above-mentioned look-at-me processing module 120, activation is sent from the required driver (41,42 or 43) of peripheral device (31,32 or 33) of ordering look-at-me, make this driver (41,42 or 43) bring into operation, and handle the disrupted condition of sending from the present generation of the peripheral device (31,32 or 33) of ordering look-at-me by this system break circuit IRQ.
In following application example, suppose that peripheral device 31 is external hard drive modules, and this external hard drive module is by the hot plug mode, the peripheral component interconnect express 30 that is connected to this computer platform 10 sends one from ordering look-at-me.
Certainly the response processing method implementation procedure of ordering look-at-me of the present invention is: default one interrupts setting allocation list 121, wherein pre-defined have that a virtual bench corresponds to that this peripheral device 31 produced order look-at-me certainly, and simultaneously pre-defined have that this peripheral device 31 produced order the pairing system break circuit of look-at-me IRQ certainly; When practical operation, each that responds that this peripheral device 31 produces sends an Interrupt Process active information from ordering look-at-me; Respond this Interrupt Process active information, from this interruption set find out allocation list 121 that this peripheral device 31 produces order the pairing system break circuit of look-at-me IRQ certainly; And, activate the required driver 41 of this peripheral device 31 according to the system break circuit IRQ that finds out, and make this driver 41 bring into operation, handle this peripheral device 31 present disrupted condition that produce.
Under above-mentioned condition, peripheral device 31 sends orders look-at-me certainly and promptly can at first send programmable interruptable controller 20 to, make the look-at-me respond module 110 in the response processing system 100 of ordering look-at-me of the present invention responsively detect this situation, and send an Interrupt Process active information and give look-at-me processing module 120, what make that look-at-me processing module 120 finds out from interrupt to set allocation list 121 responsively that this peripheral device 31 produces orders the pairing system break circuit of look-at-me IRQ certainly, just should interrupt setting the system break circuit IRQ of defined virtual bench correspondence in the allocation list 121.The system break circuit IRQ that look-at-me processing module 120 is found out, can make driver active module 130 activate the driver 41 of these peripheral device 31 correspondences, make this driver 41 bring into operation, and handle the disrupted condition that this peripheral device 31 produces at present by this system break circuit IRQ.
Generally speaking, the invention provides a kind of response processing method of ordering look-at-me certainly and system of novelty, be applied in computer platform and this computer platform and be equipped with a programmable interruptable controller, the peripheral device that this computer platform is overlapped provides one from ordering look-at-me response processing capacity; Its characteristics are in advance to interrupt setting definition one virtual bench in the allocation list one, and what make that this virtual bench corresponds to that peripheral device produces orders look-at-me certainly, and simultaneously pre-defined each from ordering the pairing system break circuit of look-at-me IRQ.These characteristics can allow the interrupt handling routine in the computer platform needn't adopt the pci controller of hardware, carry out therefore can saving hardware cost from the configuration settings of ordering look-at-me under the APIC operator scheme.
Claims (10)
1. one kind from ordering the response processing method of look-at-me, be applied in a computer platform and this computer platform and be overlapped with a programmable interruptable controller and at least one peripheral device, the look-at-me of ordering certainly that this peripheral device is sent provides a response processing capacity, it is characterized in that this response processing method of ordering look-at-me certainly comprises at least:
Default one interrupts setting allocation list, wherein pre-defined have that a virtual bench corresponds to that this peripheral device produces order look-at-me certainly, and simultaneously pre-defined have that this peripheral device produces order the pairing system break circuit of look-at-me certainly;
When practical operation,
Each that responds that this peripheral device produces sends an Interrupt Process active information from ordering look-at-me;
Respond this Interrupt Process active information, from this interruption set find out allocation list that this peripheral device produces order the pairing system break circuit of look-at-me certainly; And
System break circuit according to finding out activates the required driver of this peripheral device, makes this driver bring into operation, and handles the present disrupted condition that produces of this peripheral device.
2. as claimed in claim 1ly it is characterized in that this interruptions setting allocation list is the multiprocessor allocation list that is based upon in the ROM-BIOS of this computer platform from ordering the response processing method of look-at-me.
3. as claimed in claim 1ly it is characterized in that this interruptions setting allocation list is the ACPI allocation list that is based upon in the ROM-BIOS of this computer platform from ordering the response processing method of look-at-me.
4. as claimed in claim 1 from the response processing method of ordering look-at-me, it is characterized in that this peripheral device is the peripheral device of a compatible with PCI.
5. as claimed in claim 1 from the response processing method of ordering look-at-me, it is characterized in that this peripheral device is the peripheral device of a compatible ISA.
6. one kind from ordering the response processing system of look-at-me, collocation to one computer platform and this computer platform are overlapped with a programmable interruptable controller and at least one peripheral device, the look-at-me of ordering certainly that this peripheral device is sent provides a response processing capacity, it is characterized in that this response processing system of ordering look-at-me certainly comprises at least:
One look-at-me respond module, each that can respond that this peripheral device produces sends an Interrupt Process active information from ordering look-at-me;
One look-at-me processing module, wherein be preset with one interrupt to set allocation list and this interruptions set allocation list pre-defined have that a virtual bench corresponds to that this peripheral device produces order look-at-me certainly, and the while pre-defined this peripheral device generation arranged order the pairing system break circuit of look-at-me certainly; And this look-at-me processing module can respond the Interrupt Process active information that this look-at-me respond module is sent, from this interruption set find out allocation list that this peripheral device produces order the pairing system break circuit of look-at-me certainly; And
One driver active module, the system break circuit that can find out according to this look-at-me processing module, activate the required driver of this peripheral device, make this driver bring into operation and handle the present disrupted condition that produces of this peripheral device by this system break circuit.
7. as claimed in claim 6ly it is characterized in that this interruptions setting allocation list is the multiprocessor allocation list that is based upon in the ROM-BIOS of this computer platform from ordering the response processing system of look-at-me.
8. as claimed in claim 6ly it is characterized in that this interruptions setting allocation list is the ACPI allocation list that is based upon in the ROM-BIOS of this computer platform from ordering the response processing system of look-at-me.
9. as claimed in claim 6 from the response processing system of ordering look-at-me, it is characterized in that this peripheral device is the peripheral device of a compatible with PCI.
10. as claimed in claim 6 from the response processing system of ordering look-at-me, it is characterized in that this peripheral device is the peripheral device of a compatible ISA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510059835 CN1841351A (en) | 2005-03-31 | 2005-03-31 | Response processing method and system for user-defined interrupt signals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510059835 CN1841351A (en) | 2005-03-31 | 2005-03-31 | Response processing method and system for user-defined interrupt signals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1841351A true CN1841351A (en) | 2006-10-04 |
Family
ID=37030388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510059835 Pending CN1841351A (en) | 2005-03-31 | 2005-03-31 | Response processing method and system for user-defined interrupt signals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1841351A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201764B (en) * | 2006-12-15 | 2010-09-29 | 鸿富锦精密工业(深圳)有限公司 | Method for restoring embedded system |
CN101526929B (en) * | 2008-03-07 | 2012-08-29 | 深圳迈瑞生物医疗电子股份有限公司 | Integrated-equipment driving system and application method thereof |
-
2005
- 2005-03-31 CN CN 200510059835 patent/CN1841351A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201764B (en) * | 2006-12-15 | 2010-09-29 | 鸿富锦精密工业(深圳)有限公司 | Method for restoring embedded system |
CN101526929B (en) * | 2008-03-07 | 2012-08-29 | 深圳迈瑞生物医疗电子股份有限公司 | Integrated-equipment driving system and application method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6004608B2 (en) | Method, apparatus, and computer program for virtualizing host USB adapter (virtualization of host USB adapter) | |
US7546409B2 (en) | Deferring peripheral traffic with sideband control | |
KR100977662B1 (en) | Two-level interrupt service routine | |
CN100447770C (en) | Hot plug-pull control system and method | |
CN101211323B (en) | Hardware interruption processing method and processing unit | |
CN1869959A (en) | System for multi-user sharing internal and external storage of computer | |
TWI668574B (en) | Computing apparatus, system-on-chip and method of quality of service ordinal modification | |
CN103279441B (en) | A kind of USB based on domestic embedded OS turns CF/SD driving methods | |
US7793024B2 (en) | Method for utilizing a PCI-Express bus to communicate between system chips | |
CN100361104C (en) | User-defined interrupt signal response processing method and system under interrupt share mechanism | |
CN1841351A (en) | Response processing method and system for user-defined interrupt signals | |
US7200700B2 (en) | Shared-IRQ user defined interrupt signal handling method and system | |
CN110175139B (en) | Universal debugging method for USB (Universal Serial bus) equipment and USB equipment | |
CN2528080Y (en) | Chip group and controller for supporting information signal interruption | |
JP2013045163A (en) | Computer system, information processing system, virtual media method, and program | |
CN100498721C (en) | Method and system for controlling cell data write-in of computer platform host | |
CN1508676A (en) | Computer chip data write-in device and method | |
Ugah et al. | Relationship between Operating System, Computer Hardware, Application Software and Other Software | |
US20060265536A1 (en) | User-defined interrupt signal handling method and system | |
CN1251061C (en) | Method and device for realizing in situ operation of operator reflected by trustable computing platform | |
CN1763697A (en) | Online switching interface for multitask type computer peripheral equipment | |
JP2003233403A (en) | Control apparatus and programming apparatus | |
CN1707455A (en) | Method for conducting information flow exchange by two electronic device under USB structure and system for applying the same method | |
KR101122560B1 (en) | Optical recording medium recognized portable apparatus and its handling method, its connected computing apparatus and its internet service offering method | |
Jingyuan et al. | Algorithm design of CPCI backboard's interrupts management based on VxWorks' multi-tasks |
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 |