diff options
author | Adam Muhle <armuhle@us.ibm.com> | 2013-03-07 15:58:06 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-04-09 14:34:19 -0500 |
commit | fc990817b98c3bb16c369e365a274ef63a0586c5 (patch) | |
tree | c5ef3e2eb9664b10b05507ac4f5c320ea43dbda1 /src/include/usr | |
parent | 63b344dd0fcbd2318a8fd46978970a08f3eb9ca9 (diff) | |
download | talos-hostboot-fc990817b98c3bb16c369e365a274ef63a0586c5.tar.gz talos-hostboot-fc990817b98c3bb16c369e365a274ef63a0586c5.zip |
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 <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/hwpf/hwp/occ.H | 35 | ||||
-rw-r--r-- | src/include/usr/vmmconst.h | 12 |
2 files changed, 47 insertions, 0 deletions
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 */ |