[REACTOS] Cleanup INIT and some PAGE section allocations
[reactos.git] / hal / halx86 / generic / dma.c
index d8a8a69..e7cbeb3 100644 (file)
 #define NDEBUG
 #include <debug.h>
 
-#if defined(ALLOC_PRAGMA) && !defined(_MINIHAL_)
-#pragma alloc_text(INIT, HalpInitDma)
-#endif
-
 #define MAX_SG_ELEMENTS 0x10
 
 #ifndef _MINIHAL_
@@ -152,7 +148,7 @@ static DMA_OPERATIONS HalpDmaOperations = {
 #endif
 
 #ifndef _MINIHAL_
-INIT_FUNCTION
+CODE_SEG("INIT")
 VOID
 HalpInitDma(VOID)
 {