49,8 → 49,8 |
|
struct { |
int phone; /**< Framebuffer phone */ |
int rows; /**< Framebuffer rows */ |
int cols; /**< Framebuffer columns */ |
ipcarg_t rows; /**< Framebuffer rows */ |
ipcarg_t cols; /**< Framebuffer columns */ |
} fb_info; |
|
typedef struct { |
62,6 → 62,8 |
screenbuffer_t screenbuffer; |
} connection_t; |
|
|
|
connection_t connections[CONSOLE_COUNT]; |
|
static int find_free_connection() |
154,7 → 156,10 |
int i, j; |
char c,d; |
connection_t *conn; |
keyfield_t *interbuffer = NULL; |
|
// interbuffer = mmap(,, PROTO_READ|PROTO_WRITE, MAP_ANONYMOUS, , ); |
|
/* Ignore parameters, the connection is alread opened */ |
while (1) { |
callid = async_get_call(&call); |
296,7 → 301,6 |
if (ipc_connect_to_me(kbd_phone, SERVICE_CONSOLE, 0, &phonehash) != 0) { |
return -1; |
}; |
async_new_connection(phonehash, 0, NULL, keyboard_events); |
|
/* Connect to framebuffer driver */ |
|
322,6 → 326,8 |
} |
} |
|
async_new_connection(phonehash, 0, NULL, keyboard_events); |
|
ipc_call_async_2(fb_info.phone, FB_CURSOR_GOTO, 0, 0, NULL, NULL); |
|
if (ipc_connect_to_me(PHONE_NS, SERVICE_CONSOLE, 0, &phonehash) != 0) { |