Function mmtk::util::metadata::side_metadata::helpers::contiguous_meta_address_to_address
source · pub(super) fn contiguous_meta_address_to_address(
metadata_spec: &SideMetadataSpec,
metadata_addr: Address,
bit: u8
) -> Address
Expand description
Performs reverse address translation from contiguous metadata bits to data addresses. The input address and bit shift should be aligned.
Arguments:
metadata_spec
: The side metadata spec. It should be contiguous side metadata.metadata_addr
; The metadata address. Returned byaddress_to_contiguous_meta_address
.bit
: The bit shift for the metadata. Returned bymeta_byte_lshift
.