Ignore:
Timestamp:
2009-01-01T13:31:23Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7122bc7
Parents:
666773c
Message:

Console color support overhaul. Create C library console interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/ipc/console.h

    r666773c r9805cde  
    3333 */
    3434
    35 #ifndef LIBC_CONSOLE_H_
    36 #define LIBC_CONSOLE_H_
     35#ifndef LIBC_IPC_CONSOLE_H_
     36#define LIBC_IPC_CONSOLE_H_
    3737
    38 #define CONSOLE_GETCHAR         1026
    39 #define CONSOLE_PUTCHAR         1027
    40 #define CONSOLE_CLEAR           1028
    41 #define CONSOLE_GOTO            1029
    42 #define CONSOLE_GETSIZE         1030
    43 #define CONSOLE_FLUSH           1031
    44 #define CONSOLE_SET_STYLE       1032
    45 #define CONSOLE_CURSOR_VISIBILITY       1033
     38#include <ipc/ipc.h>
     39
     40typedef enum {
     41        CONSOLE_GETCHAR = IPC_FIRST_USER_METHOD,
     42        CONSOLE_PUTCHAR,
     43        CONSOLE_CLEAR,
     44        CONSOLE_GOTO,
     45        CONSOLE_GETSIZE,
     46        CONSOLE_FLUSH,
     47        CONSOLE_SET_STYLE,
     48        CONSOLE_SET_COLOR,
     49        CONSOLE_SET_RGB_COLOR,
     50        CONSOLE_CURSOR_VISIBILITY
     51} console_request_t;
    4652
    4753#endif
Note: See TracChangeset for help on using the changeset viewer.