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

Interrupt managing method for embedded operation system based on PowerPC system structure

An operating system and architecture technology, applied in the direction of program startup/switching, multi-program installation, etc., can solve the problems of prolonging the development cycle, not providing interrupt packaging and management, reducing system stability, etc., to improve utilization efficiency and convenience. Control and use, the effect of improving execution efficiency

Inactive Publication Date: 2006-06-07
ZHEJIANG UNIV
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Currently popular microkernel embedded operating systems, such as uC / OS, do not provide interrupt encapsulation and management. Users need to define their own interrupt service program interface, context protection, context recovery, and binding to interrupt sources. It is very inconvenient for users to write interrupt service programs, which will inevitably increase the difficulty of user development, prolong the development cycle and reduce the stability of the system

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
  • Interrupt managing method for embedded operation system based on PowerPC system structure
  • Interrupt managing method for embedded operation system based on PowerPC system structure
  • Interrupt managing method for embedded operation system based on PowerPC system structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Below in conjunction with the MPC555 platform of PowerPC architecture, the present invention is further introduced:

[0021] The present invention divides the whole interrupt system into two types, one is system interrupt and the other is user interrupt, and these two types of interrupts together constitute the interrupt system of the PowerPC architecture.

[0022] ●System interruption

[0023] In the PowerPC architecture, system interrupts refer to all interrupts except external interrupts and maskable external breakpoints. When a system interrupt occurs, it will enter the unified system interrupt service program entry, and only save a small amount of necessary register data before executing the interrupt service program. For example, on the MPC555 hardware platform, the floating-point number exception interrupt belongs to the system interrupt, such as figure 1 As shown, the processing process when the interrupt occurs is as follows:

[0024] 1. When an interrupt oc...

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

The interrupt management method for embedded operation system based on PowerPC system structure includes the following steps: dividing interrupts into two classes of system interrupt and user interrupt and dividing user interrupt service programs into class-I interrupt service program and class-II interrupt service program; first hardware responding the user interrupt; then, maintaining the context, stack switching and interrupt nesting for resuming the interrupted task after interrupt treatment; finding out and calling corresponding interrupt service program from the user interrupt vector list via the interrupt source; and maintaining the interrupt nesting and stack switching, restoring the context for the treater to resume the interrupted task. The present invention has the advantages of raised interrupt executing efficiency, raised interrupt utilizing efficiency, convenient interrupt control and use, raised user stack size controllability and predicting property.

Description

technical field [0001] The invention relates to an embedded real-time operating system technology, mainly realizing an interrupt management method of an embedded operating system based on PowerPC system structure. Background technique [0002] Interrupts are an essential mechanism for the operating system. Interrupts are used to notify the processor that a certain event has occurred. Once the interrupt is recognized, the processor will save data reflecting the current task state (such as the value in the register), which is called "context"; after saving the context, the processor will execute a special interrupt service routine to respond to the event that caused the interrupt; Finally, the context is restored and the interrupted task continues. The interrupt mechanism is used to deal with some unexpected internal and external emergencies. Due to its unpredictable characteristics, the robustness of the interrupt mechanism is particularly important for an operating system,...

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 Applications(China)
IPC IPC(8): G06F9/48
Inventor 赵民德姜旭锋厉蒋李红郑能干吴朝晖
Owner ZHEJIANG UNIV
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