/// <summary> /// Setup the CPU address and size of the <see cref="AddressInfo"/>. /// </summary> /// <param name="cpuAddress">The target <see cref="CpuAddress"/> of the region.</param> /// <param name="size">The size of the region.</param> public void Setup(CpuAddress cpuAddress, ulong size) { CpuAddress = cpuAddress; Size = size; ForceMappedDspAddress = 0; unsafe { _memoryPools = MemoryPoolState.Null; } }
/// <summary> /// Set the <see cref="MemoryPoolState"/> associated. /// </summary> /// <param name="memoryPoolState">The <see cref="MemoryPoolState"/> associated.</param> public unsafe void SetupMemoryPool(MemoryPoolState *memoryPoolState) { _memoryPools = memoryPoolState; }