Added a forgotten file in reapplication of r44918.
[AROS.git] / rom / filesys / fat / startup.c
blobf94d7d0ef6c0e2e2dc685dae270e881a22bdcfa6
1 /*
2 * fat.handler - FAT12/16/32 filesystem handler
4 * Copyright © 2006 Marek Szyprowski
5 * Copyright © 2007 The AROS Development Team
7 * This program is free software; you can redistribute it and/or modify it
8 * under the same terms as AROS itself.
10 * $Id$
13 #define DEBUG 0
15 #include <exec/execbase.h>
16 #include "debug.h"
18 #ifdef __MORPHOS__
19 ULONG __abox__ = 1;
20 #endif
22 #ifndef __AROS__
23 struct ExecBase *SysBase;
24 #endif
26 extern void handler(void);
28 void startup (void) {
29 #ifndef __AROS__
30 SysBase = *(struct ExecBase **)4L;
31 #endif
32 D(bug("[FAT] handler started\n"));
33 handler();