[riot-commits] [RIOT-OS/RIOT] 791c57: cortex-m4_common: Refactor context save/restore

Hauke Petersen mail at haukepetersen.de
Wed Mar 25 18:21:11 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 791c57720a7fba7b1abe9b63cb863ced2db9233d
      https://github.com/RIOT-OS/RIOT/commit/791c57720a7fba7b1abe9b63cb863ced2db9233d
  Author: Joakim Gebart <joakim.gebart at eistec.se>
  Date:   2015-03-21 (Sat, 21 Mar 2015)

  Changed paths:
    M cpu/cortex-m4_common/thread_arch.c

  Log Message:
  -----------
  cortex-m4_common: Refactor context save/restore

Clang 3.6 is stricter than GCC and previous releases of Clang regarding
naked functions and now only allows inline asm inside naked functions.

This is a refactoring of the functions isr_pendsv, isr_svc,
context_save, context_restore to still be naked functions but allow
building with Clang 3.6


  Commit: ad69413d22a3183e6965cfd48677df9d5cbcdbe1
      https://github.com/RIOT-OS/RIOT/commit/ad69413d22a3183e6965cfd48677df9d5cbcdbe1
  Author: Hauke Petersen <mail at haukepetersen.de>
  Date:   2015-03-25 (Wed, 25 Mar 2015)

  Changed paths:
    M cpu/cortex-m4_common/thread_arch.c

  Log Message:
  -----------
  Merge pull request #2669 from gebart/pr/cortex-thread-arch-asm

cortex-m4_common: Refactor context save/restore


Compare: https://github.com/RIOT-OS/RIOT/compare/985a6525ccea...ad69413d22a3


More information about the commits mailing list