• Roberto Vargas's avatar
    Add mem_region utility functions · 43cbaf06
    Roberto Vargas authored
    
    
    This commit introduces a new type (mem_region_t) used to describe
    memory regions and it adds two utility functions:
    
    	- clear_mem_regions: This function clears (write 0) to a set
    		of regions described with an array of mem_region_t.
    
    	- mem_region_in_array_chk This function checks if a
    		region is covered by some of the regions described
    		with an array of mem_region_t.
    
    Change-Id: I12ce549f5e81dd15ac0981645f6e08ee7c120811
    Signed-off-by: default avatarRoberto Vargas <roberto.vargas@arm.com>
    43cbaf06
utils.h 1.73 KB