[okl4-developer] Using 'PlatformControl'

Frank Kaiser frank.kaiser at opensynergy.com
Mon Aug 4 19:42:54 EST 2008


Hello

 

Due to some specific properties of my AT91SAM9263 platform I want to use
the SYSCALL 'PlatformControl'. This requires the address space of the
thread using it to have the access right of the related Security Domain.
Changes of access rights are possible with the SYSCALL
'SecurityControl', but the application of it has a special constraint
according to section A-11.12 of the OKL4 Microkernel Programming Manual:

The SecurityControl system call is privileged system call, that is, this
system call may only be invoked by a privileged thread belonging to the
roottask address space.

What does that mean for the implementation? The SYSCALL
'SecurityControl' has the parameter "Target address space", how does the
roottask thread know the address space identifier of the thread which
shall receive the access right? If a driver wants to use
'PlatformControl', how can it be assured that a roottask thread executes
the SYSCALL 'SecurityControl' in time? Is there an implementation
example showing more elaborate how to deal with this?

 

Regards

Frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080804/d7c65599/attachment.htm 


More information about the Developer mailing list