#define LIBMEM_ADDRESS_IN_RANGE address,
startAddress,
endAddress   )     ((address >= startAddress) && (address <= endAddress))
 

Macro to determine whether an address is within an address range.

Parameters:
address   The address to check.
startAddress   The start address of the address range.
endAddress   The end address of the address range.
Returns:
Non-zero if address is within address range.