From: noemail@basdxcqvbe.com   
      
   On Sat, 10 Jul 2021 04:08:46 -0700 (PDT)   
   Joe Monk wrote:   
      
   >   
   > > I don't know if plugging in a USB device causes an interrupt,   
   > > but if it does, the BIOS/UEFI gets control and does its stuff,   
   > > and then informs the OS via an agreed interrupt that the OS   
   > > hooked in to that there is a new device available?   
   >   
   > The OS comes first in the interrupt chain, not the hardware. The OS   
   > will trap the interrupt, especially in PM.   
   >   
   > See   
   > https://docs.microsoft.com/en-us/windows/win32/devio/wm-devicechange   
   >   
      
   The hardware generates the interrupt. That's why interrupts exist, to   
   halt the software, so the hardware can be serviced by the OS software.   
   So, how exactly does the OS come first? ... 1) hardware interrupt 2)   
   software interrupt 3) OS ... Clearly, you meant something else here,   
   which I, nor likely anyone else here, understand. Reading about some   
   Windows function, which no one here is familiar with, doesn't explain   
   it to me either.   
      
      
   --   
   The Chinese have such difficulty with English ... The word is not   
   "reunification" but "revenge".   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|