XINU
Data Structures | Macros | Variables
conf.h File Reference

Go to the source code of this file.

Data Structures

struct  dentry
 

Macros

#define CLKFREQ   200000000 /* 200 MHz clock */
 
#define CONSOLE   0 /* type tty */
 
#define ETHER0   6 /* type eth */
 
#define GPIO0   1 /* type gpio */
 
#define GPIO1   2 /* type gpio */
 
#define GPIO2   3 /* type gpio */
 
#define GPIO3   4 /* type gpio */
 
#define IRQ_ATH_MISC   IRQ_HW4 /* Misc. IRQ is wired to hardware 4 */
 
#define IRQ_TIMER   IRQ_HW5 /* timer IRQ is wired to hardware 5 */
 
#define IRQBASE   32 /* base ivec for IRQ0 */
 
#define LF_DISK_DEV   RAM0
 
#define LFILE0   22 /* type lfl */
 
#define LFILE1   23 /* type lfl */
 
#define LFILE2   24 /* type lfl */
 
#define LFILE3   25 /* type lfl */
 
#define LFILE4   26 /* type lfl */
 
#define LFILE5   27 /* type lfl */
 
#define LFILESYS   21 /* type lfs */
 
#define NAMESPACE   7 /* type nam */
 
#define NDEVS   30
 
#define Neth   1
 
#define Ngpio   4
 
#define Nlfl   6
 
#define Nlfs   1
 
#define Nnam   1
 
#define Nnull   1
 
#define NPROC   100 /* number of user processes */
 
#define Nram   1
 
#define Nrds   1
 
#define Nrfl   10
 
#define Nrfs   1
 
#define NSEM   100 /* number of semaphores */
 
#define Nspi   2
 
#define Ntty   1
 
#define NULLDEV   5 /* type null */
 
#define RAM0   9 /* type ram */
 
#define RDISK   8 /* type rds */
 
#define RFILE0   11 /* type rfl */
 
#define RFILE1   12 /* type rfl */
 
#define RFILE2   13 /* type rfl */
 
#define RFILE3   14 /* type rfl */
 
#define RFILE4   15 /* type rfl */
 
#define RFILE5   16 /* type rfl */
 
#define RFILE6   17 /* type rfl */
 
#define RFILE7   18 /* type rfl */
 
#define RFILE8   19 /* type rfl */
 
#define RFILE9   20 /* type rfl */
 
#define RFILESYS   10 /* type rfs */
 
#define SPI0   28 /* type spi */
 
#define SPI1   29 /* type spi */
 

Variables

struct dentry devtab []
 

Macro Definition Documentation

◆ CLKFREQ

#define CLKFREQ   200000000 /* 200 MHz clock */

Definition at line 84 of file conf.h.

◆ CONSOLE

#define CONSOLE   0 /* type tty */

Definition at line 28 of file conf.h.

◆ ETHER0

#define ETHER0   6 /* type eth */

Definition at line 34 of file conf.h.

◆ GPIO0

#define GPIO0   1 /* type gpio */

Definition at line 29 of file conf.h.

◆ GPIO1

#define GPIO1   2 /* type gpio */

Definition at line 30 of file conf.h.

◆ GPIO2

#define GPIO2   3 /* type gpio */

Definition at line 31 of file conf.h.

◆ GPIO3

#define GPIO3   4 /* type gpio */

Definition at line 32 of file conf.h.

◆ IRQ_ATH_MISC

#define IRQ_ATH_MISC   IRQ_HW4 /* Misc. IRQ is wired to hardware 4 */

Definition at line 83 of file conf.h.

◆ IRQ_TIMER

#define IRQ_TIMER   IRQ_HW5 /* timer IRQ is wired to hardware 5 */

Definition at line 82 of file conf.h.

◆ IRQBASE

#define IRQBASE   32 /* base ivec for IRQ0 */

Definition at line 81 of file conf.h.

◆ LF_DISK_DEV

#define LF_DISK_DEV   RAM0

Definition at line 86 of file conf.h.

