-/**\r
- * Copyright (C) 2009-2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.\r
- *\r
- * This file is part of WinVBlock, originally derived from WinAoE.\r
- *\r
- * WinVBlock is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * WinVBlock is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\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
-\r
-#include <ntddk.h>\r
-#include "wv_stdlib.h"\r
-\r
-void *wv_malloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(NonPagedPool, size, 'klBV');\r
- }\r
-\r
-void *wv_palloc(wv_size_t size) {\r
- return ExAllocatePoolWithTag(PagedPool, size, 'klBV');\r
- }\r
-\r
-void *wv_mallocz(wv_size_t size) {\r
- void *ptr = ExAllocatePoolWithTag(NonPagedPool, size, 'klBV');\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
- return ptr ? RtlZeroMemory(ptr, size), ptr : ptr;\r
- }\r
-\r
-void wv_free(void *ptr) {\r
- ExFreePool(ptr);\r
- return;\r
- }\r
+/**
+ * Copyright (C) 2010, Shao Miller <shao.miller@yrdsb.edu.on.ca>.
+ *
+ * This file is part of WinVBlock, originally derived from WinAoE.
+ *
+ * WinVBlock is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * WinVBlock is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with WinVBlock. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <ntddk.h>
+#include "wv_stdlib.h"
+
+void *wv_malloc(wv_size_t size) {
+ return ExAllocatePoolWithTag(NonPagedPool, size, 'EoAW');
+ }
+
+void *wv_palloc(wv_size_t size) {
+ return ExAllocatePoolWithTag(PagedPool, size, 'EoAW');
+ }
+
+void *wv_mallocz(wv_size_t size) {
+ void *ptr = ExAllocatePoolWithTag(NonPagedPool, size, 'EoAW');
+ return ptr ? RtlZeroMemory(ptr, size), ptr : ptr;
+ }
+
+void *wv_pallocz(wv_size_t size) {
+ void *ptr = ExAllocatePoolWithTag(PagedPool, size, 'EoAW');
+ return ptr ? RtlZeroMemory(ptr, size), ptr : ptr;
+ }
+
+void wv_free(void *ptr) {
+ ExFreePool(ptr);
+ return;
+ }