Fix IO memory access .. SB128 driver makes noises in VMWare - CMI is untested (Curren...
[AROS.git] / rom / partition / loadfilesystem.c
blob723345685133cd5d22e1d0989deef7f70b3c1df0
1 /*
2 Copyright © 2011, The AROS Development Team. All rights reserved.
3 $Id: querypartitionattrs.c 38180 2011-04-12 12:32:14Z sonic $
5 */
6 #include "partition_support.h"
7 #include "platform.h"
9 /*****************************************************************************
11 NAME */
12 #include <libraries/partition.h>
14 AROS_LH1(BPTR, LoadFileSystem,
16 /* SYNOPSIS */
17 AROS_LHA(struct Node *, handle, A1),
19 /* LOCATION */
20 struct Library *, PartitionBase, 21, Partition)
22 /* FUNCTION
23 Load the specified filesystem as DOS segment list.
25 INPUTS
26 handle - Filesystem handle obtained by FindFileSystemA()
28 RESULT
29 DOS seglist or NULL in case of failure.
31 NOTES
33 EXAMPLE
35 BUGS
37 SEE ALSO
39 INTERNALS
41 HISTORY
43 *****************************************************************************/
45 AROS_LIBFUNC_INIT
47 const struct FSFunctionTable *handler = ((struct FileSysHandle *)handle)->handler;
49 return handler->loadFileSystem((struct PartitionBase_intern *)PartitionBase, (struct FileSysHandle *)handle);
51 AROS_LIBFUNC_EXIT