mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 19:41:40 +00:00
[freeldr] Allow opening of the raw device
svn path=/trunk/; revision=45812
This commit is contained in:
parent
3ddda873f8
commit
4f1c346e27
1 changed files with 7 additions and 0 deletions
|
@ -319,6 +319,13 @@ LONG ArcOpen(CHAR* Path, OPENMODE OpenMode, ULONG* FileId)
|
||||||
FileData[DeviceId].FuncTable = NULL;
|
FileData[DeviceId].FuncTable = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
else if (!*FileName)
|
||||||
|
{
|
||||||
|
/* Done, caller wanted to open the raw device */
|
||||||
|
*FileId = DeviceId;
|
||||||
|
pDevice->ReferenceCount++;
|
||||||
|
return ESUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
/* Try to detect the file system */
|
/* Try to detect the file system */
|
||||||
#ifndef _M_ARM
|
#ifndef _M_ARM
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue