title: How does Windows log hardware errors?
body: <p>Recently got this in my Event Log:</p>
  
  <pre><code>A fatal hardware error has occurred.
  Reported by component: Processor Core
  Error Source: Machine Check Exception
  Error Type: Bus/Interconnect Error
  Processor ID: 1
  </code></pre>
  
  <p>The question is, <strong>How can one design a logging subsystem that can log these kinds of errors?</strong></p>
  
  <p>Event if it's enough to issue one DMA request to write to HDD, no paging, no interrupts, it's still at lot of work to do on a presumably failed hardware.</p>
  
  <p>Reminds me of an old joke "CPU not found, starting software emulation", too.</p>
  
  <p>P.S. I believe this does not belong to superuser or serverfault, because I'm interested in software part of the problem, not diagnosing my computer :)</p>