Changeset 1433ecda in mainline for uspace/drv/intctl/apic/apic.c
- Timestamp:
- 2018-04-04T15:42:37Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/intctl/apic/apic.c
r47b2d7e3 r1433ecda 66 66 uint8_t reg_addr; /**< APIC Register Address. */ 67 67 unsigned int : 24; /**< Reserved. */ 68 } __attribute__ 68 } __attribute__((packed)); 69 69 } io_regsel_t; 70 70 … … 83 83 unsigned int masked : 1; /**< Interrupt Mask. */ 84 84 unsigned int : 15; /**< Reserved. */ 85 } __attribute__ 85 } __attribute__((packed)); 86 86 }; 87 87 union { … … 90 90 unsigned int : 24; /**< Reserved. */ 91 91 uint8_t dest : 8; /**< Destination Field. */ 92 } __attribute__ 92 } __attribute__((packed)); 93 93 }; 94 } __attribute__ 94 } __attribute__((packed)) io_redirection_reg_t; 95 95 96 96 #define IO_APIC_SIZE 20 … … 148 148 149 149 int pin = irq_to_pin(irq); 150 150 if (pin == -1) 151 151 return ENOENT; 152 152
Note:
See TracChangeset
for help on using the changeset viewer.