Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/config.h

    rfa24efa r34ae0a5  
    3737
    3838#include <arch/mm/page.h>
    39 #include <macros.h>
    4039
    41 #define STACK_FRAMES  2
    42 #define STACK_SIZE    FRAMES2SIZE(STACK_FRAMES)
     40#define ONE_FRAME    0
     41#define TWO_FRAMES   1
     42#define FOUR_FRAMES  2
    4343
    44 #define STACK_SIZE_USER  (1 * 1024 * 1024)
     44#define STACK_FRAMES  TWO_FRAMES
     45#define STACK_SIZE    ((1 << STACK_FRAMES) << PAGE_WIDTH)
     46
     47#define STACK_SIZE_USER (1 * 1024 * 1024)
    4548
    4649#define CONFIG_INIT_TASKS        32
    4750#define CONFIG_TASK_NAME_BUFLEN  32
    4851#define CONFIG_TASK_ARGUMENTS_BUFLEN 64
     52
     53/**
     54 * Maximum buffer size allowed for IPC_M_DATA_WRITE and IPC_M_DATA_READ
     55 * requests.
     56 */
     57#define DATA_XFER_LIMIT  (64 * 1024)
    4958
    5059#ifndef __ASM__
     
    8897        /** Size of initial stack. */
    8998        size_t stack_size;
    90        
     99
    91100        bool identity_configured;
    92101        /** Base address of the kernel identity mapped memory. */
     
    94103        /** Size of the kernel identity mapped memory. */
    95104        size_t identity_size;
    96        
    97         bool non_identity_configured;
    98        
     105
     106        bool non_identity_configured;   
     107
    99108        /** End of physical memory. */
    100109        uint64_t physmem_end;
Note: See TracChangeset for help on using the changeset viewer.