- 27 Nov, 2016 2 commits
-
-
Szymon Janc authored
Applications expect service end handle as attribute value in userdata on discovery response callback. Jira: ZEP-1354 Change-Id: I664da4a7e054a531ad1c2c8cbc74367cb679ff03 Signed-off-by:
Szymon Janc <ext.szymon.janc@tieto.com>
-
Anas Nashif authored
Change-Id: Ieec2b3de4770e1717a826054e8264d1978ed23a8 Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 24 Nov, 2016 5 commits
-
-
Carles Cufi authored
bt_enable_raw() needs to be called before spawning the tx thread, otherwise there might be an HCI command processed from the UART before the HCI driver has been opened and therefore initialized. Change-Id: I050158bd48bebaf8fa2cf6b11efb54b531f70079 Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
Anas Nashif authored
Change-Id: I12bc617d6886050114d9f96cdf5935e36e79552a Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Johan Hedberg authored
Add changes to the Bluetooth subsystem since 1.5. Change-Id: I3a0554c7bc3c5d22cfb244c83152f3805809fd99 Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Javier B Perez authored
Added release-notes.rst file. Added MAINTAINER entry for the release notes. Change-Id: Ia2e7645c905e709f014e7d971337bcfc9cb59597 Signed-off-by:
Javier B Perez <javier.b.perez.hernandez@intel.com>
-
Benjamin Walsh authored
The assembler was passed immediate values that are too large for the limited Cortex-M0 thumb assembly. Load values in registers instead of using immediate values. Change-Id: Ib5541c92dea03e0efb1b88ab91eeb408d151a71b Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
- 23 Nov, 2016 27 commits
-
-
Vincenzo Frascino authored
This patch enables REBOOT when RUNTIME_NMI is selected via defconfig file. This action is required to prevent compilation errors. Change-Id: I06869cb86b1abc151974df66797a0b25ee62e166 Signed-off-by:
Vincenzo Frascino <vincenzo.frascino@linaro.org> (cherry picked from commit cc288335fbf9353b9c8af64fccefe96daa13dd8e)
-
Luiz Augusto von Dentz authored
If the original buffer cannot be reused, either by no having enough space for user data or if is fragmented, it can in fact be smaller than both the segment buffer and MPS. Change-Id: I59a537aff59c5d56b2883e9bd51f3a1a3932d348 Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
The segments need to be limited by the minimun of the segment buffer tailroom and tx MPS not the original buf length. Change-Id: I580a3bb61aa190ac0cdd3717bc06fd6e6e668304 Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Luiz Augusto von Dentz authored
k_sem_take return differ from nano_sem_take since it return 0 for successful case instead of 1. Change-Id: Ia39cd624d56dbc1c8e7f3558244bebf765da191d Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-
Szymon Janc authored
This is no longer needed after switch to unified kernel. Change-Id: Ie1f8dadb3f2e43ae6ccfbfaf1f754196f3237471 Signed-off-by:
Szymon Janc <ext.szymon.janc@tieto.com>
-
Szymon Janc authored
Those tests are now build with unified kernel. Change-Id: Idbc42bb77060cea0130d62cccdf2e40aeee89128 Signed-off-by:
Szymon Janc <ext.szymon.janc@tieto.com>
-
Szymon Janc authored
After switch to unified kernel this is no longer needed. Change-Id: If9877d3fa038dd873011fb780c7e767e150647ae Signed-off-by:
Szymon Janc <ext.szymon.janc@tieto.com>
-
Inaky Perez-Gonzalez authored
Coverity reported a block of deadcode in _prf() that seems to be a leftover carcass from a previous time. Replaced with a comment in case someone decides it was needed back. Change-Id: Id97e84f3279f807e6188371f27f6af157e6d5038 Coverity-ID: 131631 Signed-off-by:
Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
-
Inaky Perez-Gonzalez authored
This test case just exercises the PCI enumeration and there is no real way to test success/failure other than running it and the kernel not crashing. Moved to ztest. Retag so it is actually ran on QEMU/x86 and galileo once we deploy in the HW pool. Note this means that we need to force CONFIG_PCI on Qemu/x86, which can run this testcase. Change-Id: I85b64800f7d989357927b4a25777041047293b34 Signed-off-by:
Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
-
Ramesh Thomas authored
The app passes the index into an array storing power states instead of the power state to _sys_soc_power_state_post_ops Jira: ZEP-1341 Change-Id: I6ddf0a2dbadfd06aafbcafa88be7441e99694a51 Signed-off-by:
Ramesh Thomas <ramesh.thomas@intel.com>
-
Vincenzo Frascino authored
Zephyr kernel is unable to compile when CONFIG_RUNTIME_NMI is enabled in defconfig on ARM's architectures. This patch addresses the following issues: * In nmi.c _DefaultHandler() is referencing a function (_ScbSystemReset()) not defined in Zephyr. This has now been replaced with sys_arch_reboot. * nmi.h is included in ASM files and due to the usage of "extern" the compilation ends with an error. Added the directive _ASMLANGUAGE to prevent the problem. Jira: ZEP-1319 Change-Id: I7623ca97523cde04e4c6db40dc332d93ca801928 Signed-off-by:
Vincenzo Frascino <vincenzo.frascino@linaro.org>
-
Benjamin Walsh authored
It was possible for a dummy thread to be not timing, but not having timeout.delta_ticks_from_prev not be -1 at the same time, which is a big no-no. Use _init_thread_base() to do a full initialization of the dummy thread. Fixes ZEP-1312. Change-Id: I16a2373be3329c142cf26f5dca6bfdbe6014ac5e Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
Move _thread_base initialization to _init_thread_base(), remove mention of "nano" in timeouts init and move timeout init to _init_thread_base(). Initialize all base fields via the _init_thread_base in semaphore groups code. Change-Id: I05b70b06261f4776bda6d67f358190428d4a954a Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
Use the main stack during very early boot so that we can call memset on the interrupt and FIRQ stacks. Iniitalize the them before one of them is used for the rest of the pre-kernel initialization. Change-Id: Ib57856a66273dda9382e08fa91da5a54847b77c2 Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
Use the main stack during very early boot so that we can call memset on the interrupt stack. Initialize the interrupt stack before it is used for the rest of the pre-kernel initialization. Change-Id: I6fcc9a08678afdb82e83465cda1c7a2a8c849c9b Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Vinayak Chettimada authored
Renamed main_stack and idle_stack, to _main_stack and _idle_stack, respectively, and made them globals. This does not affect performance. They are still kept kernel private symbols and not part of kernel API. This will allow these symbols to be referenced in calls to stack_analyse misc functions to profile stack usage in applications. Change-id: Id6b746c5cfda617c26901c6e62c3e17114471f57 Signed-off-by:
Vinayak Chettimada <vinayak.kariappa.chettimada@nordicsemi.no>
-
Benjamin Walsh authored
Same issue as with ARM. ARC can use _Swap() though, because the call to it is serial, not generating a low-priority exception and interrupts are locked until the main() thread is context-switched into and the interrupt stack is released. Fixes ZEP-1310. Change-Id: Ie1f27f7ad0502191ca2867b5400d6e0bfb7f0fc6 Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
The ARM Cortex-M early boot was using a custom stack at the end of the SRAM instead of the interrupt stack. This works as long as no static data that needs a known initial value occupies that stack space. This has probably not been an issue because the .noinit section is at the very end of the image, but it was still wrong to use that region of memory for that initial stack. To be able to use the interrupt stack during early boot, the stack has to be released before an interrupt can happen. Since ARM Cortex-M uses PendSV as a very low priority exception for context switching, if a device driver installs and enables an interrupt during the PRE_KERNEL initialization points, an interrupt could take precedence over PendSV while the initial dummy thread has not yet been context switched of and thus released the interrupt stack. To address this, rather than using _Swap() and thus triggering PendSV, the initialization logic switches to the main stack and branches to _m...
-
Benjamin Walsh authored
It's possible that an architecture needs a custom way of switching to the main() task, rather than using _Swap() with a dummy thread. Change-Id: I14e9bc67be35174ff16209bcea27b18a069ff754 Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
Artifact from microkernel, for handling multiple pending tasks on nanokernel objects. Change-Id: I3c2959ea2b87f568736384e6534ce8e275f1098f Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
James Fagan authored
The reference and polarity fields of the config struct which is passed to qm_set_config are never cleared, meaning the wrong configuration may be written if aio_set_config is called for different sets of pins in the same program. This patch clears these fields in aio_cmp_disable to prevent such an issue. Change-Id: I8feabae1f3d9fa4c7260d94c1ec919ef2fb84bfb Signed-off-by:
James Fagan <james.p.fagan@intel.com>
-
Marcus Shawcroft authored
Change-Id: Ibc01d35199c643e186b58282af971975c0999e8b Signed-off-by:
Marcus Shawcroft <marcus.shawcroft@arm.com>
-
Marcus Shawcroft authored
Change-Id: Ief1cd5c231b9b87ac7a0a80c2c005560fd29652b Signed-off-by:
Marcus Shawcroft <marcus.shawcroft@arm.com>
-
Tomasz Bursztyka authored
Change-Id: If6ba2f5a03967ca2ddca8d4bc211bc0c55ae0312 Signed-off-by:
Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
-
Mahavir Jain authored
Change-Id: I5c1b08aea675ae9a9f636a1e8f0de5684dc403de Signed-off-by:
Mahavir Jain <mjain@marvell.com>
-
Flavio Santes authored
This commit fixes the issue reported by Coverity: an array compared against NULL is always false. Coverity-CID: 143715 Coverity-CID: 143730 Change-Id: Ie3c87f892c2b2a337981125e2a92c37c579d4b38 Signed-off-by:
Flavio Santes <flavio.santes@intel.com>
-
Flavio Santes authored
This commit fixes the issue reported by Coverity: an array compared against NULL is always false. Coverity-CID: 143687 Coverity-CID: 143737 Coverity-CID: 143740 Change-Id: Id94a144c47b3377876695e86da8c0c33a989ec99 Signed-off-by:
Flavio Santes <flavio.santes@intel.com>
-
- 21 Nov, 2016 1 commit
-
-
Iván Briano authored
The way the build system works, the Makefiles under ext/hal/* are being included unconditionally, so anything they add to the build flags needs to be protected by the correct configuration value. Change-Id: I238e04cd836dd9e4c5d83040822039c68abb6b17 Signed-off-by:
Iván Briano <ivan.briano@intel.com>
-
- 19 Nov, 2016 1 commit
-
-
Anas Nashif authored
Change-Id: I930d11d2e41af3b77513531b8944ba77b5c5b278 Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
- 18 Nov, 2016 4 commits
-
-
Benjamin Walsh authored
To have one project use more than 32 priorities. The preempt priorities are also aligned so that they straddle two priority bitmaps. Change-Id: I0f0862110d876e40fde45a0d105b769e8603d644 Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Benjamin Walsh authored
In addition to more priorities taking more memory to host them, finding the next thread to run when it is not cached is slower since each extra set of 32 priorities maps to a loop iteration. That loop is remove entirely when the number of priorities is less than 32 (31 + the idle thread). Fixes ZEP-1303. Change-Id: I3205df90d379a0f4456ff1d7f1aaa67ad2cddf15 Signed-off-by:
Benjamin Walsh <benjamin.walsh@windriver.com>
-
Juan Manuel Cruz authored
In windows systems the rename() function fails if the new name of the original file corresponds to a file that already exists. The fix removes the new file before renaming the original one. Jira: ZEP-980 Change-Id: Ib3a43db86c0dd3fabb592f53ea7619eb5738bb65 Signed-off-by:
Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com>
-
Juan Manuel Cruz authored
Jira: ZEP-1302 Change-Id: Ia58d51aee14281aaeb2f8e85fbbf8c250eae8e06 Signed-off-by:
Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com>
-