Skip to content

Commit

Permalink
WIP - core compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Oct 13, 2020
1 parent dc3d62b commit 80bce1a
Show file tree
Hide file tree
Showing 11 changed files with 927 additions and 1,048 deletions.
2 changes: 1 addition & 1 deletion fsw/cfe-core/src/inc/cfe_sb_extern_typedefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ typedef uint8 CFE_SB_QosReliability_E
/**
* @brief An integer type that should be used for indexing into the Routing Table
*/
typedef uint16 CFE_SB_MsgRouteIdx_Atom_t;
typedef uint16 CFE_SB_RouteId_Atom_t;

/**
* @brief CFE_SB_MsgId_Atom_t primitive type definition
Expand Down
4 changes: 2 additions & 2 deletions fsw/cfe-core/src/inc/cfe_sb_msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ typedef struct CFE_SB_RoutingFileEntry {
** Structure of one element of the map information in response to #CFE_SB_SEND_MAP_INFO_CC
*/
typedef struct CFE_SB_MsgMapFileEntry {
CFE_SB_MsgId_t MsgId;/**< \brief Message Id which has been subscribed to */
CFE_SB_MsgRouteIdx_Atom_t Index;/**< \brief Routing table index where pipe destinations are found */
CFE_SB_MsgId_t MsgId;/**< \brief Message Id which has been subscribed to */
CFE_SB_RouteId_Atom_t Index;/**< \brief Routing raw index value (0 based, not Route ID) */
}CFE_SB_MsgMapFileEntry_t;


Expand Down
52 changes: 52 additions & 0 deletions fsw/cfe-core/src/inc/private/cfe_sb_destination_typedef.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
** GSC-18128-1, "Core Flight Executive Version 6.7"
**
** Copyright (c) 2006-2019 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.
*/

/**
* Definition of the CFE_SB_DestinationD_t type.
* This was moved into its own header file since it is referenced by multiple CFE modules.
*/

#ifndef CFE_SB_DESTINATION_TYPEDEF_H_
#define CFE_SB_DESTINATION_TYPEDEF_H_

#include "common_types.h"
#include "cfe_sb.h" /* Required for CFE_SB_PipeId_t definition */

/******************************************************************************
* This structure defines a DESTINATION DESCRIPTOR used to specify
* each destination pipe for a message.
*
* Note: Changing the size of this structure may require the memory pool
* block sizes to change.
*/
typedef struct
{
CFE_SB_PipeId_t PipeId;
uint8 Active;
uint16 MsgId2PipeLim;
uint16 BuffCount;
uint16 DestCnt;
uint8 Scope;
uint8 Spare[3];
void *Prev;
void *Next;
} CFE_SB_DestinationD_t;

#endif /* CFE_SB_DESTINATION_TYPEDEF_H_ */
Loading

0 comments on commit 80bce1a

Please sign in to comment.