Ignore:
File:
1 edited

Legend:

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

    r34ae0a5 r3b3faf51  
    3737
    3838#include <arch/mm/page.h>
     39#include <macros.h>
    3940
    40 #define ONE_FRAME    0
    41 #define TWO_FRAMES   1
    42 #define FOUR_FRAMES  2
     41#define STACK_FRAMES  2
     42#define STACK_SIZE    FRAMES2SIZE(STACK_FRAMES)
    4343
    44 #define STACK_FRAMES  TWO_FRAMES
    45 #define STACK_SIZE    ((1 << STACK_FRAMES) << PAGE_WIDTH)
     44#define STACK_SIZE_USER  (1 * 1024 * 1024)
    4645
    47 #define STACK_SIZE_USER (1 * 1024 * 1024)
     46#define CONFIG_BOOT_ARGUMENTS_BUFLEN 256
    4847
    4948#define CONFIG_INIT_TASKS        32
    5049#define CONFIG_TASK_NAME_BUFLEN  32
    5150#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)
    5851
    5952#ifndef __ASM__
     
    9790        /** Size of initial stack. */
    9891        size_t stack_size;
    99 
     92       
    10093        bool identity_configured;
    10194        /** Base address of the kernel identity mapped memory. */
     
    10396        /** Size of the kernel identity mapped memory. */
    10497        size_t identity_size;
    105 
    106         bool non_identity_configured;   
    107 
     98       
     99        bool non_identity_configured;
     100       
    108101        /** End of physical memory. */
    109102        uint64_t physmem_end;
     
    111104
    112105extern config_t config;
     106extern char bargs[];
    113107extern init_t init;
    114108extern ballocs_t ballocs;
Note: See TracChangeset for help on using the changeset viewer.