Ver código fonte

[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 anos atrás
pai
commit
71ed061776
1 arquivos alterados com 4 adições e 4 exclusões
  1. 4
    4
      src/arch/i386/drivers/net/undinet.c

+ 4
- 4
src/arch/i386/drivers/net/undinet.c Ver arquivo

@@ -343,10 +343,10 @@ static void undinet_poll ( struct net_device *netdev ) {
343 343
 		if ( ! undinet_isr_triggered() ) {
344 344
 			/* Allow interrupt to occur */
345 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 350
 			profile_stop ( &undinet_irq_profiler );
351 351
 
352 352
 			/* If interrupts are known to be supported,

Carregando…
Cancelar
Salvar