From fc990817b98c3bb16c369e365a274ef63a0586c5 Mon Sep 17 00:00:00 2001 From: Adam Muhle Date: Thu, 7 Mar 2013 15:58:06 -0600 Subject: First pass of OCC Procedures in Hostboot This is a first-pass implementation of the OCC procedures in Hostboot. OCC is not enabled with this commit. Change-Id: Id8dcd49ee4a54f208e95d43e6f1f7a1d22e6742c RTC: 51076 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/3643 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/include/usr/hwpf/hwp/occ.H | 35 +++++++++++++++++++++++++++++++++++ src/include/usr/vmmconst.h | 12 ++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 src/include/usr/hwpf/hwp/occ.H (limited to 'src/include/usr') diff --git a/src/include/usr/hwpf/hwp/occ.H b/src/include/usr/hwpf/hwp/occ.H new file mode 100644 index 000000000..fd59137d4 --- /dev/null +++ b/src/include/usr/hwpf/hwp/occ.H @@ -0,0 +1,35 @@ +/* IBM_PROLOG_BEGIN_TAG */ +/* This is an automatically generated prolog. */ +/* */ +/* $Source: src/include/usr/hwpf/hwp/occ.H $ */ +/* */ +/* IBM CONFIDENTIAL */ +/* */ +/* COPYRIGHT International Business Machines Corp. 2013 */ +/* */ +/* p1 */ +/* */ +/* Object Code Only (OCO) source materials */ +/* Licensed Internal Code Source Materials */ +/* IBM HostBoot Licensed Internal Code */ +/* */ +/* The source code for this program is not published or otherwise */ +/* divested of its trade secrets, irrespective of what has been */ +/* deposited with the U.S. Copyright Office. */ +/* */ +/* Origin: 30 */ +/* */ +/* IBM_PROLOG_END_TAG */ +#ifndef OCC_H_ +#define OCC_H_ + +namespace OCC { + + errlHndl_t loadnStartOcc(uint64_t i_homer_addr, + uint64_t i_common_addr, + TARGETING::Target* i_target); + + +} //end OCC namespace + +#endif diff --git a/src/include/usr/vmmconst.h b/src/include/usr/vmmconst.h index 1c5ae6d01..29e82c48d 100644 --- a/src/include/usr/vmmconst.h +++ b/src/include/usr/vmmconst.h @@ -134,4 +134,16 @@ enum BlockPriority #define DUMP_TEST_MEMORY_SIZE (4*MEGABYTE) +//TODO RTC: 35752 - Merge SLW and OCC into simgle HOMER Offset +//Note: OCC base image must be at 4MB offset, COMMON data must be at 8MB offset. +/** Physical Memory for OCC images - 1MB/chip * 4 chips */ +#define VMM_OCC_IMAGE_BASE_ADDR (72*MEGABYTE) +#define VMM_OCC_IMAGE_BASE_SIZE (4*MEGABYTE) + +/** Physical Memory for OCC common space - 8MB total */ +#define VMM_OCC_COMMON_ADDR (80*MEGABYTE) +#define VMM_OCC_COMMON_SIZE (8*MEGABYTE) + + + #endif /* _VMMCONST_H */ -- cgit v1.2.3