mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[FREELDR]: Do not build EXT2, ISO or NTFS support for ARM targets.
svn path=/trunk/; revision=45520
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user