Changeset 68a552f in mainline for uspace/lib/c/include


Ignore:
Timestamp:
2021-02-22T19:52:08Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26853ebc
Parents:
2ab8ab3
Message:

Efficient way of rendering to the console via shared buffer

Makes congfx reasonably fast

Location:
uspace/lib/c/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/io/con_srv.h

    r2ab8ab3 r68a552f  
    11/*
    2  * Copyright (c) 2012 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3939#include <async.h>
    4040#include <fibril_synch.h>
     41#include <io/charfield.h>
    4142#include <io/color.h>
    4243#include <io/concaps.h>
     
    8384        void (*set_cursor_visibility)(con_srv_t *, bool);
    8485        errno_t (*get_event)(con_srv_t *, cons_event_t *);
     86        errno_t (*map)(con_srv_t *, sysarg_t, sysarg_t, charfield_t **);
     87        void (*unmap)(con_srv_t *);
     88        void (*update)(con_srv_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t);
    8589};
    8690
  • uspace/lib/c/include/io/console.h

    r2ab8ab3 r68a552f  
    11/*
    2  * Copyright (c) 2008 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3737
    3838#include <time.h>
     39#include <io/charfield.h>
    3940#include <io/concaps.h>
    4041#include <io/kbd_event.h>
     
    8687extern bool console_get_event_timeout(console_ctrl_t *, cons_event_t *,
    8788    usec_t *);
     89extern errno_t console_map(console_ctrl_t *, sysarg_t, sysarg_t,
     90    charfield_t **);
     91extern void console_unmap(console_ctrl_t *, charfield_t *);
     92extern errno_t console_update(console_ctrl_t *, sysarg_t, sysarg_t, sysarg_t,
     93    sysarg_t);
    8894
    8995#endif
  • uspace/lib/c/include/ipc/console.h

    r2ab8ab3 r68a552f  
    11/*
     2 * Copyright (c) 2021 Jiri Svoboda
    23 * Copyright (c) 2006 Josef Cejka
    34 * All rights reserved.
     
    4849        CONSOLE_SET_COLOR,
    4950        CONSOLE_SET_RGB_COLOR,
    50         CONSOLE_SET_CURSOR_VISIBILITY
     51        CONSOLE_SET_CURSOR_VISIBILITY,
     52        CONSOLE_MAP,
     53        CONSOLE_UNMAP,
     54        CONSOLE_UPDATE
    5155} console_request_t;
    5256
Note: See TracChangeset for help on using the changeset viewer.