コード例 #1
0
 public MemoryRangeDescriptor(ulong minimum, ulong maximum, ulong length, ulong alignment, WriteStatus writeStatus)
     : base(AddressSpaceDescriptor.ResourceType.MemoryRange, minimum, maximum, length, alignment)
 {
     this.acpiMemoryFlags       = AcpiMemoryFlags.None;
     this.memoryToIoTranslation = MemoryToIoTranslation.TypeStatic;
     this.addressRangeAttribute = AddressRangeAttribute.Memory;
     this.cacheableAttribute    = CacheableAttribute.NonCacheable;
     this.writeStatus           = writeStatus;
 }
コード例 #2
0
 public MemoryRangeDescriptor(ResourceType resourceType, ulong minimum, ulong maximum,
                              ulong length, ulong alignment, ulong addressTranslationOffset,
                              bool minimumAddressIsFixed, bool maximumAddressIsFixed,
                              DecodeType decodeType, ConsumerProducer consumerProducer,
                              AcpiMemoryFlags acpiMemoryFlags, MemoryToIoTranslation memoryToIoTranslation,
                              AddressRangeAttribute addressRangeAttribute,
                              CacheableAttribute cacheableAttribute, WriteStatus writeStatus)
     : base(resourceType, minimum, maximum, length, alignment, addressTranslationOffset,
            minimumAddressIsFixed, maximumAddressIsFixed, decodeType, consumerProducer)
 {
     this.acpiMemoryFlags       = acpiMemoryFlags;
     this.memoryToIoTranslation = memoryToIoTranslation;
     this.addressRangeAttribute = addressRangeAttribute;
     this.cacheableAttribute    = cacheableAttribute;
     this.writeStatus           = writeStatus;
 }