[go: up one dir, main page]

CN100361104C - Self-defined interrupt signal response processing method and system under interrupt sharing mechanism - Google Patents

Self-defined interrupt signal response processing method and system under interrupt sharing mechanism Download PDF

Info

Publication number
CN100361104C
CN100361104C CNB200510063284XA CN200510063284A CN100361104C CN 100361104 C CN100361104 C CN 100361104C CN B200510063284X A CNB200510063284X A CN B200510063284XA CN 200510063284 A CN200510063284 A CN 200510063284A CN 100361104 C CN100361104 C CN 100361104C
Authority
CN
China
Prior art keywords
interrupt
self
connection interface
peripheral
peripheral connection
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.)
Expired - Fee Related
Application number
CNB200510063284XA
Other languages
Chinese (zh)
Other versions
CN1845086A (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.)
Pizhou Xinhua Electronic Technology Co Ltd
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 CNB200510063284XA priority Critical patent/CN100361104C/en
Publication of CN1845086A publication Critical patent/CN1845086A/en
Application granted granted Critical
Publication of CN100361104C publication Critical patent/CN100361104C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Digital Computer Display Output (AREA)

Abstract

A self-defined interrupt signal response processing method and system under the interrupt sharing mechanism, the system includes the self-defined interrupt signal response module, self-defined interrupt signal processing module and driver activation module at least; the invention is applied to a computer platform and provides a response processing function for the self-set interrupt signal sent by the self-set interrupt peripheral connection interface; it predefines an interrupt configuration table, and the interrupt configuration table predefines a virtual device corresponding to the self-defined interrupt peripheral connection interface, and also predefines which peripheral device overlapped by the self-defined interrupt peripheral connection interface and the peripheral device overlapped by the non-self-defined interrupt peripheral connection interface share the same system interrupt line; the characteristic makes the peripheral connection interface of self-set interrupt signal and non-self-set interrupt share the system interrupt circuit on the computer platform without increasing the complexity of program design.

Description

