Module openj9.dtfj

Class CommonAddressSpace

    • Constructor Detail

      • CommonAddressSpace

        protected CommonAddressSpace​(MemoryRange[] translations,
                                     boolean isLittleEndian,
                                     boolean is64Bit)
    • Method Detail

      • findWhichMemoryRange

        protected static int findWhichMemoryRange​(int asid,
                                                  long addr,
                                                  MemoryRange[] ranges,
                                                  Integer lastRange,
                                                  boolean doLinearIfNotFound)
        This searches memory ranges for an addr using a binary chop and returns an int indicating the memory range or -1 if address is not within any memory range......
        Parameters:
        asid - TODO
      • compareAddress

        protected static int compareAddress​(int lasid,
                                            long lhs,
                                            int rasid,
                                            long rhs)
      • getMemoryBytes

        public byte[] getMemoryBytes​(int asid,
                                     long vaddr,
                                     int size)