public final class PhysicalMemoryRegion
extends java.lang.Object
Constructor and Description |
---|
PhysicalMemoryRegion(long base,
long length)
Creates an instance representing a range of contiguous physical memory.
|
Modifier and Type | Method and Description |
---|---|
long |
getBase()
Gets the base address of the contiguous memory represented by this.
|
long |
getLength()
Gets the length of the contiguous memory represented by this.
|
public PhysicalMemoryRegion(long base, long length)
base
- A physical address.length
- The size of contiguous memory from that base.StaticIllegalArgumentException
- when length
is less than or equal to zero, or when base is less than
zero or when this module overlaps with another memory
module.SizeOutOfBoundsException
- when base + length is
greater than the physical address range of the processor.