mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 10:23:22 +00:00
[FREELDR]: Do not build EXT2, ISO or NTFS support for ARM targets.
svn path=/trunk/; revision=45520
This commit is contained in:
parent
9eea228a7d
commit
7d76dde312
|
@ -17,6 +17,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef _M_ARM
|
||||
#include <freeldr.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
@ -1308,3 +1309,6 @@ const DEVVTBL* Ext2Mount(ULONG DeviceId)
|
|||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -321,13 +321,17 @@ LONG ArcOpen(CHAR* Path, OPENMODE OpenMode, ULONG* FileId)
|
|||
}
|
||||
|
||||
/* Try to detect the file system */
|
||||
#ifndef _M_ARM
|
||||
FileData[DeviceId].FileFuncTable = IsoMount(DeviceId);
|
||||
if (!FileData[DeviceId].FileFuncTable)
|
||||
#endif
|
||||
FileData[DeviceId].FileFuncTable = FatMount(DeviceId);
|
||||
#ifndef _M_ARM
|
||||
if (!FileData[DeviceId].FileFuncTable)
|
||||
FileData[DeviceId].FileFuncTable = NtfsMount(DeviceId);
|
||||
if (!FileData[DeviceId].FileFuncTable)
|
||||
FileData[DeviceId].FileFuncTable = Ext2Mount(DeviceId);
|
||||
#endif
|
||||
if (!FileData[DeviceId].FileFuncTable)
|
||||
{
|
||||
/* Error, unable to detect file system */
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef _M_ARM
|
||||
#include <freeldr.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
@ -510,3 +511,6 @@ const DEVVTBL* IsoMount(ULONG DeviceId)
|
|||
else
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
* - May crash on corrupted filesystem.
|
||||
*/
|
||||
|
||||
#ifndef _M_ARM
|
||||
#include <freeldr.h>
|
||||
#include <debug.h>
|
||||
|
||||
|
@ -957,3 +958,5 @@ const DEVVTBL* NtfsMount(ULONG DeviceId)
|
|||
//
|
||||
return &NtfsFuncTable;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue