answersLogoWhite

0

Interrupt handling is performed by the operating system kernel. In the Intel IA-32 platform, for instance, it is handled at Ring-Zero.

C++ code does not normally run in the kernel. It runs in user space, such as in Ring-Three. Unless the operating system allows you to load C++ code in non pageable Ring-Zero space, you cannot write C++ programs to handle interrupts. Even if you could do so, all of the dependencies, such as libraries, would need to also be there, unless you wrote dispatch stubs to transition into and out of Ring-Zero non-pageable space.

That said, you are looking for the Device Driver Kit, or DDK. (In the Windows platform.)

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Is there some way of creating a keyboard interrupt with pointers or something in c?

Yes, it is possible to write interrupt handlers in C, but it is not a task for beginners like you.


Why doesn't the Bash shell exit after pressing Ctrl-C?

Because it traps that interrupt.


What part of speech is interrupt?

Interrupt is a verb.


What is the use of interrupt vector?

An interrupt vector is the memory address of an interrupt handler, or an index into an array called an interrupt vector table or dispatch table. Interrupt vector tables contain the memory addresses of interrupt handlers. When an interrupt is generated, the processor saves its execution state via a context switch, and begins execution of the interrupt handler at the interrupt vector.


What is a sentence with the word interrupt?

"You should not interrupt class," the teacher scolded the boy.


What is the Prefix of interrupt?

the prefix of interrupt is in


What is the prefix for interrupt?

The prefix for interrupt is "inter-".


Where is interrupt handler and interrupt vector?

In the 8086/8088, the interrupt vector table is the first 1024 bytes of memory. In the 8085, the interrupt vector table is the first 64 bytes of memory if using the RST form of interrupt, otherwise the interrupt vector is provided by the interrupting device, usually in the form of a CALL instruction. The interrupt handler is wherever the interrupt vector points to.


What is int86 function in c plus plus?

It is DOS-specific function in TurboC to call an interrupt. See the built-in help.


What is an 8085 interrupt?

There are 2 types interrupts in 8085 such as: 1)hardware interrupt 2)software interrupt


What is the noun form interrupt?

noun of interrupt,interruption interruptions,interrupts


What is the verb for interuption?

The verb of interruption is interrupt. For example "to interrupt someone or something".