summaryrefslogtreecommitdiffhomepage
path: root/NewKernel/Drivers/SampleDriver/SampleDriver.c
blob: e5fbeee993aa5b6a3d6e6886feeb24a8dc35a658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* -------------------------------------------

    Copyright Mahrouss Logic

------------------------------------------- */

#include <DriverKit/KernelString.h>
#include <DriverKit/KernelPrint.h>

int __ImageStart(void)
{
	kernelPrintStr("SampleDriver: Starting up...\r");
	return 0;
}

int __ImageEnd(void)
{
	kernelPrintStr("SampleDriver: Shutting down...\r");
	return 0;
}

///! @brief Use this to check your stack, if using MinGW/MSVC.
void ___chkstk_ms(void)
{
}