aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin/giosrv
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2015-03-11 12:11:02 +0100
committerAlex Auvolat <alex@adnab.me>2015-03-11 12:11:02 +0100
commit35c1120a6069414dd279b988eb772f4eec0966f7 (patch)
treeae8ac18dc704b80a450692b6862f02d8b1ff186e /src/sysbin/giosrv
parentbde334e6393b142d9953328e9ea2881ce88a1a7b (diff)
downloadkogata-35c1120a6069414dd279b988eb772f4eec0966f7.tar.gz
kogata-35c1120a6069414dd279b988eb772f4eec0966f7.zip
Clear screen from GIP client (in login)
Diffstat (limited to 'src/sysbin/giosrv')
-rw-r--r--src/sysbin/giosrv/main.c8
1 files changed, 3 insertions, 5 deletions
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,