mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 09:05:06 +08:00
bsps/arm: Fix Cortex-A9 MPCore nanoseconds handler
This commit is contained in:
@@ -129,7 +129,7 @@ static uint32_t a9mpcore_clock_nanoseconds_since_last_tick(void)
|
||||
n = gt->cmpvallower - i;
|
||||
}
|
||||
|
||||
return (uint32_t) (((c - n - i) * k) >> 32);
|
||||
return (uint32_t) (((c - n + i) * k) >> 32);
|
||||
}
|
||||
|
||||
#define Clock_driver_support_at_tick() \
|
||||
|
||||
Reference in New Issue
Block a user