1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#ifndef FIFO_H #define FIFO_H /* Defines */ #define METHOD_CONSTANT (1<<30) #define METHOD_INCREMENT (0<<30) /* Global variables */ extern struct nouveau_channel *chan; /* Functions */ int fifo_open(void); void fifo_close(void); #endif