From ab5e490b4d1fba7570595b87d79d46c00c3ad8ac Mon Sep 17 00:00:00 2001 From: John Hodge Date: Fri, 3 Aug 2012 13:38:52 +0800 Subject: [PATCH] Modules/IPStack - Made use of "sti" x86 only --- KernelLand/Modules/IPStack/adapters.c | 2 ++ 1 file changed, 2 insertions(+) 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)]; -- 2.20.1