mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 09:26:25 +08:00
src/lib/paramters: Add a new interface library for protected build user side
Implement an interface for protected build to access parameters. The implementation only does IOCTL calls to the kernel, where the parameters live. Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
committed by
Beat Küng
parent
41a7ae3db2
commit
0d31aadcc3
@@ -47,8 +47,9 @@
|
||||
#define _ORBIOCDEVBASE IOCTL_IDX_TO_BASE(0)
|
||||
#define _HRTIOCBASE IOCTL_IDX_TO_BASE(1)
|
||||
#define _CRYPTOIOCBASE IOCTL_IDX_TO_BASE(2)
|
||||
#define _BUILTINIOCBASE IOCTL_IDX_TO_BASE(3)
|
||||
#define MAX_IOCTL_PTRS 4
|
||||
#define _PARAMIOCBASE IOCTL_IDX_TO_BASE(3)
|
||||
#define _BUILTINIOCBASE IOCTL_IDX_TO_BASE(4)
|
||||
#define MAX_IOCTL_PTRS 5
|
||||
|
||||
/* The BUILTINIOCLAUNCH IOCTL is used to launch kernel side modules
|
||||
* from the user side code
|
||||
|
||||
Reference in New Issue
Block a user