CLI doubt

From: subnet (sunglo_at_katamail.com)
Date: 01/22/04


Date: Thu, 22 Jan 2004 20:14:29 +0000 (UTC)

Ok, excuse me for the totally newbie question...

One can do a CLI to disable interrupts.
The question is: does this instruction disable everything? ie, does
this mean that, after a CLI, one can happily divide by 0, use invalid
opcodes, load invalid segment selectors, and so on? Are INT
instruction still valid, or they do nothing too?

Thanks



Relevant Pages

  • Re: CLI doubt
    ... > One can do a CLI to disable interrupts. ... does this instruction disable everything? ... Michael Brown ...
    (comp.lang.asm.x86)
  • [RESEND] [PATCH 1/7] ppc: remove cli()/sti() in arch/ppc/4xx_io/serial_sicc.c
    ... save_flags; cli(); ... /* disable interrupts while stopping serial port interrupts */ ... static void siccuart_flush_chars ...
    (Linux-Kernel)
  • Re: CLI doubt
    ... >> One can do a CLI to disable interrupts. ... you could look at an SMI ... but how would i actually programmatically cause an NMI? ...
    (comp.lang.asm.x86)
  • Re: CLI doubt
    ... >> One can do a CLI to disable interrupts. ... >> opcodes, load invalid segment selectors, and so on? ... Are INT ...
    (comp.lang.asm.x86)