diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 13:08:23 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 13:08:23 +0100 |
commit | 052ca1dc143b1df2800f9c4e43daf80c96fb472e (patch) | |
tree | 942afa77e09d1e6d0b932cd8866fdf4a1f52f724 /src/sysbin | |
parent | 35c1120a6069414dd279b988eb772f4eec0966f7 (diff) | |
download | kogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.tar.gz kogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.zip |
Refactor ; add default font (8x16 standard VGA font).
Diffstat (limited to 'src/sysbin')
-rw-r--r-- | src/sysbin/giosrv/main.c | 2 | ||||
-rw-r--r-- | src/sysbin/login/main.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/sysbin/giosrv/main.c b/src/sysbin/giosrv/main.c index 19d01f7..fcb9360 100644 --- a/src/sysbin/giosrv/main.c +++ b/src/sysbin/giosrv/main.c @@ -9,7 +9,7 @@ #include <gip.h> typedef struct { - framebuffer_info_t mode; + fb_info_t mode; fd_t fd; } giosrv_t; diff --git a/src/sysbin/login/main.c b/src/sysbin/login/main.c index 1d5da8a..eac19e7 100644 --- a/src/sysbin/login/main.c +++ b/src/sysbin/login/main.c @@ -6,7 +6,7 @@ #include <gip.h> typedef struct { - framebuffer_info_t mode; + fb_info_t mode; size_t fb_size; void* map; @@ -71,7 +71,7 @@ void c_buffer_info(gip_handler_t *s, gip_msg_header *p, gip_buffer_info_msg *m) c->fd = use_token(&m->tok); if (c->fd != 0) { - memcpy(&c->mode, &m->geom, sizeof(framebuffer_info_t)); + memcpy(&c->mode, &m->geom, sizeof(fb_info_t)); dbg_printf("[login] Got buffer on FD %d, %dx%dx%d\n", c->fd, c->mode.width, c->mode.height, c->mode.bpp); |