mem_protect: Add mem_protect API
authorRoberto Vargas <roberto.vargas@arm.com>
Thu, 3 Aug 2017 07:16:16 +0000 (08:16 +0100)
committerRoberto Vargas <roberto.vargas@arm.com>
Mon, 25 Sep 2017 12:32:20 +0000 (13:32 +0100)
commitd4c596be87e0b04404fc10ee49544eda33c0f625
tree1824de0ccd55451b7afca6bd4399308f20380917
parentdf312c5a2b152953f755df9d979cff20afb7ef4b
mem_protect: Add mem_protect API

This patch adds the generic code that links the psci smc handler
with the platform function that implements the mem_protect and
mem_check_range functionalities. These functions are  optional
APIs added in PSCI v1.1 (ARM DEN022D).

Change-Id: I3bac1307a5ce2c7a196ace76db8317e8d8c8bb3f
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
include/lib/psci/psci.h
lib/psci/psci_lib.mk
lib/psci/psci_main.c
lib/psci/psci_mem_protect.c [new file with mode: 0644]
lib/psci/psci_private.h
lib/psci/psci_setup.c