Skip to content

Commit

Permalink
HotFix nasa#1221, Address Review Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astrogeco committed Mar 9, 2022
1 parent 1463ea9 commit 1baa7c1
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/os/rtems/inc/os-rtems.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@
#include <rtems/malloc.h>
#include <rtems/rtems/intr.h>

#ifndef _RTEMS_5_

#include <rtems/rtl/rtl.h> /* needed for RTEMS 4.11 alias */

#endif

#include "os-shared-globaldefs.h"

/****************************************************************************************
Expand All @@ -62,17 +68,25 @@
#define OSAL_UNRESOLVED_ITERATE rtems_rtl_unresolved_iterate

#else

#define OSAL_HEAP_INFO_BLOCK region_information_block
#define OSAL_UNRESOLV_REC_TYPE rtems_rtl_unresolv_rec_t
#define OSAL_UNRESOLVED_SYMBOL rtems_rtl_unresolved_name
#define OSAL_UNRESOLVED_ITERATE rtems_rtl_unresolved_interate
typedef rtems_rtl_obj_t rtems_rtl_obj;

#endif


/****************************************************************************************
TYPEDEFS
***************************************************************************************/

#ifndef _RTEMS_5_

typedef rtems_rtl_obj_t rtems_rtl_obj; /* Alias for RTEMS 4.11 */

#endif

typedef struct
{
uint32 ClockAccuracyNsec;
Expand Down

0 comments on commit 1baa7c1

Please sign in to comment.