Changeset b7fd2a0 in mainline for uspace/drv/intctl/apic/apic.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/apic/apic.c
r36f0738 rb7fd2a0 140 140 } 141 141 142 static int apic_enable_irq(apic_t *apic, sysarg_t irq)142 static errno_t apic_enable_irq(apic_t *apic, sysarg_t irq) 143 143 { 144 144 io_redirection_reg_t reg; … … 207 207 208 208 /** Add APIC device. */ 209 int apic_add(apic_t *apic, apic_res_t *res)209 errno_t apic_add(apic_t *apic, apic_res_t *res) 210 210 { 211 211 sysarg_t have_apic; 212 212 ddf_fun_t *fun_a = NULL; 213 213 void *regs; 214 int rc;214 errno_t rc; 215 215 216 216 if ((sysinfo_get_value("apic", &have_apic) != EOK) || (!have_apic)) { … … 254 254 255 255 /** Remove APIC device */ 256 int apic_remove(apic_t *apic)256 errno_t apic_remove(apic_t *apic) 257 257 { 258 258 return ENOTSUP; … … 260 260 261 261 /** APIC device gone */ 262 int apic_gone(apic_t *apic)262 errno_t apic_gone(apic_t *apic) 263 263 { 264 264 return ENOTSUP;
Note:
See TracChangeset
for help on using the changeset viewer.