1 /* 2 * COPYRIGHT: See COPYING in the top level directory 3 * PROJECT: ReactOS Console Driver 4 * FILE: drivers/base/condrv/heap.h 5 * PURPOSE: Heap Helpers 6 * PROGRAMMERS: Hermes Belusca-Maito (hermes.belusca@sfr.fr) 7 */ 8 9 #pragma once 10 11 #define ConDrvAllocPoolNonPageable(Flags, Size, Tag) \ 12 __pragma(message("WARNING - Flags parameter ignored. You may encounter problems!")) \ 13 ExAllocatePoolWithTag(NonPagedPool, Size, Tag) 14 15 #define ConDrvAllocPoolPageable(Flags, Size, Tag) \ 16 __pragma(message("WARNING - Flags parameter ignored. You may encounter problems!")) \ 17 ExAllocatePoolWithTag(PagedPool, Size, Tag) 18 19 #define ConDrvFreePool(PoolBase, Tag) \ 20 ExFreePoolWithTag(PoolBase, Tag) 21 22 /* EOF */ 23