1
0

Store device's names and add more startup messages

This commit is contained in:
2012-10-07 23:38:37 -04:00
parent d7f354221f
commit a64668b239
6 changed files with 19 additions and 3 deletions

View File

@ -20,11 +20,17 @@
#include <list.h>
#ifndef SERIAL_H
#define SERIAL_H
struct serial_dev {
//TODO add more functions and attributes here
char *name;
int (*putc)(char);
struct dlist_node list;
};
int serial_register_device(struct serial_dev *sdev);
struct serial_dev *serial_first_device();
#endif /* SERIAL_H */