You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
1.1 KiB

/* conf.c (GENERATED FILE; DO NOT EDIT) */
#include <xinu.h>
extern devcall ioerr(void);
extern devcall ionull(void);
/* Device independent I/O switch */
struct dentry devtab[] =
{
/**
* Format of entries is:
* dev-number, minor-number, dev-name,
* init, open, close,
* read, write, seek,
* getc, putc, control,
* dev-csr-address, intr-handler, irq
*/
/* CONSOLE is tty */
{ 0, 0, "CONSOLE",
(void *)ttyinit, (void *)ionull, (void *)ionull,
(void *)ttyread, (void *)ttywrite, (void *)ioerr,
(void *)ttygetc, (void *)ttyputc, (void *)ttycontrol,
(void *)0x40013800, (void *)ttyhandler, 53 },
/* NULLDEV is null */
{ 1, 0, "NULLDEV",
(void *)ionull, (void *)ionull, (void *)ionull,
(void *)ionull, (void *)ionull, (void *)ioerr,
(void *)ionull, (void *)ionull, (void *)ioerr,
(void *)0x0, (void *)ioerr, 0 },
/* NAMESPACE is nam */
{ 2, 0, "NAMESPACE",
(void *)naminit, (void *)namopen, (void *)ioerr,
(void *)ioerr, (void *)ioerr, (void *)ioerr,
(void *)ioerr, (void *)ioerr, (void *)ioerr,
(void *)0x0, (void *)ioerr, 0 }
};