Changeset 7258c6a in buchla-68k for include/io.h
- Timestamp:
- 07/09/2017 04:45:34 PM (7 years ago)
- Branches:
- master
- Children:
- 8618599
- Parents:
- 0292fbb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/io.h
r0292fbb r7258c6a 10 10 struct channel { /* channel table entry */ 11 11 12 charc_read; /* read routine index */13 charc_write; /* write routine index */14 charc_ioctl; /* ioctl routine index */15 charc_seek; /* seek routine index */16 int (*c_close)(); /* close function pointer */12 int8_t c_read; /* read routine index */ 13 int8_t c_write; /* write routine index */ 14 int8_t c_ioctl; /* ioctl routine index */ 15 int8_t c_seek; /* seek routine index */ 16 int16_t (*c_close)(); /* close function pointer */ 17 17 io_arg c_arg; /* argument to channel driver */ 18 18 }; … … 20 20 struct device { /* device control structure */ 21 21 22 chard_read; /* read routine code */23 chard_write; /* write routine code */24 chard_ioctl; /* ioctl routine code */25 chard_seek; /* seek routine code */26 int (*d_open)(); /* special open function */22 int8_t d_read; /* read routine code */ 23 int8_t d_write; /* write routine code */ 24 int8_t d_ioctl; /* ioctl routine code */ 25 int8_t d_seek; /* seek routine code */ 26 int16_t (*d_open)(); /* special open function */ 27 27 }; 28 28 29 29 struct devtabl { /* device table entry */ 30 30 31 char*d_name; /* device name */31 int8_t *d_name; /* device name */ 32 32 struct device *d_dev; /* pointer to device structure */ 33 33 io_arg d_arg; /* argument to device driver */ … … 37 37 38 38 extern struct channel chantab[MAXCHAN]; /* defined in fsinit.c */ 39 extern charWrkbuf[BPSEC]; /* defined in fsinit.c */39 extern int8_t Wrkbuf[BPSEC]; /* defined in fsinit.c */ 40 40 41 41 #endif
Note:
See TracChangeset
for help on using the changeset viewer.