[riot-commits] [RIOT-OS/RIOT] 05d4b2: cpu/native: fix thread_stack_init

Joseph Noir josephnoir at users.noreply.github.com
Tue Jul 26 20:39:18 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 05d4b2f8fafe09a03fc3bc3024dbb8750a3587af
      https://github.com/RIOT-OS/RIOT/commit/05d4b2f8fafe09a03fc3bc3024dbb8750a3587af
  Author: Ludwig Knüpfer <ludwig.knuepfer at fu-berlin.de>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M cpu/native/native_cpu.c

  Log Message:
  -----------
  cpu/native: fix thread_stack_init

The pointer arithmetic for the calculation of the context storage was off
due to the change of the stack's pointer type from unsigned int to char.
Fix offset calculation by not adjusting for unsigned int width anymore.


  Commit: 2dcce17bca0aecc73bcab3f3db7f6dd89258edac
      https://github.com/RIOT-OS/RIOT/commit/2dcce17bca0aecc73bcab3f3db7f6dd89258edac
  Author: Joseph Noir <josephnoir at users.noreply.github.com>
  Date:   2016-07-26 (Tue, 26 Jul 2016)

  Changed paths:
    M cpu/native/native_cpu.c

  Log Message:
  -----------
  Merge pull request #5682 from LudwigKnuepfer/pr/fix-5680

cpu/native: fix thread_stack_init


Compare: https://github.com/RIOT-OS/RIOT/compare/eea0dd4e3227...2dcce17bca0a


More information about the commits mailing list