Interrupt making look-at-me response processing method and system by oneself under the shared mechanism
Technical field
The invention relates to a kind of computer information technology, particularly make look-at-me response processing method and system by oneself under the shared mechanism about a kind of the interruption, it is arranged in pairs or groups to computer platform, and this computer platform is equipped with the programmable interruptable controller, make the peripheral component interconnect express and the non-peripheral component interconnect express of making interruption by oneself of interruption by oneself, PCI (Peripheral ComponentInterconnect) peripheral component interconnect express is for example made by oneself this under the interruption shared mechanism of this computer platform and is interrupted the look-at-me (user-defined interrupt signals) of making by oneself that peripheral component interconnect express sends the response processing capacity is provided.
Background technology
The host circuit of computer platform all adopts look-at-me (interrupts) allow each peripheral device basically, for example hard disk unit, optical disc apparatus, key board unit, mouse apparatus etc., when needs carry out exchanges data with central processing unit, send interrupt request information and interrupt the work that central processing unit is carried out at present, allow central processing unit transfer to carry out the exchanges data action that the required driver of peripheral device carries out the peripheral device request.
PIC (Programmable Interrupt Controller) is a kind of programmable interruptable controller that Intel company (Intel) develops for personal computer, provide the interrupt control function of programmable to the host circuit of personal computer, give each peripheral device with programmable mode appointing system disrupted circuit IRQ; IO-APIC (I/O Advanced Programmable InterruptController) then is the programmable interruptable controller a kind of novel and with better function that Intel company develops, and is specially adapted to provide in the computer motherboard (for example mainboard of server) at multiprocessor (Multi-Processor) the look-at-me processing capacity of multitask.
In practical application, when the IO-APIC chip uses traditional PIC operator scheme, its practice normally is connected to PCI (PeripheralComponent Interconnect) controller with the IRQ system break circuit of computer platform, and make this pci controller receive that peripheral device sends make look-at-me by oneself the time, produce corresponding PCI look-at-me (PCI interrupt), even CPU (central processing unit) responds this PCI look-at-me, activate and carry out corresponding driver by predetermined system break circuit IRQ.In addition, when using advanced APIC operator scheme, the configuration of its look-at-me then needs pre-defined BIOS at computer platform (BasicInput/Output System, BIOS) multiprocessor in (Multi-Processor, MP) allocation list or ACPI (Advanced Configuration and Power Interface) allocation list.
In the practical application, make look-at-me and PCI look-at-me by oneself under the PIC operator scheme during shared system disrupted circuit IRQ, because BIOS dynamically appointing system disrupted circuit IRQ gives the PCI peripheral device, therefore can make the driver of making look-at-me by oneself can't ask system break circuit IRQ.Therefore at present the multiprocessor host circuit board in the server all is independently to use making look-at-me by oneself, not with the peripheral device shared system disrupted circuit IRQ of other type.But the shortcoming of this way is that BIOS must make interrupt module by oneself at each and find out system break circuit IRQ fixing, that be not used, therefore can make relevant bios program design become comparatively complicated, difficult.
Summary of the invention
For overcoming the shortcoming of above-mentioned prior art, fundamental purpose of the present invention is to provide a kind of the interruption to make look-at-me response processing method and system by oneself under the shared mechanism, allow make by oneself look-at-me and the non-peripheral component interconnect express of making interruption by oneself in the computer platform share system break circuit IRQ on the computer platform, just can provide the response processing capacity, can not make the bios program design complicated, difficult more in the look-at-me of making by oneself of interrupting under the shared mechanism peripheral component interconnect express of making interruption by oneself being sent.
Under the interruption shared mechanism of the present invention make the look-at-me response processing method by oneself and system arranges in pairs or groups to computer platform, and this computer platform is equipped with the programmable interruptable controller, makes the peripheral component interconnect express and the non-peripheral component interconnect express of making interruption by oneself of interruption by oneself, PCI (Peripheral Component Interconnect) formula peripheral component interconnect express is for example made by oneself this under the interruption shared mechanism of this computer platform and is interrupted the look-at-me (user-defined interrupt signals) of making by oneself that peripheral component interconnect express sends the response processing capacity is provided.
The look-at-me response processing method of making by oneself under the interruption shared mechanism of the present invention comprises at least: the default setting allocation list that interrupts, and this interruption sets that allocation list is pre-defined to be had virtual bench to correspond to this to make the interruption peripheral component interconnect express by oneself, and simultaneously pre-definedly has this to make by oneself to interrupt each peripheral device that peripheral component interconnect express overlapped and should non-ly make which the shared same system disrupted circuit that interrupts in the peripheral device that peripheral component interconnect express overlapped by oneself; When practical operation, respond this and make each that interrupt that peripheral device that peripheral component interconnect express overlapped produces by oneself and make look-at-me by oneself, send the Interrupt Process active information; Respond this Interrupt Process active information, from this interruption setting allocation list, find out this and make look-at-me and this non-shared same system disrupted circuit of which peripheral device that interrupts in the peripheral component interconnect express of making by oneself by oneself; Find out system break circuit that the two is shared from this non-making by oneself the allocating cache device that interrupts under the peripheral component interconnect express; And, activate the required driver of this peripheral device whereby by this system break circuit execution interrupt action, carry out this driver and handle the disrupted condition that this peripheral device produces at present by this system break circuit.
The look-at-me response processing system of making by oneself under the interruption shared mechanism of the present invention comprises at least: make the look-at-me respond module by oneself, each that responds that this makes that peripheral device of interrupting the peripheral component interconnect express overlap joint produces by oneself made look-at-me by oneself, sends the Interrupt Process active information; Make the look-at-me processing module by oneself, wherein be preset with and interrupt setting allocation list, and this interruption sets that allocation list is pre-defined to be had virtual bench to correspond to this to make the interruption peripheral component interconnect express by oneself, and simultaneously pre-definedly has this to make by oneself to interrupt each peripheral device that peripheral component interconnect express overlapped and should non-ly make which the shared same system disrupted circuit that interrupts in the peripheral device that peripheral component interconnect express overlapped by oneself; And during practical operation, this is made the look-at-me processing module by oneself and responds this and make the Interrupt Process active information that the look-at-me respond module is sent by oneself, set from this interruption and to find out this allocation list and make look-at-me by oneself and should non-ly make which peripheral device that interrupts in the peripheral component interconnect express by oneself and share the same system disrupted circuit, and then find out the two shared system break circuit from this non-making by oneself the allocating cache device that interrupts under the peripheral component interconnect express; And driver active module, make the system break circuit that the look-at-me processing module is found out by oneself by this, activate the required driver of this peripheral device, carry out this driver and handle the present disrupted condition that produces of this peripheral device by this system break circuit.
In sum, allocation list is set in the pre-defined interruption of look-at-me response processing method and system of making by oneself under the interruption shared mechanism of the present invention, and this interruption sets that allocation list is pre-defined to be had virtual bench to correspond to this to make the interruption peripheral component interconnect express by oneself, and simultaneously pre-definedly has this to make by oneself to interrupt each peripheral device that peripheral component interconnect express overlapped and should non-ly make which the shared same system disrupted circuit that interrupts in the peripheral device that peripheral component interconnect express overlapped by oneself; During practical operation, this is made the look-at-me processing module by oneself and promptly responds this and make the Interrupt Process active information that the look-at-me respond module is sent by oneself, set from this interruption and to find out this allocation list and make look-at-me by oneself and should non-ly make which peripheral device that interrupts in the peripheral component interconnect express by oneself and share the same system disrupted circuit, and then find out the two shared system break circuit from this non-making by oneself the allocating cache device that interrupts under the peripheral component interconnect express.The present invention allows make by oneself look-at-me and the non-peripheral component interconnect express of making interruption by oneself in the computer platform share system break circuit on this computer platform, can not increase the complicacy and the difficulty of program design.
Description of drawings
Fig. 1 is the application structure of making the look-at-me response processing system by oneself under the interruption shared mechanism of the present invention 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 making the employing of look-at-me response processing system by oneself under the interruption shared mechanism of the present invention.
Embodiment
Embodiment
Below be conjunction with figs., describe the embodiment that makes look-at-me response processing method and system by oneself under the interruption shared mechanism of the present invention in detail.
Fig. 1 is application structure and the Object Oriented OO component model (object-oriented component model) thereof of making look-at-me response processing system (part that comprises as label 100 frame of broken lines) by oneself under the interruption shared mechanism of the present invention.As shown in the figure, making by oneself in 100 practical applications of look-at-me response processing system under the interruption shared mechanism of the present invention is to carry to computer platform 10, particularly adopt the computer platform of multiprocessor (Multi-Processor) structure, server for example, and this computer platform 10 disposes the programmable interruptable controller 20 of specific model, for example is standardized APIC (Advanced ProgrammableInterrupt Controller) the programmable interruptable controller of Intel company's research and development.In addition, this computer platform 10 also disposes the non-peripheral component interconnect express 40 of making the peripheral component interconnect express 30 of interruption by oneself and making interruption by oneself, this non-peripheral component interconnect express 30 of making interruption by oneself peripheral component interconnect express 30 that for example is PCI (Peripheral ComponentInterconnect) wherein, overlap joint to one or more PCI peripheral devices (show 3 peripheral devices 31,32,33 in Fig. 1; In practical application, the number of these PCI peripheral devices is also unrestricted); These peripheral component interconnect express 40 overlap joints to one or more peripheral devices of making interruption by oneself of making interruption by oneself (show 2 peripheral devices 41,42 that can make interruption by oneself in Fig. 1; But in the practical application, it is also unrestricted that these can make the number that interrupts peripheral device by oneself).These peripheral devices 31,32,33,41,42 for example are external hard drive device, external optical disc apparatus, the network printer, network connection device etc.In addition, this computer platform 10 is also installed its corresponding driver 51,52,53,54,55 at each PCI peripheral device 31,32,33 and each peripheral device 41,42 that can make interruption by oneself respectively in advance.
During practical operation, the look-at-me response processing system 100 of making by oneself under the interruption shared mechanism of the present invention promptly allows the peripheral device 41 of each made by oneself interruption of overlap joint on this computer platform 10,42 send make the PCI peripheral device 31 that look-at-me (user-defined interrupt signals) and PCI peripheral component interconnect express 30 of should be non-making interruption by oneself overlap by oneself, 32,33 share the system break circuit IRQ on this computer platform 10, just to the peripheral device 41 of each made by oneself interruptions of this computer platform 10 overlap joints, 42 look-at-mes of sending respectively of making by oneself provide the response processing capacity, find out each whereby and make the pairing system break circuit of look-at-me IRQ by oneself, make the CPU (central processing unit) 11 of this computer platform 10 activate and carry out each peripheral device that can make interruption by oneself 41 by this system break circuit IRQ, 42 corresponding respectively drivers 54,55.
As shown in Figure 1, the Object Oriented OO component model (object-oriented componentmodel) of the inner structure of making look-at-me response processing system 100 by oneself under the interruption shared mechanism of the present invention comprises at least: (a) make look-at-me respond module 110 by oneself; (b) make look-at-me processing module 120 by oneself; And (c) driver active module 130.During concrete enforcement, making look-at-me response processing system 100 by oneself and can realize with computer program fully under this interruption shared mechanism, and this computer program for example is integrated into operating system (operating system in this computer platform 10 in add-on module (add-on module) mode, OS), and carry out, thereby provide the required look-at-me response processing capacity of making by oneself by the CPU (central processing unit) 11 of this computer platform 10.
Make by oneself look-at-me respond module 110 this programmable interruptable controller 20 receive that any peripheral device that can make interruption by oneself 41,42 sends make look-at-me by oneself the time, responsively send the Interrupt Process active information to making look-at-me processing module 120 by oneself.
Make by oneself to be preset with in the look-at-me processing module 120 and interrupt setting allocation list 121, and this interruption is set, and allocation list 121 is pre-defined a virtual bench (virtual device), this virtual bench corresponds to this and makes by oneself and interrupt peripheral component interconnect express 40, and simultaneously pre-defined this made the shared same system disrupted circuit IRQ of which peripheral device (31,32 or 33) that interrupts in each peripheral device 41,42 that peripheral component interconnect express 40 connected and this non-PCI peripheral component interconnect express 30 of making interruption by oneself by oneself.During practical operation, this makes look-at-me processing module 120 by oneself and promptly responds the above-mentioned Interrupt Process active information that look-at-me respond module 110 is sent of making by oneself, set to find out which peripheral device (31 in look-at-me and this non-PCI peripheral component interconnect express 30 of making interruption by oneself made by oneself that receives at present allocation list 121 from this interruption, 32, or 33) share same system disrupted circuit IRQ, and then find out the system break circuit IRQ that this is shared the PCI allocating cache device (PCI Configuration Register) 13 under this non-PCI peripheral component interconnect express 30 of making interruption by oneself.During concrete enforcement, it for example is multiprocessor (Multi-Processor, MP) allocation list or ACPI (the Advanced Configuration and Power Interface) allocation list that is based upon in the BIOS system program 12 of this computer platform 10 that allocation list 121 is set in this interruption.Fig. 2 interrupts setting the embodiment that allocation list 121 is based upon the MP allocation list, wherein Source_BUS_ID and Source_BUS_IRQ are used for the defining virtual device, and Destination_IOAPIC_ID and Destination_IOAPIC_INTIN then define APIC programmable interruptable controller 20 pairing look-at-mes.
Driver active module 130 is made the system break circuit IRQ that look-at-me processing module 120 is found out by oneself by above-mentioned, activate this and send the required driver (54 or 55) of peripheral device (41 or 42) of making look-at-me by oneself, carry out this driver (54 or 55) and handle the disrupted condition that this sends the present generation of peripheral device (41 or 42) of making look-at-me by oneself.
In following application example, suppose that peripheral device 41 is external hard drive modules, and this external connected hand disk module is connected to making by oneself of this computer platform 10 by the hot plug mode and interrupts peripheral component interconnect express 40 and send and make look-at-me by oneself.
Under above-mentioned condition, peripheral device 41 sends makes look-at-me by oneself and promptly can at first be sent to programmable interruptable controller 20, make making by oneself under the interruption shared mechanism of the present invention make look-at-me respond module 110 by oneself in the look-at-me response processing system 100, responsively detect this situation and send the Interrupt Process active information to making look-at-me processing module 120 by oneself, order is made look-at-me processing module 120 by oneself and is responsively set which peripheral device (31 of finding out the allocation list 121 in this peripheral device 41 and this PCI peripheral component interconnect express 30 from this interruption, 32, or 33) share the same system disrupted circuit, and then find out the system break circuit IRQ that this is shared the PCI allocating cache device 13 under this PCI peripheral component interconnect express 30.
Under the PIC operator scheme, make look-at-me processing module 120 by oneself and for example will carry out following steps:
(S1) from the MP allocation list, check which virtual bench and this make look-at-me by oneself and share identical APIC_ID and APIC_INTIN;
(S2) check BUS and the Device numbering that this virtual bench uses;
(S3) check allocating cache device 13, find out the employed system break circuit of this virtual bench IRQ;
(S4) utilize this system break circuit IRQ to carry out interrupt action.
Otherwise, under APIC or ACPI operator scheme, make look-at-me processing module 120 by oneself and for example will carry out following steps:
(S1) from the MP allocation list, check the IRQ configuration on each IO-APIC;
(S2) check APIC_ID and the APCI_INTIN that the virtual bench in this MP allocation list uses;
(S3) appointing system disrupted circuit IRQ gives this virtual bench;
(S4) read the APIC state;
(S5) determine spendable system break circuit IRQ under the present APIC state;
(S6) utilize this system break circuit IRQ to carry out interrupt action.
Make the system break circuit IRQ that look-at-me processing module 120 is found out by oneself, can make driver active module 130 carry out interrupt action by it, activate this peripheral device 41 pairing drivers 54 whereby, make this driver 54 be performed and handle the disrupted condition that this peripheral device 41 produces at present by this system break circuit IRQ.
The implementation procedure of making the look-at-me disposal route by oneself under the interruption shared mechanism of the present invention is: the default setting allocation list 121 that interrupts, and this interruption sets that allocation list 121 is pre-defined to be had virtual bench to correspond to this to make by oneself and interrupt peripheral component interconnect express 40, and simultaneously pre-definedly has this to make by oneself to interrupt each peripheral device that peripheral component interconnect express 40 overlapped and should non-ly make which the shared same system disrupted circuit IRQ that interrupts in the peripheral device that peripheral component interconnect express 30 overlapped by oneself;
When practical operation, respond this and make each that interrupt that peripheral device that peripheral component interconnect express 40 overlapped produces by oneself and make look-at-me by oneself, send the Interrupt Process active information;
Respond this Interrupt Process active information, from this interruption setting allocation list 121, find out this and make look-at-me and this non-shared same system disrupted circuit of which peripheral device that interrupts in the peripheral component interconnect express of making by oneself by oneself;
Find out system break circuit that the two is shared from this non-making by oneself the allocating cache device that interrupts under the peripheral component interconnect express 30; And
Carry out interrupt action by this system break circuit, activate the required driver of this peripheral device whereby, carry out this driver and handle the disrupted condition that this peripheral device produces at present by this system break circuit.
Generally speaking, the invention provides and make look-at-me response processing method and system by oneself under a kind of interruption shared mechanism of novelty, arrange in pairs or groups to computer platform, allow making look-at-me by oneself and can share system break circuit IRQ on this computer platform on this computer platform with the non-peripheral component interconnect express of making interruption by oneself; And its characteristics are pre-defined interruption setting allocation list, and this interruption sets that allocation list is pre-defined to be had virtual bench to correspond to this to make the interruption peripheral component interconnect express by oneself, and simultaneously pre-definedly has this to make each peripheral device that interrupts the peripheral component interconnect express overlap joint and which the shared same system disrupted circuit that should non-ly make by oneself in the peripheral device that interrupts the peripheral component interconnect express overlap joint by oneself.The present invention can allow make by oneself look-at-me and the non-peripheral component interconnect express of making interruption by oneself in the computer platform share system break circuit IRQ on this computer platform, can not make the bios program design become complicated, difficult more, so the present invention have better progressive and practicality than prior art.

