Fixed binary search: no more infinite loops when vendor is unknown.
[tangerine.git] / workbench / fs / fat / startup-aros.c
blob068cf2b8e03381d3786a3f4172ab518d924c2f92
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: startup-aros.c,v 1.1 2008/04/25 10:33:43 sonic_amiga Exp $
13 #define DEBUG 0
15 #include <aros/asmcall.h>
16 #include <exec/execbase.h>
17 #include <aros/debug.h>
19 struct ExecBase *SysBase;
21 extern void handler(void);
23 AROS_UFH1(__used void, startup,
24 AROS_UFHA(struct ExecBase *, sBase, A6))
26 AROS_USERFUNC_INIT
27 SysBase = sBase;
28 D(bug("[FAT] handler started, ExecBase = 0x%08lX\n", sBase));
29 handler();
30 AROS_USERFUNC_EXIT