Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osal Integration candidate: Equuleus-rc1+dev14 #1471

Merged
merged 5 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Development Build: equuleus-rc1:dev81
- Fix Address Sanitizer issue in vxworks-console-testrunner
- f-sanitizer issue in coverage-shared-idma
- See <https://github.com/nasa/osal/pull/1467> and <https://github.com/nasa/osal/pull/1470>

## Development Build: equuleus-rc1+dev73
- High-res timed stream ops
- Moves OS_strnlen to public API and adds static analysis comments
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 73
#define OS_BUILD_NUMBER 81
#define OS_BUILD_BASELINE "equuleus-rc1"
#define OS_BUILD_DEV_CYCLE "equuleus-rc2" /**< @brief Development: Release name for current development cycle */
#define OS_BUILD_CODENAME "Equuleus" /**< @brief: Development: Code name for the current build */
Expand Down
6 changes: 3 additions & 3 deletions src/os/shared/src/osapi-idmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,6 @@ int32 OS_ObjectIdFindNextFree(OS_object_token_t *token)

base_id = OS_GetBaseForObjectType(token->obj_type);
max_id = OS_GetMaxForObjectType(token->obj_type);
objtype_state = &OS_objtype_state[token->obj_type];

if (max_id == 0)
{
Expand All @@ -610,8 +609,9 @@ int32 OS_ObjectIdFindNextFree(OS_object_token_t *token)
}
else
{
return_code = OS_ERR_NO_FREE_IDS;
serial = OS_ObjectIdToSerialNumber_Impl(objtype_state->last_id_issued);
return_code = OS_ERR_NO_FREE_IDS;
objtype_state = &OS_objtype_state[token->obj_type];
serial = OS_ObjectIdToSerialNumber_Impl(objtype_state->last_id_issued);
}

for (i = 0; i < max_id; ++i)
Expand Down
6 changes: 3 additions & 3 deletions src/os/vxworks/src/os-impl-console.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ int32 OS_ConsoleCreate_Impl(const OS_object_token_t *token)
int32 return_code;
OS_console_internal_record_t * console;

local = OS_OBJECT_TABLE_GET(OS_impl_console_table, *token);
console = OS_OBJECT_TABLE_GET(OS_console_table, *token);

if (OS_ObjectIndexFromToken(token) == 0)
{
return_code = OS_SUCCESS;

local = OS_OBJECT_TABLE_GET(OS_impl_console_table, *token);
console = OS_OBJECT_TABLE_GET(OS_console_table, *token);

if (console->IsAsync)
{
OS_DEBUG("%s(): Starting Async Console Handler\n", __func__);
Expand Down
Loading