Ignore:
File:
1 edited

Legend:

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

    r3b3faf51 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)
    4546
    46 #define CONFIG_BOOT_ARGUMENTS_BUFLEN 256
     47#define STACK_SIZE_USER (1 * 1024 * 1024)
    4748
    4849#define CONFIG_INIT_TASKS        32
    4950#define CONFIG_TASK_NAME_BUFLEN  32
    5051#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)
    5158
    5259#ifndef __ASM__
     
    9097        /** Size of initial stack. */
    9198        size_t stack_size;
    92        
     99
    93100        bool identity_configured;
    94101        /** Base address of the kernel identity mapped memory. */
     
    96103        /** Size of the kernel identity mapped memory. */
    97104        size_t identity_size;
    98        
    99         bool non_identity_configured;
    100        
     105
     106        bool non_identity_configured;   
     107
    101108        /** End of physical memory. */
    102109        uint64_t physmem_end;
     
    104111
    105112extern config_t config;
    106 extern char bargs[];
    107113extern init_t init;
    108114extern ballocs_t ballocs;
Note: See TracChangeset for help on using the changeset viewer.