Interface ISystemFileProvider
Provides System and BIOS files for emulator adapters.
Namespace: Snowflake.Orchestration.SystemFiles
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface ISystemFileProvider
Methods
GetMissingSystemFiles(PlatformId)
Retrieves the list of system files not available for use within the system file directory, according to the platform's Stone specification.
This does only a cursory filename check and not a deeper MD5 verification of the file.
Declaration
IEnumerable<ISystemFile> GetMissingSystemFiles(PlatformId biosPlatform)
Parameters
Type | Name | Description |
---|---|---|
Platform |
biosPlatform | The Stone PlatformID for the requested system file. |
Returns
Type | Description |
---|---|
System. |
A list of system files not available for use within the system file directory, according to the platform's Stone specification. |
GetSystemFileByMd5Hash(PlatformId, String)
Retrieves the IRead
Declaration
IReadOnlyFile GetSystemFileByMd5Hash(PlatformId platformId, string md5Hash)
Parameters
Type | Name | Description |
---|---|---|
Platform |
platformId | The platform ID of the system file to request. |
System. |
md5Hash | The MD5 hash of the system file to request. |
Returns
Type | Description |
---|---|
IRead |
The IRead |
GetSystemFileByName(PlatformId, String)
Retrieves the IRead
Declaration
IReadOnlyFile GetSystemFileByName(PlatformId platformId, string name)
Parameters
Type | Name | Description |
---|---|---|
Platform |
platformId | The platform ID of the system file to request. |
System. |
name | The name of the system file to request. |
Returns
Type | Description |
---|---|
IRead |
The IFile entry for the specified file if it exists, otherwise returns null. |
GetSystemFileDirectory(PlatformId)
Retrieves the IRead
Declaration
IReadOnlyDirectory GetSystemFileDirectory(PlatformId biosPlatform)
Parameters
Type | Name | Description |
---|---|---|
Platform |
biosPlatform | The Stone PlatformID for the requested system files. |
Returns
Type | Description |
---|---|
IRead |
The directory containing all the system files. |