Claims (10)

1.一种中断共享机制下的自定中断信号响应处理方法,应用在计算机平台,且该计算机平台搭载有可程序化中断控制器、非自定中断周边连接接口和自定中断周边连接接口,且该非自定中断周边连接接口和该自定中断周边连接接口共享该计算机平台的系统中断线路,该中断共享机制下的自定中断信号响应处理方法对该自定中断周边连接接口搭接的周边装置发出的自定中断信号提供响应处理功能,其特征在于,该中断共享机制下的自定中断信号响应处理方法至少包括:1. A self-defined interrupt signal response processing method under an interrupt sharing mechanism, which is applied to a computer platform, and the computer platform is equipped with a programmable interrupt controller, a non-self-defined interrupt peripheral connection interface and a self-defined interrupt peripheral connection interface, And the non-self-defined interrupt peripheral connection interface and the self-defined interrupt peripheral connection interface share the system interrupt line of the computer platform, the self-defined interrupt signal response processing method under the interrupt sharing mechanism overlaps the self-defined interrupt peripheral connection interface The self-defined interrupt signal sent by the peripheral device provides a response processing function, and it is characterized in that the self-defined interrupt signal response processing method under the interrupt sharing mechanism at least includes: 预设中断设定配置表,且该中断设定配置表预先定义有虚拟装置对应至该自定中断周边连接接口,并同时预先定义有该自定中断周边连接接口所搭接的各个周边装置与该非自定中断周边连接接口所搭接的周边装置中的哪一个共享同一系统中断线路;A preset interrupt setting configuration table, and the interrupt setting configuration table pre-defines virtual devices corresponding to the self-defined interrupt peripheral connection interface, and at the same time pre-defines each peripheral device that is lapped by the custom interrupt peripheral connection interface and Which one of the peripheral devices bonded to the non-self-defined interrupt peripheral connection interface shares the same system interrupt line; 在实际操作时,响应该自定中断周边连接接口所搭接的周边装置产生的各个自定中断信号,发出中断处理激活信息;In actual operation, in response to each of the self-defined interrupt signals generated by the peripheral devices connected to the self-defined interrupt peripheral connection interface, an interrupt processing activation message is sent; 响应该中断处理激活信息,从该中断设定配置表中找出该自定中断信号与该非自定中断周边连接接口所搭接的哪一个周边装置共享同一系统中断线路;Responding to the interrupt processing activation information, find out from the interrupt setting configuration table which peripheral device that the self-defined interrupt signal is connected to the non-self-defined interrupt peripheral connection interface shares the same system interrupt line; 从该非自定中断周边连接接口所属的配置缓存器中找出二者共享的系统中断线路;以及Finding the system interrupt line shared by both from the configuration register to which the non-custom interrupt peripheral connection interface belongs; and 通过该系统中断线路执行中断动作,借此激活该自定中断周边连接接口所搭接的周边装置所需的驱动程序,执行该驱动程序且通过该系统中断线路处理该自定中断周边连接接口所搭接的周边装置目前产生的中断状况。Executing the interrupt action through the system interrupt line, thereby activating the driver program required by the peripheral device bonded by the self-defined interrupt peripheral connection interface, executing the driver program and processing the self-defined interrupt peripheral connection interface through the system interrupt line. The interrupt condition currently generated by the bonded peripheral. 2.如权利要求1所述的中断共享机制下的自定中断信号响应处理方法,其特征在于,该可程序化中断控制器为APIC可程序化中断控制器。2. The self-defined interrupt signal response processing method under the interrupt sharing mechanism according to claim 1, wherein the programmable interrupt controller is an APIC programmable interrupt controller. 3.如权利要求1所述的中断共享机制下的自定中断信号响应处理方法,其特征在于,该中断设定配置表是建立在该计算机平台的基本输出入系统中的多处理器配置表。3. The self-determined interrupt signal response processing method under the interrupt sharing mechanism as claimed in claim 1, wherein the interrupt setting configuration table is a multiprocessor configuration table built in the basic input/output system of the computer platform . 4.如权利要求1所述的中断共享机制下的自定中断信号响应处理方法,其特征在于,该中断设定配置表是建立在该计算机平台的基本输出入系统中的ACPI配置表。4. The self-defined interrupt signal response processing method under the interrupt sharing mechanism as claimed in claim 1, wherein the interrupt setting configuration table is an ACPI configuration table established in the basic input/output system of the computer platform. 5.如权利要求1所述的中断共享机制下的自定中断信号响应处理方法,其特征在于,该非自定中断周边连接接口是PCI连接接口。5. The method for processing a response to a self-defined interrupt signal under an interrupt sharing mechanism as claimed in claim 1, wherein the non-self-defined interrupt peripheral connection interface is a PCI connection interface. 6.一种中断共享机制下的自定中断信号响应处理系统,搭配至计算机平台,且该计算机平台搭载有可程序化中断控制器、非自定中断周边连接接口和自定中断周边连接接口,且该非自定中断周边连接接口和该自定中断周边连接接口共享该计算机平台的系统中断线路,该中断共享机制下的自定中断信号响应处理系统对该自定中断周边连接接口搭接的周边装置发出的自定中断信号提供响应处理功能,其特征在于,该中断共享机制下的自定中断信号响应处理系统至少包括:6. A self-defined interrupt signal response processing system under the interrupt sharing mechanism, which is matched to a computer platform, and the computer platform is equipped with a programmable interrupt controller, a non-self-defined interrupt peripheral connection interface and a self-defined interrupt peripheral connection interface, And the non-self-defined interrupt peripheral connection interface and the self-defined interrupt peripheral connection interface share the system interrupt line of the computer platform, and the self-defined interrupt signal response processing system under the interrupt sharing mechanism overlaps the self-defined interrupt peripheral connection interface. The self-defined interrupt signal sent by the peripheral device provides a response processing function, and it is characterized in that the self-defined interrupt signal response processing system under the interrupt sharing mechanism includes at least: 自定中断信号响应模块,响应该自定中断周边连接接口搭接的周边装置产生的各个自定中断信号,发出中断处理激活信息;The self-defined interrupt signal response module responds to each of the self-defined interrupt signals generated by the peripheral devices overlapped by the self-defined interrupt peripheral connection interface, and sends interrupt processing activation information; 自定中断信号处理模块,其中预设有中断设定配置表,且该中断设定配置表预先定义有虚拟装置对应至该自定中断周边连接接口,并同时预先定义有该自定中断周边连接接口所搭接的各个周边装置与该非自定中断周边连接接口所搭接的周边装置中的哪一个共享同一系统中断线路;且实际操作时,该自定中断信号处理模块响应该自定中断信号响应模块发出的中断处理激活信息,从该中断设定配置表中找出该自定中断信号与该非自定中断周边连接接口所搭接的哪个周边装置共享同一系统中断线路,并接着从该非自定中断周边连接接口所属的配置缓存器中找出二者共享的系统中断线路;以及The self-defined interrupt signal processing module is preset with an interrupt setting configuration table, and the interrupt setting configuration table pre-defines a virtual device corresponding to the self-defined interrupt peripheral connection interface, and at the same time pre-defines the self-defined interrupt peripheral connection Each peripheral device connected to the interface and which one of the peripheral devices connected to the non-self-defined interrupt peripheral connection interface share the same system interrupt line; and in actual operation, the self-defined interrupt signal processing module responds to the self-defined interrupt The signal responds to the interrupt processing activation information sent by the module, finds out from the interrupt setting configuration table which peripheral device the self-defined interrupt signal and the non-self-defined interrupt peripheral connection interface are connected to share the same system interrupt line, and then from find the system interrupt line shared by the two non-custom interrupt peripheral connection interface in the configuration register; and 驱动程序激活模块,通过该自定中断信号处理模块找出的系统中断线路,激活该自定中断周边连接接口所搭接的周边装置所需的驱动程序,执行该驱动程序且通过该系统中断线路处理该自定中断周边连接接口所搭接的周边装置目前所产生的中断状况。The driver activation module activates the driver program required by the peripheral device connected to the self-defined interrupt peripheral connection interface through the system interrupt line found by the self-defined interrupt signal processing module, executes the driver program and passes the system interrupt line Handling the current interrupt status of the peripheral device connected to the self-defined interrupt peripheral connection interface. 7.如权利要求6所述的中断共享机制下的自定中断信号响应处理系统,其特征在于,该可程序化中断控制器为APIC可程序化中断控制器。7. The self-defined interrupt signal response processing system under the interrupt sharing mechanism according to claim 6, wherein the programmable interrupt controller is an APIC programmable interrupt controller. 8.如权利要求6所述的中断共享机制下的自定中断信号响应处理系统,其特征在于,该中断设定配置表是建立在该计算机平台的基本输出入系统中的多处理器配置表。8. The self-determined interrupt signal response processing system under the interrupt sharing mechanism as claimed in claim 6, wherein the interrupt setting configuration table is a multiprocessor configuration table built in the basic input/output system of the computer platform . 9.如权利要求6所述的中断共享机制下的自定中断信号响应处理系统,其特征在于,该中断设定配置表是建立在该计算机平台的基本输出入系统中的ACPI配置表。9. The self-defined interrupt signal response processing system under the interrupt sharing mechanism as claimed in claim 6, wherein the interrupt setting configuration table is an ACPI configuration table established in the basic input/output system of the computer platform. 10.如权利要求6所述的中断共享机制下的自定中断信号响应处理系统,其特征在于,该非自定中断周边连接接口为PCI连接接口。10. The self-defined interrupt signal response processing system under the interrupt sharing mechanism as claimed in claim 6, wherein the non-self-defined interrupt peripheral connection interface is a PCI connection interface.
CNB200510063284XA 2005-04-08 2005-04-08 Self-defined interrupt signal response processing method and system under interrupt sharing mechanism Expired - Fee Related CN100361104C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510063284XA CN100361104C (en) 2005-04-08 2005-04-08 Self-defined interrupt signal response processing method and system under interrupt sharing mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510063284XA CN100361104C (en) 2005-04-08 2005-04-08 Self-defined interrupt signal response processing method and system under interrupt sharing mechanism

