Home
last modified time | relevance | path

Searched refs:imageFile (Results 1 – 5 of 5) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Storage/
DDataStorage.cs17 …public static Stream Create(string imageFile, long? size = null, bool persistent = false, byte pad… in Create() argument
20 return CreateFromFile(imageFile, size, persistent, paddingByte); in Create()
23 …public static Stream CreateFromFile(string imageFile, long? size = null, bool persistent = false, … in CreateFromFile() argument
25 if(string.IsNullOrEmpty(imageFile)) in CreateFromFile()
33 FileCopier.Copy(imageFile, tempFileName, true); in CreateFromFile()
34 imageFile = tempFileName; in CreateFromFile()
37 …return new SerializableStreamView(new FileStream(imageFile, FileMode.OpenOrCreate), size, paddingB… in CreateFromFile()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/SD/
DDeprecatedSDCard.cs19 public DeprecatedSDCard(string imageFile, long? cardSize, bool persistent) in DeprecatedSDCard() argument
21 if(String.IsNullOrEmpty(imageFile)) in DeprecatedSDCard()
30 FileCopier.Copy(imageFile, tempFileName, true); in DeprecatedSDCard()
31 imageFile = tempFileName; in DeprecatedSDCard()
33 file = new SerializableStreamView(new FileStream(imageFile, FileMode.OpenOrCreate)); in DeprecatedSDCard()
DSDCard.cs31 …public SDCard(string imageFile, long capacity, bool persistent = false, bool spiMode = false, Bloc… in SDCard() argument
32 …: this(DataStorage.CreateFromFile(imageFile, capacity, persistent), capacity, spiMode, blockSize) … in SDCard()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/ATAPI/
DCDROM.cs26 … public CDROM(string imageFile, bool persistent = false, uint? size = null, uint blockSize = 2048) in CDROM() argument
29 dataBackend = DataStorage.Create(imageFile, size, persistent); in CDROM()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/USB/
DUSBPendrive.cs46 …public USBPendrive(string imageFile, long? size = null, bool persistent = false, uint blockSize = … in USBPendrive() argument
49 dataBackend = DataStorage.Create(imageFile, size, persistent); in USBPendrive()