Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel'
[palacios.git] / kitten / include / lwk / console.h
1 #ifndef _LWK_CONSOLE_H
2 #define _LWK_CONSOLE_H
3
4 #include <lwk/list.h>
5 #include <lwk/compiler.h>
6
7 /** Console structure.
8  *
9  * Each console in the system is represented by one of these
10  * structures.  A console driver (e.g., VGA, Serial) fills in
11  * one of these structures and passes it to ::console_register().
12  */
13 struct console {
14         char    name[64];
15         void    (*write)(struct console *, const char *);
16         void *  private_data;
17
18         struct list_head next;
19 };
20
21 extern void console_register(struct console *);
22 extern void console_write(const char *);
23 extern void console_init(void);
24
25 #endif