Changeset 7216322 in rtems-lwip


Ignore:
Timestamp:
03/09/23 12:11:51 (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a211bce
Parents:
5fc0ade
git-author:
Sebastian Huber <sebastian.huber@…> (03/09/23 12:11:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/24/23 10:30:50)
Message:

Add sys_arch_data_sync_barier() for RTEMS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uLan/ports/os/rtems/arch/sys_arch.h

    r5fc0ade r7216322  
    125125  rtems_interrupt_enable(pval);
    126126}
    127 
    128 static inline void
    129 sys_arch_data_sync_barier(void){
    130   _ARM_Data_synchronization_barrier();
    131 }
    132127#else
    133128sys_prot_t sys_arch_protect();
     
    136131#endif
    137132
     133static inline void
     134sys_arch_data_sync_barier(void)
     135{
     136#ifdef __arm__
     137  _ARM_Data_synchronization_barrier();
     138#endif
     139}
     140
    138141#endif /* __ARCH_SYS_ARCH_H__ */
Note: See TracChangeset for help on using the changeset viewer.