//kernel/trunk/generic/include/ipc/ipc.h |
---|
34,7 → 34,11 |
#define IPC_CALL_LEN 4 |
/** Maximum active async calls per thread */ |
#define IPC_MAX_ASYNC_CALLS 4 |
#ifdef CONFIG_DEBUG |
# define IPC_MAX_ASYNC_CALLS 4 |
#else |
# define IPC_MAX_ASYNC_CALLS 4000 |
#endif |
/* Flags for calls */ |
#define IPC_CALL_ANSWERED (1<<0) /**< This is answer to a call */ |
//kernel/trunk/generic/src/console/klog.c |
---|
41,9 → 41,12 |
SPINLOCK_INITIALIZE(klog_lock); |
/** Initialize kernel loggin facility |
/** Initialize kernel logging facility |
* |
* Allocate pages that are to be shared if uspace for console data |
* Allocate pages that are to be shared with uspace for console data. |
* The shared area is a circular buffer. Userspace application may |
* be notified on new data with indication of position and size |
* of the data within the circular buffer. |
*/ |
void klog_init(void) |
{ |