Moved tests into appropriate subdirs.
[AROS.git] / workbench / fs / ntfs / startup.c
blobe4df01ddac878efe365264043176daa982430c46
1 /*
2 * ntfs.handler - New Technology FileSystem handler
4 * Copyright © 2012 The AROS Development Team
6 * This program is free software; you can redistribute it and/or modify it
7 * under the same terms as AROS itself.
9 * $Id $
12 #include <exec/execbase.h>
14 #include "debug.h"
16 #ifdef __MORPHOS__
17 ULONG __abox__ = 1;
18 #endif
20 struct ExecBase *SysBase;
21 extern void handler(void);
24 #ifdef __AROS__
25 __startup static AROS_PROCH(startup, argstr, argsize, sysBase)
26 #else
27 #define AROS_PROCFUNC_INIT
28 #define AROS_PROCFUNC_EXIT
29 #define sysBase (*(struct ExecBase **)4L)
30 void startup(void)
31 #endif
33 AROS_PROCFUNC_INIT
35 SysBase = sysBase;
37 D(bug("[NTFS]: %s()\n", __PRETTY_FUNCTION__));
39 D(bug("[NTFS] %s: handler starting..\n", __PRETTY_FUNCTION__));
40 handler();
42 return RETURN_OK;
44 AROS_PROCFUNC_EXIT