[PATCH v3] score: Fix simple timecounter support
martin.galvan at tallertechnologies.com
Thu Jan 14 13:44:06 UTC 2016
Thanks a lot for this patch. We've tested it and so far it's working fine.
However we have a couple of questions:
1) Is there a reason why you're using the ARMV7M_Timecounter struct instead of
simply having a global boolean like we did in our patch? That pointer casting
trick seems a bit unsafe.
2) I saw you're using rtems_interrupt_disable/enable instead of
Timecounter_Acquire/Release. Is there any particular reason for this?
More information about the devel