diff --git a/flaim/Makefile b/flaim/Makefile index 0df3dfd..c636913 100644 --- a/flaim/Makefile +++ b/flaim/Makefile @@ -1105,6 +1105,8 @@ ifdef netware_target ifdef netware_ring_0_target ccdefs += FLM_RING_ZERO_NLM + else + ccdefs += FLM_LIBC_NLM endif ccflags += /ez /6s /w4 /za /zp1 /zq /zm /s /ei /of+ /we /bt=NETWARE diff --git a/flaim/nlm.xdc b/flaim/nlm.xdc new file mode 100644 index 0000000..12a7f6b Binary files /dev/null and b/flaim/nlm.xdc differ diff --git a/ftk/Makefile b/ftk/Makefile index 4b2e3f2..9e9493b 100644 --- a/ftk/Makefile +++ b/ftk/Makefile @@ -1066,6 +1066,8 @@ ifdef netware_target ifdef netware_ring_0_target ccdefs += FLM_RING_ZERO_NLM + else + ccdefs += FLM_LIBC_NLM endif ccflags += /ez /6s /w4 /za /zp1 /zq /zm /s /ei /of+ /we /bt=NETWARE diff --git a/ftk/src/ftknlm.cpp b/ftk/src/ftknlm.cpp index a8d69ea..8027c8e 100644 --- a/ftk/src/ftknlm.cpp +++ b/ftk/src/ftknlm.cpp @@ -3979,6 +3979,7 @@ extern "C" void * f_nlmMainStub( /******************************************************************** Desc: Signals the f_nlmEntryPoint thread to release the console. *********************************************************************/ +#if defined( FLM_RING_ZERO_NLM) void SynchronizeStart( void) { if (gv_lFlmSyncSem) @@ -3986,6 +3987,7 @@ void SynchronizeStart( void) (void)kSemaphoreSignal( gv_lFlmSyncSem); } } +#endif /******************************************************************** Desc: Startup routine for the NLM. diff --git a/xflaim/Makefile b/xflaim/Makefile index d3e199e..26b29ad 100644 --- a/xflaim/Makefile +++ b/xflaim/Makefile @@ -1137,6 +1137,8 @@ ifdef netware_target ifdef netware_ring_0_target ccdefs += FLM_RING_ZERO_NLM + else + ccdefs += FLM_LIBC_NLM endif ccflags += /ez /6s /w4 /za /zp1 /zq /zm /s /ei /of+ /we /bt=NETWARE