[ros-dev] [ros-diffs] [ros-arm-bringup] 44871: NMI Support Patch 10: [NTOS]: Write barebones NMI Trap handler which does a TSS context switch to the NMI TSS and then calls the HAL NMI handler. [NTOS]: Implement KiSaveProcessorState for doing a PRCB context save/restore. You should now be able to test the new NMI functionality by either building the circuit referenced in my e-mail and attaching it to your PCI bus, or by using "nmi 0" in the QEMU stdio console.

Timo Kreuzer timo.kreuzer at web.de
Sat Jan 2 05:03:39 CET 2010


ros-arm-bringup at svn.reactos.org schrieb:
> Author: ros-arm-bringup
> Date: Sat Jan  2 02:34:27 2010
> New Revision: 44871
>   
...
> @@ -790,9 +791,138 @@
>  .globl _KiTrap2
>  .func KiTrap2
>  _KiTrap2:
> -
> -    /* FIXME: This is an NMI, nothing like a normal exception */
> -    mov eax, 2
> +	//
> +	// Don't allow any other NMIs to come in for now
> +	//
> +    cli												// Disable interrupts
>   
But you know that CLI has no effect on NMIs?




More information about the Ros-dev mailing list