Skip to content

Commit

Permalink
Merge IC:Caelum-rc4+dev14, osal v6.0.0-rc4+dev97
Browse files Browse the repository at this point in the history
- Ensure address alignment of TCB for VxWorks 7
- See <nasa/cFS#532>
  • Loading branch information
dzbaker authored Jul 28, 2022
2 parents 1de47bb + 9b46bbe commit bafbede
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ The autogenerated OSAL user's guide can be viewed at <https://github.com/nasa/cF

## Changelog

### Development Build: v6.0.0-rc4+dev97
- Ensure address alignment of TCB for VxWorks 7
- See <https://github.com/nasa/osal/pull/1272>

### Development Build: v6.0.0-rc4+dev93
- Update cmake mimimum required to something more recent (or remove)
- Set OSAL Loader unit test number of modules to OSAL_CONFIG_MAX_MODULES
Expand Down
2 changes: 1 addition & 1 deletion src/os/inc/osapi-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
/*
* Development Build Macro Definitions
*/
#define OS_BUILD_NUMBER 93
#define OS_BUILD_NUMBER 97
#define OS_BUILD_BASELINE "v6.0.0-rc4"

/*
Expand Down
8 changes: 6 additions & 2 deletions src/os/vxworks/inc/os-impl-tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@
#include <taskLib.h>

#if defined(VX_WIND_TCB_SIZE)
/* vxworks >= 7.0 should provide this symbol via taskLib.h. WIND_TCB is an opaque type */
typedef char OS_VxWorks_TCB_t[VX_WIND_TCB_SIZE];
/**
* vxworks >= 7.0 should provide this symbol via taskLib.h. WIND_TCB is an opaque type
* NOTE: uint64 used to ensure sufficient alignment, and + 1 means it's at least big enough
* but might be slightly bigger than necessary if VX_WIND_TCB_SIZE mod 8 is zero
*/
typedef uint64 OS_VxWorks_TCB_t[(VX_WIND_TCB_SIZE / 8) + 1];
#else
/* older vxworks expose the definition of VX_WIND_TCB_SIZE */
typedef WIND_TCB OS_VxWorks_TCB_t;
Expand Down

0 comments on commit bafbede

Please sign in to comment.