Browsing index pages (3 articles)
↧
ARM assembly inline C mutex impelmentation
I am working on an embedded systems project using the Xilinx Zedboard. The board has the ability to asymmetrically split it's dual core ARM A9 processor to run two separate programs simultaneously....
View ArticleAnswer by auselen for ARM assembly inline C mutex impelmentation
Why don't you use GNU assembly? It should look something like this.equ locked,1.equ unlocked,0@ lock_mutex@ Declare for use from C as extern void lock_mutex(void * mutex); .global lock_mutexlock_mutex:...
View ArticleAnswer by haihappen for ARM assembly inline C mutex impelmentation
As for why your code hangs, this could be because of the WFE instruction.If no event happens, it will do nothing. Forever.Check prior if events are enabled and produced.(Also, check the useage...
View Article
Browsing index pages (3 articles)