Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An interrupt processing method, ioapic and computer system

A technology of a computer system and a processing method, applied in the computer field, can solve the problems of the operating system 1 being unable to execute normally, the system being confused, etc.

Active Publication Date: 2019-10-25
HUAWEI TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For example: when the IOAPIC is maliciously modified, the interrupt corresponding to the load operating system 1 is sent to the processor of the load operating system 2, which will cause system confusion and operating system 1 cannot normally perform operations based on the interrupt

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An interrupt processing method, ioapic and computer system
  • An interrupt processing method, ioapic and computer system
  • An interrupt processing method, ioapic and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] The embodiment of the present invention provides an interrupt processing method, which is applied to a computer system. Such as figure 1 As shown, the method includes the following steps:

[0054] It should be noted that the computer system includes IOAPIC, a management operating system, and at least one load operating system. The management operating system is used to manage IOAPIC, configure hardware resources for each load operating system in at least one load operating system, and record the corresponding relationship between each load operating system and its hardware resources. The hardware resources configured for a load operating system include at least one processor and at least one peripheral device. The processor may be a CPU (Central Processing Unit, central processing unit).

[0055] 101. IOAPIC receives a first interrupt request sent by a first peripheral device.

[0056] Wherein, the first peripheral device is one of the peripheral devices configured by the m...

Embodiment 2

[0086] The embodiment of the present invention provides an IOAPIC20, the IOAPIC20 belongs to a computer system, and the computer system includes a management operating system and at least one load operating system. The management operating system is used to manage the IOAPIC20 and is the at least one Each operating system in the load operating system configures hardware resources, and the corresponding relationship between each load operating system and the hardware resources of each load operating system is recorded, and each load operating system in the at least one load operating system is configured There is at least one processor and at least one peripheral device.

[0087] Such as image 3 As shown, the IOAPIC 20 includes: a receiving unit 201, a determining unit 202, and a sending unit 203.

[0088] The receiving unit 201 is configured to receive the first interrupt request sent by the first peripheral device.

[0089] The determining unit 202 is configured to determine the f...

Embodiment 3

[0105] The embodiment of the present invention provides an IOAPIC30, the IOAPIC30 belongs to a computer system, and the computer system includes a management operating system and at least one load operating system. The management operating system is used to manage the IOAPIC30 and is the at least one Each operating system in the load operating system configures hardware resources, and the corresponding relationship between each load operating system and the hardware resource of each load operating system is recorded, and each load operating system in the at least one load operating system is configured There is at least one processor and at least one peripheral device.

[0106] Such as Figure 4 As shown, the IOAPIC 30 includes a processor 301, a system bus 302, a communication interface 303, and a memory 304.

[0107] The processor 301 may be a central processing unit (English: central processing unit, abbreviated: CPU). It should be noted that each of the N LOS includes a proce...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

An interrupt processing method, an IOAPIC and a computer system, which relate to the technical field of computers and are used for an IOAPIC to accurately forward an interrupt request. The IOAPIC forwards the interrupt request according to a pre-set mapping relationship between an IOAPIC physical pin and a processor or a processor cluster, and can avoid an IOAPIC forwarding interrupt error to some extent. The method comprises: an IOAPIC receiving a first interrupt request sent by a first peripheral device (101); determining a first load operating system corresponding to the first peripheral device according to a correlation between each load operating system recorded by a management operating system and a hardware resource of each load operating system (102); and sending the first interrupt request to a processor or a processor cluster of the first load operating system by means of a physical pin corresponding to the processor or the processor cluster of the first load operating system according to a pre-set mapping relationship between an IOAPIC physical pin and the processor or the processor cluster (103).

Description

Technical field [0001] The present invention relates to the field of computer technology, in particular to an interrupt processing method, IOAPIC and a computer system. Background technique [0002] Currently, IOAPIC (Input / Output Advanced Programmable Interrupt Controller) and LAPIC (Local Advanced Programmable Interrupt Controller) can implement interrupt control. [0003] At present, for a system with a single core (that is, there is only one operating system, which may include multiple CPUs), IOAPIC receives an interrupt and forwards it to any CPU. With the development of the computer technology field, a multi-core (multi-operating system) scenario has emerged, including a management operating system and at least one load operating system. The management operating system configures at least one peripheral device and at least one processor for each load operating system. Among them, each load operating system needs to receive interrupts from peripheral devices to perform some ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/48
Inventor 陆钢高云伟邬小龙詹剑锋
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products