<module name="atapi" type="kernelmodedriver" installbase="system32/drivers" installname="atapi.sys">
<bootstrap installbase="$(CDOUTPUT)" />
<include base="atapi">.</include>
- <library>ntoskrnl</library>
- <library>hal</library>
<library>scsiport</library>
<file>atapi.c</file>
<file>atapi.rc</file>
#include "BusLogic958.h"
+int strcmp(const char* s1, const char* s2)
+{
+ while(*s1 == *s2)
+ {
+ if(*s1 == 0) return 0;
+
+ s1 ++;
+ s2 ++;
+ }
+
+ return *s1 - *s2;
+}
+
+char * strcat(char * s, const char * append)
+{
+ char * save = s;
+
+ for(; *s; ++s);
+
+ while((*s++ = *append++));
+
+ return save;
+}
+
+char * strcpy(char * to, const char * from)
+{
+ char *save = to;
+
+ for (; (*to = *from); ++from, ++to);
+
+ return save;
+}
+
+
ULONG
NTAPI
DriverEntry(IN PVOID DriverObject,
<module name="buslogic" type="kernelmodedriver" installbase="system32/drivers" installname="buslogic.sys">
<bootstrap installbase="$(CDOUTPUT)" />
<include base="buslogic">.</include>
- <library>ntoskrnl</library>
- <library>hal</library>
<library>scsiport</library>
<file>BusLogic958.c</file>
<file>BusLogic958.rc</file>