Publications (2)

Publication Number Publication Date
CN1845086A CN1845086A (en) 2006-10-11
CN100361104C true CN100361104C (en) 2008-01-09

Family

ID=37064014

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510063284XA Expired - Fee Related CN100361104C (en) 2005-04-08 2005-04-08 Self-defined interrupt signal response processing method and system under interrupt sharing mechanism

Country Status (1)

Country Link
CN (1) CN100361104C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101201764B (en) * 2006-12-15 2010-09-29 鸿富锦精密工业(深圳)有限公司 Embedded System Recovery Methods
CN101211323B (en) * 2006-12-28 2011-06-22 联想(北京)有限公司 Hardware interruption processing method and processing unit
JP5076967B2 (en) * 2008-02-27 2012-11-21 富士通株式会社 Information processing system, information processing system control method, and information processing system control program
CN102043643B (en) * 2009-10-15 2013-10-16 英业达股份有限公司 How to install an interrupt event handler

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6006301A (en) * 1997-09-30 1999-12-21 Intel Corporation Multi-delivery scheme interrupt router
US20020161957A1 (en) * 2001-02-09 2002-10-31 Guillaume Comeau Methods and systems for handling interrupts
CN1484158A (en) * 2002-09-16 2004-03-24 华为技术有限公司 A Method for Realizing Interrupt Request Preprocessing
CN1540539A (en) * 2003-10-28 2004-10-27 威盛电子股份有限公司 Interrupt signal control system and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6006301A (en) * 1997-09-30 1999-12-21 Intel Corporation Multi-delivery scheme interrupt router
US20020161957A1 (en) * 2001-02-09 2002-10-31 Guillaume Comeau Methods and systems for handling interrupts
CN1484158A (en) * 2002-09-16 2004-03-24 华为技术有限公司 A Method for Realizing Interrupt Request Preprocessing
CN1540539A (en) * 2003-10-28 2004-10-27 威盛电子股份有限公司 Interrupt signal control system and control method

