mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Fix linear memory mapping structure.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Structs;
|
||||
|
||||
namespace Aaru.CommonTypes.Interfaces;
|
||||
|
||||
@@ -63,7 +64,7 @@ public interface IByteAddressableImage : IBaseWritableImage
|
||||
/// <summary>Gets the linear memory mappings, e.g. interleaving, starting address, etc.</summary>
|
||||
/// <param name="mappings">Format still not decided</param>
|
||||
/// <returns>Error number</returns>
|
||||
ErrorNumber GetMappings(out object mappings);
|
||||
ErrorNumber GetMappings(out LinearMemoryMap mappings);
|
||||
|
||||
/// <summary>Reads a byte from the image</summary>
|
||||
/// <param name="b">The byte read</param>
|
||||
@@ -106,7 +107,7 @@ public interface IByteAddressableImage : IBaseWritableImage
|
||||
/// <summary>Sets the linear memory mappings, e.g. interleaving, starting address, etc.</summary>
|
||||
/// <param name="mappings">Format still not decided</param>
|
||||
/// <returns>Error number</returns>
|
||||
ErrorNumber SetMappings(object mappings);
|
||||
ErrorNumber SetMappings(LinearMemoryMap mappings);
|
||||
|
||||
/// <summary>Writes a byte to the image</summary>
|
||||
/// <param name="b">The byte to be written</param>
|
||||
|
||||
Reference in New Issue
Block a user