From b18f35fb5748bb6caf7c81f3080a02bdc33e0347 Mon Sep 17 00:00:00 2001 From: Nick Bofferding Date: Tue, 28 Jun 2016 09:27:19 -0500 Subject: Support secure load and unload API prototype - Implement API for load and unload of secure section - Implement test to ensure API is callable Change-Id: Ie82d7e39b6adca703c4cfa4f79fb77be54d0c88b Forwardport: yes RTC: 156118 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26358 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Tested-by: Jenkins OP Build CI Reviewed-by: Stephen M. Cprek Tested-by: Jenkins OP HW Reviewed-by: Christian R. Geddes Reviewed-by: William G. Hoffa Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26658 --- src/usr/pnor/pnorrp.C | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'src/usr/pnor/pnorrp.C') diff --git a/src/usr/pnor/pnorrp.C b/src/usr/pnor/pnorrp.C index 725fa88e9..8a7b5457b 100644 --- a/src/usr/pnor/pnorrp.C +++ b/src/usr/pnor/pnorrp.C @@ -89,6 +89,29 @@ errlHndl_t PNOR::getSectionInfo( PNOR::SectionId i_section, return Singleton::instance().getSectionInfo(i_section,o_info); } +/** + * @brief Loads requested PNOR section to secure virtual address space + */ +errlHndl_t PNOR::loadSecureSection(const SectionId i_section) +{ + //@TODO RTC 156118 + // Replace with call to secure provider to load the section + errlHndl_t pError=NULL; + return pError; +} + +/** + * @brief Flushes any applicable pending writes and unloads requested PNOR + * section from secure virtual address space + */ +errlHndl_t PNOR::unloadSecureSection(const SectionId i_section) +{ + //@TODO RTC 156118 + // Replace with call to secure provider to load the section + errlHndl_t pError=NULL; + return pError; +} + /** * @brief Clear pnor section */ -- cgit v1.2.1