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

    Copyright Mahrouss Logic

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

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

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

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

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