ardupilot/libraries/AP_HAL_Linux
Lucas De Marchi f049c8e4c5 AP_HAL_Linux: remove needless call to mlockall()
All threads share the same address space and have the same pages locked
into memory so it's not necessary to call mlockall() for each of them.

Grepping /proc/<tid>/status gives the same VmLck for all of them, even
when only the main thread locks the memory:

    # for i in `seq 477 482`; do \
	name=$(cat /proc/$i/comm); \
	vm=$(cat /proc/$i/status |grep VmLck); \
        echo -e "$name\t$vm"; \
    done
    ArduCopter.elf  VmLck:     57868 kB
    sched-timer     VmLck:     57868 kB
    sched-uart      VmLck:     57868 kB
    sched-rcin      VmLck:     57868 kB
    sched-tonealarm VmLck:     57868 kB
    sched-io        VmLck:     57868 kB
2015-04-14 09:17:21 +10:00
..
examples/BusTest HAL_Linux: fixed build of BusTest 2014-08-19 10:08:16 +10:00
AnalogIn.cpp HAL_Linux: use board subtypes 2014-07-14 09:44:35 +10:00
AnalogIn.h AP_HAL: added board_voltage AnalogIn method 2014-02-14 21:25:38 +11:00
AP_HAL_Linux_Main.h HAL_Linux: use board subtypes 2014-07-14 09:44:35 +10:00
AP_HAL_Linux_Namespace.h AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
AP_HAL_Linux_Private.h AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
AP_HAL_Linux.h HAL_Linux: use board subtypes 2014-07-14 09:44:35 +10:00
dsm.cpp HAL_Linux: fixed build warnings 2014-10-09 16:49:23 +11:00
dsm.h HAL_Linux: added low level DSM decoder 2014-10-08 12:50:50 +11:00
GPIO_BBB.cpp AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
GPIO_BBB.h AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
GPIO_RPI.cpp AP_HAL_Linux: fixed LinuxGPIO_RPI::read() 2014-11-14 10:28:34 +11:00
GPIO_RPI.h HAL_Linux: fix types, remove printfs in GPIO_RPI 2014-11-14 10:28:34 +11:00
GPIO.cpp HAL_Linux: add GPIO driver for Raspberry Pi 2014-10-30 13:30:07 +11:00
GPIO.h AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
HAL_Linux_Class.cpp AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
HAL_Linux_Class.h AP_HAL_Linux: initial Linux AP_HAL 2013-09-28 21:24:01 +10:00
I2CDriver.cpp HAL_Linux: made I2C driver more portable 2014-07-15 13:56:50 +10:00
I2CDriver.h HAL_Linux: include readRegistersMultiple in I2CDriver 2014-07-14 09:28:42 +10:00
NavioAnalogIn.cpp AP_HAL_Linux: added NavioAnalogIn 2015-02-12 12:57:45 +11:00
NavioAnalogIn.h AP_HAL_Linux: added NavioAnalogIn 2015-02-12 12:57:45 +11:00
RCInput_AioPRU.cpp AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
RCInput_AioPRU.h AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
RCInput_Navio.cpp HAL_Linux: add prototype RCInput code for Navio 2014-11-14 10:28:34 +11:00
RCInput_Navio.h HAL_Linux: add prototype RCInput code for Navio 2014-11-14 10:28:34 +11:00
RCInput_PRU.cpp AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
RCInput_PRU.h hal_ap_linux: Make PRU constants private to reduce #define namespace pollution. 2014-10-30 13:51:41 +11:00
RCInput_ZYNQ.cpp HAL_Linux: RCInput support for Zynq 2014-11-14 14:10:35 +11:00
RCInput_ZYNQ.h HAL_Linux: RCInput support for Zynq 2014-11-14 14:10:35 +11:00
RCInput.cpp HAL_Linux: accept a smaller sync pulse width 2015-02-08 21:47:28 +11:00
RCInput.h HAL_Linux: Basic Zynq Linux platform support 2014-11-14 10:21:04 +11:00
RCOutput_AioPRU.cpp AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
RCOutput_AioPRU.h AP_HAL_Linux: Add RcInput and RcOutput with only one PRU when using a BBB. BBBMINI use the RC AIO PRU firmware already 2015-03-16 09:33:54 +11:00
RCOutput_Navio.cpp HAL_Linux: Enable PCA9685 output after its setup 2015-01-09 06:38:21 +11:00
RCOutput_Navio.h AP_HAL_Linux: enable output for PCA9685 PWM in NavioRCOuput 2015-01-07 08:41:12 +11:00
RCOutput_PRU.cpp HAL_Linux: split off RCOutput class to be specific to PXF and ERLE 2014-08-19 20:03:33 +10:00
RCOutput_PRU.h hal_ap_linux: Make PRU constants private to reduce #define namespace pollution. 2014-10-30 13:51:41 +11:00
RCOutput_ZYNQ.cpp HAL_Linux: RCInput support for Zynq 2014-11-14 14:10:35 +11:00
RCOutput_ZYNQ.h AP_HAL_Linux: Fix compiler warning of MAX_PWMS redefinition (previously defined) 2015-04-06 15:34:50 -07:00
sbus.cpp HAL_Linux: fixed build warnings 2014-10-09 16:49:23 +11:00
sbus.h HAL_Linux: added SBUS decoder from PX4 project 2014-10-07 14:57:34 +11:00
Scheduler.cpp AP_HAL_Linux: remove needless call to mlockall() 2015-04-14 09:17:21 +10:00
Scheduler.h AP_HAL_Linux: use a table to initialize threads 2015-04-14 09:17:21 +10:00
Semaphores.cpp HAL_Linux: implement millis64() and micros64() 2014-08-20 08:00:21 +10:00
Semaphores.h HAL_Linux: use board subtypes 2014-07-14 09:44:35 +10:00
SPIDriver.cpp AP_HAL_Linux: BBBMINI use kernel CS now 2015-03-16 09:15:06 +11:00
SPIDriver.h AP_HAL_Linux: add support for BBBMINI, simple ArduPilot DIY Cape for the BeagleBone Black 2015-01-12 21:36:40 +13:00
SPIUARTDriver.cpp AP_HAL_Linux: take the semaphore in SPIUARTDriver for shorter periods of time 2015-02-12 12:52:56 +11:00
SPIUARTDriver.h AP_HAL_Linux: added LinuxSPIUARTDriver that can handle SPI-driven Ublox 2015-01-07 08:41:12 +11:00
Storage_FRAM.cpp HAL_Linux: fixed some warnings 2014-11-08 11:49:09 +11:00
Storage_FRAM.h HAL_Linux:Create subclass to handle FRAM Storage under main Storage Class 2014-11-08 11:36:09 +11:00
Storage.cpp HAL_Linux: re-fix dirty mask bug in Storage 2014-11-08 11:55:55 +11:00
Storage.h HAL_Linux:Create subclass to handle FRAM Storage under main Storage Class 2014-11-08 11:36:09 +11:00
ToneAlarmDriver.cpp HAL_Linux:create ToneAlarmDriver as a separate class 2014-11-15 16:59:06 +11:00
ToneAlarmDriver.h HAL_Linux: added ToneAlarmDriver.h 2014-11-15 21:25:55 +11:00
UARTDriver.cpp HAL_Linux: use common RingBuffer.h 2015-01-07 08:41:14 +11:00
UARTDriver.h AP_HAL_Linux: added LinuxSPIUARTDriver that can handle SPI-driven Ublox 2015-01-07 08:41:12 +11:00
Util.cpp HAL_Linux: fixed #if for linux builds 2015-01-22 15:58:20 +11:00
Util.h HAL_Linux: Add set_system_clock 2015-01-22 15:43:16 +11:00