Changeset 361635c in mainline for include/config.h


Ignore:
Timestamp:
2005-08-25T20:58:07Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fde6429
Parents:
cfd6efd2
Message:

Preparations for weaker preemption model.
Make all kernel stacks (i.e. startup, scheduler and thread) be STACK_SIZE bytes long.
Reincarnate "the" structure. This time, it is planned to be located at the base of each and every kernel stack.
On IA-32 and MIPS, implement get_stack_base() functions. On the rest of supported platforms, define it to be dummy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/config.h

    rcfd6efd2 r361635c  
    3232#include <arch/types.h>
    3333#include <typedefs.h>
     34#include <arch/mm/page.h>
     35
     36#define STACK_SIZE              PAGE_SIZE
    3437
    3538#define CONFIG_MEMORY_SIZE      4*1024*1024
    3639#define CONFIG_HEAP_SIZE        300*1024
    37 #define CONFIG_STACK_SIZE       32*1024
     40#define CONFIG_STACK_SIZE       STACK_SIZE
    3841
    3942struct config {
Note: See TracChangeset for help on using the changeset viewer.