From: John Hodge Date: Fri, 3 Aug 2012 05:38:52 +0000 (+0800) Subject: Modules/IPStack - Made use of "sti" x86 only X-Git-Tag: rel0.15~706^2~76 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=ab5e490b4d1fba7570595b87d79d46c00c3ad8ac;p=tpg%2Facess2.git Modules/IPStack - Made use of "sti" x86 only --- diff --git a/KernelLand/Modules/IPStack/adapters.c b/KernelLand/Modules/IPStack/adapters.c index 90c0b245..16e0f975 100644 --- a/KernelLand/Modules/IPStack/adapters.c +++ b/KernelLand/Modules/IPStack/adapters.c @@ -344,7 +344,9 @@ void IPStack_SendDebugText(const char *Text) if( CPU_HAS_LOCK(&lLock) ) return ; // Nested! SHORTLOCK(&lLock); + #if ARCHDIR_is_x86 __asm__ __volatile__ ("sti"); // Start interrupts (x86 specific) + #endif // Cache packets until a newline static char cache[1500 - (sizeof(pkt_hdr) + 4)];