Also Published As

Publication number Publication date
CN1845086A (en) 2006-10-11

Similar Documents

Publication Publication Date Title
CN107278299B (en) Method, apparatus and system for implementing secondary bus functionality via a reconfigurable virtual switch
US7546409B2 (en) Deferring peripheral traffic with sideband control
JP6080984B2 (en) Utilize one interconnect protocol enumeration and / or configuration mechanism for different interconnect protocols
CN108604209B (en) flat port bridge
CN111581128A (en) Method for dynamically providing virtualization function in USB device through virtual USB center
US9026687B1 (en) Host based enumeration and configuration for computer expansion bus controllers
CN101364212B (en) Method and device for accessing memory unit
US20150199294A1 (en) Method and apparatus to facilitate system to system protocol exchange in back to back non-transparent bridges
TW200413889A (en) Mechanism for processor power state aware distribution of lowest priority interrupts
JPH04318654A (en) Redirection system for interruption to microprocessor
CN111061663B (en) Data transmission method, device and related components
CN104021047A (en) Virtual function distribution system, method and management host thereof
EP1449097B1 (en) Aggregation of hardware events in multi-node systems
CN109725621B (en) An online programming method of secondary bus program based on 1553B bus and CAN bus
US7793024B2 (en) Method for utilizing a PCI-Express bus to communicate between system chips
CN204117142U (en) Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host
CN100361104C (en) Self-defined interrupt signal response processing method and system under interrupt sharing mechanism
TW594489B (en) Apparatus and method for monitoring computer system resources
TW200303471A (en) SMBus notifications
CN112612741B (en) Multi-path server
WO2012124431A1 (en) Semiconductor device
CN101118511A (en) Method for supporting vertical card by basic input output system
US7200700B2 (en) Shared-IRQ user defined interrupt signal handling method and system
CN108549611A (en) A kind of driving realization method and system based on gt9 family chips
CN102043643B (en) How to install an interrupt event handler

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
TR01 Transfer of patent right

Effective date of registration: 20180319

Address after: Room 7, building 04, Kai Sheng development building, 33 Mong Kok Road, Kowloon, Hongkong, China

Patentee after: Chen Chuangying

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180327

Address after: Jiangsu Province, Xuzhou Chunxing Pizhou high tech Development Zone, Road No. 69

Patentee after: Pizhou Xinhua Electronic Technology Co., Ltd.

Address before: Room 7, building 04, Kai Sheng development building, 33 Mong Kok Road, Kowloon, Hongkong, China

Patentee before: Chen Chuangying

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080109

Termination date: 20180408

CF01 Termination of patent right due to non-payment of annual fee