From e8362c0dc5cee2e890d0c9888ff7092a20b7ae6f Mon Sep 17 00:00:00 2001 From: Elizabeth Liner Date: Wed, 6 Apr 2016 12:19:58 -0500 Subject: Adding infrastructure support for Hostboot istep 20.1 The FSP loads the payload in 20.1, but in the PowerVM on BMC project, we're removing the FSP and Hostboot has to load the payload instead. Isteps 20 will also include HDAT changes. (This is a forwardport from the already-reviewed master-p8 change) Change-Id: I271a13d96c364e696bf3064d5d43607f7057467b RTC:147281 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/22975 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell Reviewed-by: William G. Hoffa --- src/usr/isteps/istep20/call_host_load_payload.C | 50 +++++++++++++++++++++++++ src/usr/isteps/istep20/makefile | 30 +++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 src/usr/isteps/istep20/call_host_load_payload.C create mode 100644 src/usr/isteps/istep20/makefile (limited to 'src/usr/isteps/istep20') diff --git a/src/usr/isteps/istep20/call_host_load_payload.C b/src/usr/isteps/istep20/call_host_load_payload.C new file mode 100644 index 000000000..5f38ef673 --- /dev/null +++ b/src/usr/isteps/istep20/call_host_load_payload.C @@ -0,0 +1,50 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/usr/isteps/istep20/call_host_load_payload.C $ */ +/* */ +/* OpenPOWER HostBoot Project */ +/* */ +/* Contributors Listed Below - COPYRIGHT 2016 */ +/* [+] International Business Machines Corp. */ +/* */ +/* */ +/* Licensed under the Apache License, Version 2.0 (the "License"); */ +/* you may not use this file except in compliance with the License. */ +/* You may obtain a copy of the License at */ +/* */ +/* http://www.apache.org/licenses/LICENSE-2.0 */ +/* */ +/* Unless required by applicable law or agreed to in writing, software */ +/* distributed under the License is distributed on an "AS IS" BASIS, */ +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ +/* implied. See the License for the specific language governing */ +/* permissions and limitations under the License. */ +/* */ +/* IBM_PROLOG_END_TAG */ + +#include +#include +#include +#include +#include + +using namespace ERRORLOG; +using namespace ISTEP; +using namespace ISTEP_ERROR; +using namespace TARGETING; + +namespace ISTEP_20 +{ + +void* call_host_load_payload (void *io_pArgs) +{ + errlHndl_t l_errl = NULL; + + TRACDCOMP( ISTEPS_TRACE::g_trac_isteps_trace, + "call_host_start_payload entry" ); + + return l_errl; +} + +}; diff --git a/src/usr/isteps/istep20/makefile b/src/usr/isteps/istep20/makefile new file mode 100644 index 000000000..f98bb7e9b --- /dev/null +++ b/src/usr/isteps/istep20/makefile @@ -0,0 +1,30 @@ +# IBM_PROLOG_BEGIN_TAG +# This is an automatically generated prolog. +# +# $Source: src/usr/isteps/istep20/makefile $ +# +# OpenPOWER HostBoot Project +# +# Contributors Listed Below - COPYRIGHT 2016 +# [+] International Business Machines Corp. +# +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. See the License for the specific language governing +# permissions and limitations under the License. +# +# IBM_PROLOG_END_TAG +ROOTPATH = ../../../.. +MODULE = istep20 + +OBJS += call_host_load_payload.o + +include ${ROOTPATH}/config.mk -- cgit v1.2.1