Changeset 84afc7b in mainline for kernel/generic/src/ddi/device.c
- Timestamp:
- 2009-03-18T10:53:12Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e749794
- Parents:
- 8015eeec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ddi/device.c
r8015eeec r84afc7b 32 32 /** 33 33 * @file 34 * @brief 34 * @brief Device numbers. 35 35 */ 36 36 … … 48 48 devno_t device_assign_devno(void) 49 49 { 50 devno_t devno; 50 devno_t devno = (devno_t) atomic_postinc(&last); 51 ASSERT(devno >= 0); 52 53 return devno; 54 } 51 55 52 devno = (devno_t) atomic_postinc(&last); 53 ASSERT(devno >= 0); 54 55 return devno; 56 unative_t sys_device_assign_devno(void) 57 { 58 return (unative_t) device_assign_devno(); 56 59 } 57 60
Note:
See TracChangeset
for help on using the changeset viewer.