FS INIT: Difference between revisions
Appearance
Created page with "Request file system driver initialization. ==Syntax== FS_INIT(szParm, DevHelp, pMiniFSD) ==Parameters== ;szParm: is a pointer to the ASCIIZ parameters following the CONFI..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
Request file system driver initialization. | {{DISPLAYTITLE:FS_INIT}} | ||
Request file system driver initialization. | |||
==Syntax== | ==Syntax== | ||
FS_INIT(szParm, DevHelp, pMiniFSD) | FS_INIT(szParm, DevHelp, pMiniFSD) | ||
==Parameters== | ==Parameters== | ||
;szParm: is a pointer to the ASCIIZ parameters following the CONFIG.SYS IFS = command that loaded the FSD. The FSD does not need to verify this pointer . | ;szParm: is a pointer to the ASCIIZ parameters following the CONFIG.SYS IFS = command that loaded the FSD. The FSD does not need to verify this pointer. | ||
;DevHelp: is the address of the kernel entry point for the DevHelp routines. | |||
;DevHelp: is the address of the kernel entry point for the DevHelp routines . | :This is used exactly as the device driver DevHelp address, and can be used by an FSD that needs access to some of the device helper services. | ||
:This is used exactly as the device driver DevHelp address, and can be used by an FSD that needs access to some of the device helper services. | |||
;pMiniFSD: is a pointer to data passed between the mini-FSD and the FSD, or null. | ;pMiniFSD: is a pointer to data passed between the mini-FSD and the FSD, or null. | ||
Line 20: | Line 19: | ||
unsigned long far * pMiniFSD; | unsigned long far * pMiniFSD; | ||
</PRE> | </PRE> | ||
==Remarks== | ==Remarks== | ||
This call is made during system initialization to allow the FSD to perform actions necessary for beginning operation. The FSD may successfully initialize by returning 0 or may reject installation (invalid parameters, incompatible hardware, etc .) by returning the appropriate error code. If rejection is selected, all FSD selectors and segments are released. | This call is made during system initialization to allow the FSD to perform actions necessary for beginning operation. The FSD may successfully initialize by returning 0 or may reject installation (invalid parameters, incompatible hardware, etc.) by returning the appropriate error code. If rejection is selected, all FSD selectors and segments are released. | ||
pMiniFSD will be null, except when booting from a volume managed by an FSD and the exported name of the FSD matches the exported name of the mini-FSD. In this case, pMiniFSD will point to data established by the mini-FSD (See MFS_INIT) . | pMiniFSD will be null, except when booting from a volume managed by an FSD and the exported name of the FSD matches the exported name of the mini-FSD. In this case, pMiniFSD will point to data established by the mini-FSD (See MFS_INIT). | ||
[[Category:IFS Interfaces]] | [[Category:IFS Interfaces]] | ||
Latest revision as of 05:52, 17 February 2020
Request file system driver initialization.
Syntax
FS_INIT(szParm, DevHelp, pMiniFSD)
Parameters
- szParm
- is a pointer to the ASCIIZ parameters following the CONFIG.SYS IFS = command that loaded the FSD. The FSD does not need to verify this pointer.
- DevHelp
- is the address of the kernel entry point for the DevHelp routines.
- This is used exactly as the device driver DevHelp address, and can be used by an FSD that needs access to some of the device helper services.
- pMiniFSD
- is a pointer to data passed between the mini-FSD and the FSD, or null.
Calling Sequence
int far pascal FS_INIT(szParm, DevHelp, pMiniFSD) char far * szParm; unsigned long DevHelp; unsigned long far * pMiniFSD;
Remarks
This call is made during system initialization to allow the FSD to perform actions necessary for beginning operation. The FSD may successfully initialize by returning 0 or may reject installation (invalid parameters, incompatible hardware, etc.) by returning the appropriate error code. If rejection is selected, all FSD selectors and segments are released.
pMiniFSD will be null, except when booting from a volume managed by an FSD and the exported name of the FSD matches the exported name of the mini-FSD. In this case, pMiniFSD will point to data established by the mini-FSD (See MFS_INIT).