Class MemoryConfigurations

java.lang.Object
mars.mips.hardware.MemoryConfigurations

public class MemoryConfigurations extends Object
Models the collection of MIPS memory configurations. The default configuration is based on SPIM. Starting with MARS 3.7, the configuration can be changed.
Version:
August 2009
Author:
Pete Sanderson
  • Field Details

    • MAPPED_LOW

      public static final int MAPPED_LOW
      Lowest mapped address.
      See Also:
    • MAPPED_HIGH

      public static final int MAPPED_HIGH
      Highest mapped address.
      See Also:
    • USER_LOW

      public static final int USER_LOW
      Lowest user space address.
      See Also:
    • USER_HIGH

      public static final int USER_HIGH
      Highest user space address.
      See Also:
    • TEXT_LOW

      public static final int TEXT_LOW
      Lowest text segment address.
      See Also:
    • TEXT_HIGH

      public static final int TEXT_HIGH
      Highest text segment address.
      See Also:
    • DATA_LOW

      public static final int DATA_LOW
      Lowest data segment address.
      See Also:
    • DATA_HIGH

      public static final int DATA_HIGH
      Highest data segment address.
      See Also:
    • EXTERN_LOW

      public static final int EXTERN_LOW
      Lowest extern data address.
      See Also:
    • EXTERN_HIGH

      public static final int EXTERN_HIGH
      Highest extern data address.
      See Also:
    • STATIC_LOW

      public static final int STATIC_LOW
      Lowest static data address.
      See Also:
    • STATIC_HIGH

      public static final int STATIC_HIGH
      Highest static data address.
      See Also:
    • DYNAMIC_LOW

      public static final int DYNAMIC_LOW
      Lowest heap/stack data address.
      See Also:
    • DYNAMIC_HIGH

      public static final int DYNAMIC_HIGH
      Highest heap/stack data address.
      See Also:
    • KERNEL_TEXT_LOW

      public static final int KERNEL_TEXT_LOW
      Lowest kernel text segment address.
      See Also:
    • KERNEL_TEXT_HIGH

      public static final int KERNEL_TEXT_HIGH
      Highest kernel text segment address.
      See Also:
    • KERNEL_DATA_LOW

      public static final int KERNEL_DATA_LOW
      Lowest kernel data segment address.
      See Also:
    • KERNEL_DATA_HIGH

      public static final int KERNEL_DATA_HIGH
      Highest kernel data segment address.
      See Also:
    • MMIO_LOW

      public static final int MMIO_LOW
      Lowest memory-mapped I/O address.
      See Also:
    • MMIO_HIGH

      public static final int MMIO_HIGH
      Highest memory-mapped I/O address.
      See Also:
    • EXCEPTION_HANDLER

      public static final int EXCEPTION_HANDLER
      Exception handler address.
      See Also:
    • GLOBAL_POINTER

      public static final int GLOBAL_POINTER
      Initial global pointer ($gp).
      See Also:
    • STACK_POINTER

      public static final int STACK_POINTER
      Initial stack pointer ($sp).
      See Also:
  • Constructor Details

    • MemoryConfigurations

      public MemoryConfigurations()
  • Method Details