Changeset b7fd2a0 in mainline for uspace/drv/intctl/i8259/i8259.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/i8259/i8259.c
r36f0738 rb7fd2a0 64 64 #define PIC_MAX_IRQ 15 65 65 66 static int pic_enable_irq(i8259_t *i8259, sysarg_t irq)66 static errno_t pic_enable_irq(i8259_t *i8259, sysarg_t irq) 67 67 { 68 68 if (irq > PIC_MAX_IRQ) … … 136 136 137 137 /** Add i8259 device. */ 138 int i8259_add(i8259_t *i8259, i8259_res_t *res)138 errno_t i8259_add(i8259_t *i8259, i8259_res_t *res) 139 139 { 140 140 sysarg_t have_i8259; … … 142 142 ioport8_t *regs1; 143 143 ddf_fun_t *fun_a = NULL; 144 int rc;144 errno_t rc; 145 145 146 146 if ((sysinfo_get_value("i8259", &have_i8259) != EOK) || (!have_i8259)) { … … 187 187 188 188 /** Remove i8259 device */ 189 int i8259_remove(i8259_t *i8259)189 errno_t i8259_remove(i8259_t *i8259) 190 190 { 191 191 return ENOTSUP; … … 193 193 194 194 /** i8259 device gone */ 195 int i8259_gone(i8259_t *i8259)195 errno_t i8259_gone(i8259_t *i8259) 196 196 { 197 197 return ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.