00001 /* $Id: config.h 31002 2008-01-27 13:11:30Z adam $ */ 00002 /** 00003 * \file con/server/src/config.h 00004 * \brief con configuration macros 00005 * 00006 * \date 2001 00007 * \author Christian Helmuth <ch12@os.inf.tu-dresden.de> 00008 * Frank Mehnert <fm3@os.inf.tu-dresden.de> */ 00009 00010 /* (c) 2003 'Technische Universitaet Dresden' 00011 * This file is part of the con package, which is distributed under 00012 * the terms of the GNU General Public License 2. Please see the 00013 * COPYING file for details. */ 00014 00015 /* malloc */ 00016 #define CONFIG_MALLOC_MAX_SIZE (128*1024) 00017 00018 /* vc */ 00019 #define CONFIG_MAX_VC 20 /* number of virtual consoles */ 00020 #define CONFIG_MAX_SBUF_SIZE (4*256*256) /* max string buffer */ 00021 00022 /* We assume that a client does l4_ipc_call for requests => snd to 0. 00023 * We want to leave the main loop from time to time => rcv to 50ms */ 00024 #define REQUEST_TIMEOUT l4_ipc_timeout(0,1,780,6) 00025 00026 /* We want to push an event to a client (send-only IPC) 00027 * The event handler may be busy handling the last event => snd to 100ms. */ 00028 #define EVENT_TIMEOUT l4_ipc_timeout(781,7,0,0) 00029 00030 #define CONFIG_MAX_CLIENTS 4