Skip to content

Commit

Permalink
Fix nasa#1235, Follow-on format cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed Mar 24, 2022
1 parent 79e71cf commit 7e5419e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 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 @@ -42,7 +42,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
1 change: 0 additions & 1 deletion src/os/rtems/inc/os-rtems.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@

#endif


/****************************************************************************************
TYPEDEFS
***************************************************************************************/
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 @@ -225,7 +225,7 @@ int32 OS_ModuleUnload_Impl(const OS_object_token_t *token)
*-----------------------------------------------------------------*/
int32 OS_ModuleGetInfo_Impl(const OS_object_token_t *token, OS_module_prop_t *module_prop)
{
rtems_rtl_obj *obj;
rtems_rtl_obj * obj;
OS_impl_module_internal_record_t *impl;
int32 status = OS_ERROR;

Expand All @@ -240,12 +240,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 7e5419e

Please sign in to comment.