A processing method for virtual interrupt of embedded operating system partition based on powerpc processor
A technology of virtual interrupt and operating system, applied in electrical digital data processing, instruments, multi-program devices, etc., can solve problems such as damage, errors, increase the complexity of testing and verification of partition interrupt handlers, etc., to improve independence. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0019] Below in conjunction with accompanying drawing, the present invention is described in detail, figure 1 It shows the original interrupt processing flow. When an external interrupt occurs, the program automatically jumps to the external interrupt entry address, and the current processor state also enters the kernel state. In the external interrupt entry program, save the interrupt context, and then search and jump to the corresponding interrupt handler according to the interrupt vector number.
[0020] After using this method, when a hardware interrupt occurs, the operating system enters the kernel state, the SRR0 register automatically saves the address of the next instruction to be executed when the interrupt occurs, the SRR1 register automatically saves the processor state when the interrupt occurs, and the instruction pointer jumps to the external Interrupt processing entry address. In the entry program, the current context is saved, and it is judged whether to enter...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

