#define NDEBUG
#include <debug.h>
+#if defined(ALLOC_PRAGMA) && !defined(_MINIHAL_)
+#pragma alloc_text(INIT, HalpInitDma)
+#endif
+
#define MAX_SG_ELEMENTS 0x10
#ifndef _MINIHAL_
/* FUNCTIONS *****************************************************************/
#ifndef _MINIHAL_
+INIT_SECTION
VOID
-INIT_FUNCTION
HalpInitDma(VOID)
{
/*
WRITE_PORT_UCHAR((PUCHAR)FIELD_OFFSET(EISA_CONTROL, DmaController2Pages.Channel2), 0x2A);
if (READ_PORT_UCHAR((PUCHAR)FIELD_OFFSET(EISA_CONTROL, DmaController2Pages.Channel2)) == 0x2A)
{
+ DPRINT1("Machine supports EISA DMA. Bus type: %lu\n", HalpBusType);
HalpEisaDma = TRUE;
}