Changeset a35b458 in mainline for kernel/arch/ppc32/src/drivers/pic.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/drivers/pic.c
r3061bc1 ra35b458 55 55 pic[PIC_MASK_HIGH] = pic[PIC_MASK_HIGH] | (1 << (intnum - 32)); 56 56 } 57 57 58 58 } 59 59 … … 85 85 if (pic) { 86 86 uint32_t pending; 87 87 88 88 pending = pic[PIC_PENDING_LOW]; 89 89 if (pending != 0) 90 90 return fnzb32(pending); 91 91 92 92 pending = pic[PIC_PENDING_HIGH]; 93 93 if (pending != 0) 94 94 return fnzb32(pending) + 32; 95 95 } 96 96 97 97 return 255; 98 98 }
Note:
See TracChangeset
for help on using the changeset viewer.