2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-08-24 04:00:29 +00:00

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2014-05-03 12:35:03 +01:00
parent 277f581ac3
commit 71ed061776

View File

@@ -343,10 +343,10 @@ static void undinet_poll ( struct net_device *netdev ) {
if ( ! undinet_isr_triggered() ) {
/* Allow interrupt to occur */
profile_start ( &undinet_irq_profiler );
__asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
"nop\n\t"
"nop\n\t"
"cli\n\t" ) : : );
__asm__ __volatile__ ( "sti\n\t"
"nop\n\t"
"nop\n\t"
"cli\n\t" );
profile_stop ( &undinet_irq_profiler );
/* If interrupts are known to be supported,