Interface MemoryFaultHandler

  • All Known Implementing Classes:
    EmulatorHelper

    public interface MemoryFaultHandler
    • Method Detail

      • uninitializedRead

        boolean uninitializedRead​(Address address,
                                  int size,
                                  byte[] buf,
                                  int bufOffset)
        An attempt has been made to read uninitialized memory at the specified address.
        Parameters:
        address - uninitialized storage address (memory, register or unique)
        size - number of uninitialized bytes
        buf - storage buffer
        bufOffset - read offset within buffer
        Returns:
        true if data should be treated as initialized
      • unknownAddress

        boolean unknownAddress​(Address address,
                               boolean write)
        Unable to translate the specified address
        Parameters:
        address - address which failed to be translated
        write - true if memory operation was a write vs. read
        Returns:
        true if fault was handled