Ignore:
Timestamp:
2013-03-10T22:35:19Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b4df8db
Parents:
40a0e3bd
Message:

Improvements of stack and istate_get() definitions.

  • Make sure each architecture has arch/stack.h in kernel.
  • Make each architecture define MEM_STACK_SIZE
  • istate_get() uses MEM_STACK_SIZE to allow for a greater flexibility in computing the address of the bottom of the memory stack.
  • This fixes istate_get() on ia64.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/arch/stack.h

    r40a0e3bd re4d96e9  
    3636#define KERN_ia64_STACK_H_
    3737
     38#include <config.h>
     39
     40#define MEM_STACK_SIZE  (STACK_SIZE / 2)
     41
    3842#define STACK_ITEM_SIZE                 8
    3943#define STACK_ALIGNMENT                 16
Note: See TracChangeset for help on using the changeset viewer.