コード例 #1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public Kernel(Disk diskFile)
 {
     _kernelFile = new RWFiles(MachinePara.OsPath);
     _diskFile   = diskFile;
 }
コード例 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="tsb"></param>
 /// <param name="tid"></param>
 /// <param name="tdb"></param>
 /// <param name="disk"></param>
 /// <param name="createFilePath"></param>
 /// <param name="originFilePath"></param>
 public CommonFile(Superblock tsb, InodeBlock tid, DataBlock tdb, Disk disk, string createFilePath, string originFilePath) : base(tsb, tid, tdb, disk, createFilePath)
 {
     _origFile = new RWFiles(originFilePath);
 }
コード例 #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 public Boot(Disk diskFile)
 {
     _bootFile = new RWFiles(MachinePara.BootPath);
     _diskFile = diskFile;
 }