-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pointers to all gpe trace buffers in gpe shared data.
Change-Id: I4b326e97a54050faad127ab00fd5bf6532126fe6 RTC: 161456 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48519 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Christopher J. Cain <cjcain@us.ibm.com> Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
- Loading branch information
1 parent
619a19c
commit e00c5e2
Showing
2 changed files
with
105 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* IBM_PROLOG_BEGIN_TAG */ | ||
/* This is an automatically generated prolog. */ | ||
/* */ | ||
/* $Source: src/include/p9_memmap_occ_sram.h $ */ | ||
/* */ | ||
/* OpenPOWER OnChipController Project */ | ||
/* */ | ||
/* Contributors Listed Below - COPYRIGHT 2017 */ | ||
/* [+] 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 */ | ||
#if !defined(__P9_MEMMAP_OCC_SRAM_H__) | ||
#define __P9_MEMMAP_OCC_SRAM_H__ | ||
|
||
#define OCC_SRAM_BASE_ADDR 0xFFF00000 | ||
|
||
#define GPE_DEBUG_PTRS_OFFSET 0x180 | ||
#define PGPE_DEBUG_PTRS_OFFSET 0x200 | ||
#define SGPE_DEBUG_PTRS_OFFSET 0x200 | ||
|
||
#define PK_TRACE_PTR_OFFSET 0x04 | ||
#define PK_TRACE_SIZE_OFFSET 0x08 | ||
|
||
#define OCC_SRAM_IPC_REGION_SIZE (4 * 1024) | ||
#define OCC_SRAM_GPE0_REGION_SIZE (60 * 1024) | ||
#define OCC_SRAM_GPE1_REGION_SIZE (64 * 1024) | ||
|
||
#define GPE0_SRAM_BASE_ADDR OCC_SRAM_BASE_ADDR + OCC_SRAM_IPC_REGION_SIZE | ||
#define GPE1_SRAM_BASE_ADDR GPE0_SRAM_BASE_ADDR + OCC_SRAM_GPE0_REGION_SIZE | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters