private Partition[] userPartitionPointers; // Array pointing to the partitions that are user partitions.

        #endregion Fields

        #region Constructors

        //****************************************************
        // Method: MyFixedPartitionMemoryManager
        //
        // Purpose: Memory manager constructor.
        //****************************************************
        public MyFixedPartitionMemoryManager(IOperatingSystemFactory operatingSystemFactory)
        {
            this.operatingSystemFactory = operatingSystemFactory;
            this.memoryType = OperatingSystemMemoryTypes.FIXEDPARTITION;
            this.cpu = (ICPU)this.operatingSystemFactory.CreateObject(ObjectType.ICPU);
            this.processorManager = (IProcessorManager)this.operatingSystemFactory.CreateObject(ObjectType.IProcessorManager);
        }
コード例 #2
0
ファイル: StebsHub.cs プロジェクト: TheJP/stebs
 public StebsHub(IConstants constants, IMpm mpm, IProcessorManager manager, IFileManager fileManager, IPluginManager pluginManager)
 {
     this.Constants = constants;
     this.Mpm = mpm;
     this.Manager = manager;
     this.FileManager = fileManager;
     this.PluginManager = pluginManager;
 }
コード例 #3
0
 public ProcessorContainerFactory(IProcessorManager manager)
 {
     this.manager = manager;
 }