dmpmap.h

DMP address and property mapping

Summary
dmpmap.hDMP address and property mapping
dmpprop_sContains information required for DMP access to a property.
Address search structuresAddress search maps may be of different types.
maptype_e
Address map structures

dmpprop_s

Contains information required for DMP access to a property.

Address search structures

Address search maps may be of different types.

maptype_e

am_noneno map or unspecified map.
am_srcha map optimized for binary search
am_indxa direct lookup map; fast but only suitable for certain devices

Address map structures

addrmap_uan address map, type specified by maptype_e.
any_amap_sdummy structure defining the fields common to all address map types.
srch_amap_sgeneric address map using binary search to find a region then possibly further tests as defined in Algorithm for address search.  The search strategy divides the address space into a linear sorted array of regions defined by an upper and lower address bound within which one or more properties occur.
addrfind_sa single element of the srch_amap_s search table.
indx_amap_slinear vector address map for direct property lookup.  The fastest address lookup type but only practical with few properties with closely grouped addresses.
The parser builds a single table (a 1 dimensional array) in which each each entry E defines a region within the space by a low address and a high address E_lo and E_hi (inclusive values).
Close