From 35c1120a6069414dd279b988eb772f4eec0966f7 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 Mar 2015 12:11:02 +0100 Subject: Clear screen from GIP client (in login) --- src/sysbin/giosrv/main.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/sysbin/giosrv') diff --git a/src/sysbin/giosrv/main.c b/src/sysbin/giosrv/main.c index 9dfd697..19d01f7 100644 --- a/src/sysbin/giosrv/main.c +++ b/src/sysbin/giosrv/main.c @@ -11,7 +11,6 @@ typedef struct { framebuffer_info_t mode; fd_t fd; - uint32_t features; } giosrv_t; void reset(gip_handler_t *s, gip_msg_header *p); @@ -72,9 +71,10 @@ void send_buffer_info(gip_handler_t *h, giosrv_t *s) { msg_data.geom = s->mode; if (!gen_token(s->fd, &msg_data.tok)) { - dbg_printf("Could not generate token for buffer_info_msg.\n"); + dbg_printf("[giosrv] Could not generate token for buffer_info_msg.\n"); } else { - dbg_printf("Token: %x %x\n", ((uint32_t*)&msg_data.tok)[0], ((uint32_t*)&msg_data.tok)[1]); + dbg_printf("[giosrv] Generated token: %x %x\n", + ((uint32_t*)&msg_data.tok)[0], ((uint32_t*)&msg_data.tok)[1]); gip_notify(h, &msg, &msg_data); } } @@ -82,8 +82,6 @@ void send_buffer_info(gip_handler_t *h, giosrv_t *s) { void reset(gip_handler_t *h, gip_msg_header *p) { giosrv_t *s = (giosrv_t*)h->data; - s->features = 0; - // ---- Send initiate message gip_msg_header msg = { .code = GIPR_INITIATE, -- cgit v1.2.3