Enable VFP unit as early as possible. This has to be so since e.g. gcc9 uses vfp...
[AROS.git] / rom / partition / findfilesystema.c
blobeb1e02c2c8f2d1b28ee5ac87d1c9c5a71a5f4815
1 /*
2 Copyright © 2011-2017, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH2(struct Node *, FindFileSystemA,
16 /* SYNOPSIS */
17 AROS_LHA(struct PartitionHandle *, table, A1),
18 AROS_LHA(const struct TagItem *, taglist, A2),
20 /* LOCATION */
21 struct Library *, PartitionBase, 20, Partition)
23 /* FUNCTION
24 Locate a filesystem handler in the partition.
26 INPUTS
27 ph - PartitionHandle to the table
28 taglist - Taglist specifying arguments. Possible tags are:
30 FST_ID - specify ID of the filesystem.
31 FST_NAME - specify name of the filesystem.
33 If more than one condition is specified for the search, logical
34 AND will be applied to them. Empty taglist will give you the
35 first filesystem in the list.
37 RESULT
38 Abstract handle of a filesystem or NULL if the filesystem with the
39 given parameters was not located in the partition.
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 if (table->table)
57 struct PTFunctionTable *handler = table->table->handler;
59 if (handler->findFileSystem)
60 return handler->findFileSystem(PartitionBase, table, taglist);
63 return NULL;
65 AROS_LIBFUNC_EXIT