Browse Source

[undi] Do not switch to real mode to check for NIC interrupt

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 years ago
parent
commit
71ed061776
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/arch/i386/drivers/net/undinet.c

+ 4
- 4
src/arch/i386/drivers/net/undinet.c View File

343
 		if ( ! undinet_isr_triggered() ) {
343
 		if ( ! undinet_isr_triggered() ) {
344
 			/* Allow interrupt to occur */
344
 			/* Allow interrupt to occur */
345
 			profile_start ( &undinet_irq_profiler );
345
 			profile_start ( &undinet_irq_profiler );
346
-			__asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
347
-							   "nop\n\t"
348
-							   "nop\n\t"
349
-							   "cli\n\t" ) : : );
346
+			__asm__ __volatile__ ( "sti\n\t"
347
+					       "nop\n\t"
348
+					       "nop\n\t"
349
+					       "cli\n\t" );
350
 			profile_stop ( &undinet_irq_profiler );
350
 			profile_stop ( &undinet_irq_profiler );
351
 
351
 
352
 			/* If interrupts are known to be supported,
352
 			/* If interrupts are known to be supported,

Loading…
Cancel
Save