Changeset ac9e79d in mainline
- Timestamp:
- 2018-11-06T19:52:51Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b294126
- Parents:
- 4a8d0dd1
- Location:
- kernel/generic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r4a8d0dd1 rac9e79d 137 137 if (!AS_KERNEL) 138 138 panic("Cannot create kernel address space."); 139 140 /*141 * Make sure the kernel address space142 * reference count never drops to zero.143 */144 as_hold(AS_KERNEL);145 139 } 146 140 -
kernel/generic/src/proc/task.c
r4a8d0dd1 rac9e79d 252 252 futex_task_init(task); 253 253 254 /*255 * Get a reference to the address space.256 */257 as_hold(task->as);258 259 254 irq_spinlock_lock(&tasks_lock, true); 260 255
Note:
See TracChangeset
for help on using the changeset viewer.