Skip to contentSkip to conversation

passing memory pointers through sysfs

Xenomai-core Philippe Gerum 1 participant 1 message May 4, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 5 lines · NZG

Our Blackfin boards use memory mapped PLD's to create expandable io interfaces.
I've created a driver which detects the version of PLD core and creates appropriate sysfs classes for it, providing a simple interface.

Quoted 8 lines

I want Xenomai to have access to the devices in the PLD, which mean that ideally, I want the kernel to hand the real time user space applications a memory map of the PLD.

Ideally, I'd like create device node(s) through sysfs, which Xenomai could then access on initialization to get a memory map for it's devices.

Is this possible?

Is your question about accessing the device node from a user-space Xenomai thread (which is ok), or about making use of the retrieved memory map information to map the device memory?

Signature · 1 line
Philippe.