X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=kern%2Fsrc%2Fcon.h;fp=kern%2Fsrc%2Fcon.h;h=b5f8545576882ac624315044b73a907c8eba6f8c;hb=4c01dc176867a3486bf2bc4287343a14b891650f;hp=9a356fcc9102e4212027155ebc0d4613f558249d;hpb=d67095d0b91873967843394eb090f13e847c1e2d;p=eightysix diff --git a/kern/src/con.h b/kern/src/con.h index 9a356fc..b5f8545 100644 --- a/kern/src/con.h +++ b/kern/src/con.h @@ -3,9 +3,22 @@ struct console { void (*clear)(void*); - void (*putc)(void*, char c); + void (*putc)(void*, int c); void *data; }; +void con_init(struct console *con); + +void con_reset(struct console *con); +void con_setcolor(struct console *con, int fg, int bg); + +void con_setcur(struct console *con, int x, int y); +void con_getcur(struct console *con, int *x, int *y); +void con_pushcur(struct console *con); +void con_popcur(struct console *con); + +void con_putchar(struct console *con, int c); + + #endif /* CON_H_ */