-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix nasa#2320, reorganize CORE_PRIVATE header files
Organize CORE_PRIVATE header file contents according to the convention
- Loading branch information
Showing
3 changed files
with
120 additions
and
0 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
70 changes: 70 additions & 0 deletions
70
modules/core_private/config/default_cfe_core_private_internal_cfg.h
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,70 @@ | ||
/************************************************************************ | ||
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” | ||
* | ||
* Copyright (c) 2020 United States Government as represented by the | ||
* Administrator of the National Aeronautics and Space Administration. | ||
* All Rights Reserved. | ||
* | ||
* 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. | ||
************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* CFE Executive Services (CFE_ES) Application Private Config Definitions | ||
* | ||
* This provides default values for configurable items that are internal | ||
* to this module and do NOT affect the interface(s) of this module. Changes | ||
* to items in this file only affect the local module and will be transparent | ||
* to external entities that are using the public interface(s). | ||
* | ||
* @note This file may be overridden/superceded by mission-provided defintions | ||
* either by overriding this header or by generating definitions from a command/data | ||
* dictionary tool. | ||
*/ | ||
#ifndef CFE_CORE_PRIVATE_INTERNAL_CFG_H | ||
#define CFE_CORE_PRIVATE_INTERNAL_CFG_H | ||
|
||
/** | ||
** \cfesbcfg Platform Endian Indicator | ||
** | ||
** \par Description: | ||
** The value of this constant indicates the endianess of the target system | ||
** | ||
** \par Limits | ||
** This parameter has a lower limit of 0 and an upper limit of 1. | ||
*/ | ||
#define CFE_PLATFORM_ENDIAN CCSDS_LITTLE_ENDIAN | ||
|
||
/** \cfeescfg CFE core application startup timeout | ||
** | ||
** \par Description: | ||
** The upper limit for the amount of time that the cFE core applications | ||
** (ES, SB, EVS, TIME, TBL) are each allotted to reach their respective | ||
** "ready" states. | ||
** | ||
** The CFE "main" thread starts individual tasks for each of the core applications | ||
** (except FS). Each of these must perform some initialization work before the | ||
** next core application can be started, so the main thread waits to ensure that the | ||
** application has reached the "ready" state before starting the next application. | ||
** | ||
** If any core application fails to start, then it indicates a major problem with | ||
** the system and startup is aborted. | ||
** | ||
** Units are in milliseconds | ||
** | ||
** \par Limits: | ||
** Must be defined as an integer value that is greater than | ||
** or equal to zero. | ||
** | ||
*/ | ||
#define CFE_PLATFORM_CORE_MAX_STARTUP_MSEC 30000 | ||
|
||
#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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/************************************************************************ | ||
* NASA Docket No. GSC-18,719-1, and identified as “core Flight System: Bootes” | ||
* | ||
* Copyright (c) 2020 United States Government as represented by the | ||
* Administrator of the National Aeronautics and Space Administration. | ||
* All Rights Reserved. | ||
* | ||
* 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. | ||
************************************************************************/ | ||
|
||
/** | ||
* @file | ||
* | ||
* Purpose: | ||
* This header file contains the platform configuration parameters. | ||
* | ||
* Notes: | ||
* The impact of changing these configurations from their default value is | ||
* not yet documented. Changing these values may impact the performance | ||
* and functionality of the system. | ||
* | ||
* Author: R.McGraw/SSI | ||
* | ||
*/ | ||
|
||
#ifndef CFE_PLATFORM_CFG_H | ||
#define CFE_PLATFORM_CFG_H | ||
|
||
#include "cfe_core_private_internal_cfg.h" | ||
#include "cfe_es_platform_cfg.h" | ||
#include "cfe_evs_platform_cfg.h" | ||
#include "cfe_sb_platform_cfg.h" | ||
#include "cfe_tbl_platform_cfg.h" | ||
#include "cfe_time_platform_cfg.h" | ||
|
||
#endif /* CFE_PLATFORM_CFG_H */ |