diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2009-03-07 00:07:24 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2009-03-07 00:07:24 -0500 |
commit | 75f49b36499aed665c0cd438d12c098447ab21d9 (patch) | |
tree | 4c6df604067d7bfaef65c94435f65c915d2d3fa5 /src/misc.c | |
parent | d10e4449df0d870b75b62869d080fb5a74aa51ec (diff) | |
download | seabios-hppa-75f49b36499aed665c0cd438d12c098447ab21d9.zip seabios-hppa-75f49b36499aed665c0cd438d12c098447ab21d9.tar.gz seabios-hppa-75f49b36499aed665c0cd438d12c098447ab21d9.tar.bz2 |
Register int02 handler (nmi); disable NMI by default.
Rename handle_nmi to handle_02 to be more consistent with other handlers.
Actually register handle_02.
Don't panic in nmi handler - just log by default.
Set the disable nmi bit when accessing the cmos index register.
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,11 +54,11 @@ handle_10(struct bregs *regs) // dont do anything, since the VGA BIOS handles int10h requests } +// NMI handler void VISIBLE16 -handle_nmi() +handle_02() { - debug_isr(DEBUG_ISR_nmi); - panic("NMI Handler called\n"); + debug_isr(DEBUG_ISR_02); } void |