mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[FREELDR] Allow to boot from FATX volume using vfatfs driver
Also copy vfatfs.sys to disk in 1st stage setup. CORE-16216 CORE-16329 CORE-16373
This commit is contained in:
parent
542e9f2ba0
commit
328cc41192
2 changed files with 12 additions and 1 deletions
|
@ -124,6 +124,7 @@ pci.sys = 1,,,,,,x,4,,,,1,4
|
|||
scsiport.sys = 1,,,,,,,4,,,,1,4
|
||||
storport.sys = 1,,,,,,,4,,,,1,4
|
||||
fastfat.sys = 1,,,,,,x,4,,,,1,4
|
||||
vfatfs.sys = 1,,,,,,,4,,,,1,4
|
||||
btrfs.sys = 1,,,,,,x,4,,,,1,4
|
||||
ramdisk.sys = 1,,,,,,x,4,,,,1,4
|
||||
pciide.sys = 1,,,,,,,4,,,,1,4
|
||||
|
|
|
@ -1547,6 +1547,16 @@ const DEVVTBL FatFuncTable =
|
|||
L"fastfat",
|
||||
};
|
||||
|
||||
const DEVVTBL FatXFuncTable =
|
||||
{
|
||||
FatClose,
|
||||
FatGetFileInformation,
|
||||
FatOpen,
|
||||
FatRead,
|
||||
FatSeek,
|
||||
L"vfatfs",
|
||||
};
|
||||
|
||||
const DEVVTBL* FatMount(ULONG DeviceId)
|
||||
{
|
||||
PFAT_VOLUME_INFO Volume;
|
||||
|
@ -1634,5 +1644,5 @@ const DEVVTBL* FatMount(ULONG DeviceId)
|
|||
// Return success
|
||||
//
|
||||
TRACE("FatMount(%lu) success\n", DeviceId);
|
||||
return &FatFuncTable;
|
||||
return (ISFATX(Volume->FatType) ? &FatXFuncTable : &FatFuncTable);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue