Skip to content

Commit

Permalink
update code for comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
yajunxiaMS committed Jul 21, 2023
1 parent e56425d commit ef41d22
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ports_module/cortex_a7/gnu/inc/tx_port.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,6 @@ typedef unsigned short USHORT;
#define TX_TIMER_DELETE_EXTENSION(timer_ptr)


/* Determine if the ARM architecture has the CLZ instruction. This is available on
architectures v5 and above. If available, redefine the macro for calculating the
lowest bit set. */
#define TX_LOWEST_SET_BIT_CALCULATE(m, b) m = m & ((ULONG) (-((LONG) m))); \
asm volatile (" CLZ %0,%1 ": "=r" (b) : "r" (m) ); \
b = 31 - b;
Expand Down

0 comments on commit ef41d22

Please sign in to comment.