Skip to content

Commit

Permalink
HOTFIX IC:Caelum-rc4+dev6, Fix failed format check
Browse files Browse the repository at this point in the history
  • Loading branch information
astrogeco committed Mar 17, 2022
1 parent fafb045 commit f2719c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/os/inc/osapi-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
*/
#define OS_MAJOR_VERSION 5 /*!< @brief ONLY APPLY for OFFICIAL releases. Major version number. */
#define OS_MINOR_VERSION 0 /*!< @brief ONLY APPLY for OFFICIAL releases. Minor version number. */
#define OS_REVISION 99 /*!< * Set to 0 on OFFICIAL releases, and set to 99 on development versions. Revision number. */
#define OS_REVISION \
99 /*!< * Set to 0 on OFFICIAL releases, and set to 99 on development versions. Revision number. */

/*!
* @brief Mission revision.
Expand Down
14 changes: 7 additions & 7 deletions src/os/rtems/src/os-impl-loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ int32 OS_ModuleLoad_Impl(const OS_object_token_t *token, const char *translated_
{
int32 status = OS_ERROR;
int unresolved;
void * dl_handle;
void *dl_handle;
OS_impl_module_internal_record_t *impl;

impl = OS_OBJECT_TABLE_GET(OS_impl_module_table, *token);
Expand Down Expand Up @@ -242,12 +242,12 @@ int32 OS_ModuleGetInfo_Impl(const OS_object_token_t *token, OS_module_prop_t *mo
if (obj != NULL)
{
module_prop->addr.valid = true;
module_prop->addr.code_address = (cpuaddr) obj->text_base;
module_prop->addr.code_size = (cpuaddr) rtems_rtl_obj_text_size(obj);
module_prop->addr.data_address = (cpuaddr) obj->data_base;
module_prop->addr.data_size = (cpuaddr) rtems_rtl_obj_data_size(obj);
module_prop->addr.bss_address = (cpuaddr) obj->bss_base;
module_prop->addr.bss_size = (cpuaddr) rtems_rtl_obj_bss_size(obj);
module_prop->addr.code_address = (cpuaddr)obj->text_base;
module_prop->addr.code_size = (cpuaddr)rtems_rtl_obj_text_size(obj);
module_prop->addr.data_address = (cpuaddr)obj->data_base;
module_prop->addr.data_size = (cpuaddr)rtems_rtl_obj_data_size(obj);
module_prop->addr.bss_address = (cpuaddr)obj->bss_base;
module_prop->addr.bss_size = (cpuaddr)rtems_rtl_obj_bss_size(obj);

status = OS_SUCCESS;
}
Expand Down

0 comments on commit f2719c4

Please sign in to comment.