/**\r
- * Copyright (C) 2009-2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
+ * Copyright (C) 2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
*\r
* This file is part of WinVBlock, originally derived from WinAoE.\r
*\r
#include "wv_stdlib.h"\r
\r
void *wv_malloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(NonPagedPool, size, 'klBV');\r
+ return ExAllocatePoolWithTag(NonPagedPool, size, 'EoAW');\r
}\r
\r
void *wv_palloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(PagedPool, size, 'klBV');\r
+ return ExAllocatePoolWithTag(PagedPool, size, 'EoAW');\r
}\r
\r
void *wv_mallocz(wv_size_t size) {\r
- void *ptr = ExAllocatePoolWithTag(NonPagedPool, size, 'klBV');\r
+ void *ptr = ExAllocatePoolWithTag(NonPagedPool, size, 'EoAW');\r
return ptr ? RtlZeroMemory(ptr, size), ptr : ptr;\r
}\r
\r
void *wv_pallocz(wv_size_t size) {\r
- void *ptr = ExAllocatePoolWithTag(PagedPool, size, 'klBV');\r
+ void *ptr = ExAllocatePoolWithTag(PagedPool, size, 'EoAW');\r
return ptr ? RtlZeroMemory(ptr, size), ptr : ptr;\r
}\r
\r
/**\r
- * Copyright (C) 2009-2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
+ * Copyright (C) 2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
*\r
* This file is part of WinVBlock, originally derived from WinAoE.\r
*\r
* You should have received a copy of the GNU General Public License\r
* along with WinVBlock. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-#ifndef _wv_stdlib_h\r
-# define _wv_stdlib_h\r
-# include "wv_stddef.h"\r
+#ifndef _WV_STDLIB_H\r
+# define _WV_STDLIB_H\r
+\r
+#include "wv_stddef.h"\r
\r
/* Allocate memory from non-paged memory pool. */\r
void *wv_malloc(wv_size_t size);\r
/* Free allocated memory. */\r
void wv_free(void *ptr);\r
\r
-#endif /* _wv_stdlib_h */\r
+#endif /* _WV_STDLIB_H */\r
/**\r
- * Copyright (C) 2009-2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
+ * Copyright (C) 2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
*\r
* This file is part of WinVBlock, originally derived from WinAoE.\r
*\r
#include "wv_stdlib.h"\r
\r
void *wv_malloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(NonPagedPool, size, 'EoAW');\r
+ return ExAllocatePoolWithTag(NonPagedPool, size, 'klBV');\r
}\r
\r
void *wv_palloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(PagedPool, size, 'EoAW');\r
+ return ExAllocatePoolWithTag(PagedPool, size, 'klBV');\r
}\r
\r
void *wv_mallocz(wv_size_t size) {\r