* Don't strip linux.sys * Changes to made some macros visible for CodeViz Dec 2008 Henry Nestler Index: src/colinux/os/winnt/build/build.comake.py =================================================================== --- src/colinux/os/winnt/build/build.comake.py (revision 1150) +++ src/colinux/os/winnt/build/build.comake.py (working copy) @@ -31,7 +31,7 @@ return Options( overriders = dict( compiler_def_type = compiler_def_type, - compiler_strip = True, + compiler_strip = False, ), appenders = dict( compiler_flags = [ '-mno-cygwin' ], @@ -157,7 +157,6 @@ inputs = tool_run_inf.target.get_actual_inputs() command_line = (( "%s " - "-Wl,--strip-debug " "-Wl,--subsystem,native " "-Wl,--image-base,0x10000 " "-Wl,--file-alignment,0x1000 " Index: src/colinux/os/winnt/kernel/conet.c =================================================================== --- src/colinux/os/winnt/kernel/conet.c (revision 1151) +++ src/colinux/os/winnt/kernel/conet.c (working copy) @@ -31,6 +31,15 @@ #endif #define conet_err_debug(fmt, args...) co_debug_lvl(network, 3, fmt, ## args ) +// Helpers to view ALL SpinLock. They are external and macros. +VOID _NdisAcquireSpinLock( IN PNDIS_SPIN_LOCK SpinLock) { NdisAcquireSpinLock(SpinLock); } +#undef NdisAcquireSpinLock +#define NdisAcquireSpinLock _NdisAcquireSpinLock + +VOID _NdisReleaseSpinLock( IN PNDIS_SPIN_LOCK SpinLock) { NdisReleaseSpinLock(SpinLock); } +#undef NdisReleaseSpinLock +#define NdisReleaseSpinLock _NdisReleaseSpinLock + static inline USHORT co_conet_ntohs ( IN USHORT netshort