Reputation: 276
I want to do baremetal programming on a Dual-core A20 AllWinner ARM CPU. I don't have much experience on multi core programming. I have a question regarding bare metal multi core programming.
My assumption is that a Dual Core CPU will have two Program counters so that I can point them to two different codes and run them in parallel.
Is this true ? Could any one explain how is it in the case of an Dual-core A20 Allwinner CPU ?
Upvotes: 1
Views: 778
Reputation: 276
Yes. A dual core CPU will have 2 sets of same registers i.e one set for CPU0 and another set for CPU1.
Upvotes: 4