◆ LFILE0

#define LFILE0   22 /* type lfl */

Definition at line 50 of file conf.h.

◆ LFILE1

#define LFILE1   23 /* type lfl */

Definition at line 51 of file conf.h.

◆ LFILE2

#define LFILE2   24 /* type lfl */

Definition at line 52 of file conf.h.

◆ LFILE3

#define LFILE3   25 /* type lfl */

Definition at line 53 of file conf.h.

◆ LFILE4

#define LFILE4   26 /* type lfl */

Definition at line 54 of file conf.h.

◆ LFILE5

#define LFILE5   27 /* type lfl */

Definition at line 55 of file conf.h.

◆ LFILESYS

#define LFILESYS   21 /* type lfs */

Definition at line 49 of file conf.h.

◆ NAMESPACE

#define NAMESPACE   7 /* type nam */

Definition at line 35 of file conf.h.

◆ NDEVS

#define NDEVS   30

Definition at line 74 of file conf.h.

◆ Neth

#define Neth   1

Definition at line 64 of file conf.h.

◆ Ngpio

#define Ngpio   4

Definition at line 62 of file conf.h.

◆ Nlfl

#define Nlfl   6

Definition at line 70 of file conf.h.

◆ Nlfs

#define Nlfs   1

Definition at line 69 of file conf.h.

◆ Nnam

#define Nnam   1

Definition at line 71 of file conf.h.

◆ Nnull

#define Nnull   1

Definition at line 61 of file conf.h.

◆ NPROC

#define NPROC   100 /* number of user processes */

Definition at line 79 of file conf.h.

◆ Nram

#define Nram   1

Definition at line 66 of file conf.h.

◆ Nrds

#define Nrds   1

Definition at line 65 of file conf.h.

◆ Nrfl

#define Nrfl   10

Definition at line 68 of file conf.h.

◆ Nrfs

#define Nrfs   1

Definition at line 67 of file conf.h.

◆ NSEM

#define NSEM   100 /* number of semaphores */

Definition at line 80 of file conf.h.

◆ Nspi

#define Nspi   2

Definition at line 72 of file conf.h.

◆ Ntty

#define Ntty   1

Definition at line 63 of file conf.h.

◆ NULLDEV

#define NULLDEV   5 /* type null */

Definition at line 33 of file conf.h.

◆ RAM0

#define RAM0   9 /* type ram */

Definition at line 37 of file conf.h.

◆ RDISK

#define RDISK   8 /* type rds */

Definition at line 36 of file conf.h.

◆ RFILE0

#define RFILE0   11 /* type rfl */

Definition at line 39 of file conf.h.

◆ RFILE1

#define RFILE1   12 /* type rfl */

Definition at line 40 of file conf.h.

◆ RFILE2

#define RFILE2   13 /* type rfl */

Definition at line 41 of file conf.h.

◆ RFILE3

#define RFILE3   14 /* type rfl */

Definition at line 42 of file conf.h.

◆ RFILE4

#define RFILE4   15 /* type rfl */

Definition at line 43 of file conf.h.

◆ RFILE5

#define RFILE5   16 /* type rfl */

Definition at line 44 of file conf.h.

◆ RFILE6

#define RFILE6   17 /* type rfl */

Definition at line 45 of file conf.h.

◆ RFILE7

#define RFILE7   18 /* type rfl */

Definition at line 46 of file conf.h.

◆ RFILE8

#define RFILE8   19 /* type rfl */

Definition at line 47 of file conf.h.

◆ RFILE9

#define RFILE9   20 /* type rfl */

Definition at line 48 of file conf.h.

◆ RFILESYS

#define RFILESYS   10 /* type rfs */

Definition at line 38 of file conf.h.

◆ SPI0

#define SPI0   28 /* type spi */

Definition at line 56 of file conf.h.

◆ SPI1

#define SPI1   29 /* type spi */

Definition at line 57 of file conf.h.

Variable Documentation

◆ devtab

struct dentry devtab[]

Definition at line 11 of file conf.c.