Changeset 1258229 in rtems for c/src/lib/libbsp/arm/raspberrypi

Timestamp:
05/19/16 08:34:18 (8 years ago)
Author:
Pavel Pisa <ppisa@…>
Branches:
5, master
Children:
33e39d31
Parents:
4b62192f
git-author:
Pavel Pisa <ppisa@…> (05/19/16 08:34:18)
git-committer:
Pavel Pisa <ppisa@…> (05/19/16 11:21:40)
Message:

arm/raspberrypi: add locking around GPIO pin function selection.

This is required if function or direction is changed by some driver
after start of thread multitasking or in interrupts drivers.

There can be problem with calling GPIO function selection before
data section is initialized. But actual ticket lock implementation
seems to be compatible even with memory initialized to zero oven
on SMP.

(No files)

Note: See TracChangeset for help on using the changeset viewer.