Changeset 9a8d91b in mainline for generic/src
- Timestamp:
- 2006-04-12T16:40:35Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ace9ea
- Parents:
- b7f364e
- Location:
- generic/src
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/as.c
rb7f364e r9a8d91b 353 353 int flags; 354 354 355 flags = PAGE_USER | PAGE_PRESENT | PAGE_CACHEABLE;355 flags = PAGE_USER | PAGE_PRESENT; 356 356 357 357 if (a->flags & AS_AREA_READ) … … 364 364 flags |= PAGE_EXEC; 365 365 366 if (!(a->flags & AS_AREA_DEVICE)) 367 flags |= PAGE_CACHEABLE; 368 366 369 return flags; 367 370 } -
generic/src/proc/task.c
rb7f364e r9a8d91b 173 173 } 174 174 175 /** Find task structure corresponding to task ID. 176 * 177 * The tasks_lock must be already held by the caller of this function 178 * and interrupts must be disabled. 179 * 180 * @param id Task ID. 181 * 182 * @return Task structure address or NULL if there is no such task ID. 183 */ 184 task_t *task_find_by_id(task_id_t id) 185 { 186 btree_node_t *leaf; 187 188 return (task_t *) btree_search(&tasks_btree, (btree_key_t) id, &leaf); 189 } 190 175 191 /** Print task list */ 176 192 void task_print_list(void) -
generic/src/syscall/syscall.c
rb7f364e r9a8d91b 38 38 #include <ipc/sysipc.h> 39 39 #include <synch/futex.h> 40 #include <ddi/ddi.h> 40 41 41 42 static __native sys_io(int fd, const void * buf, size_t count) { … … 92 93 sys_ipc_forward_fast, 93 94 sys_ipc_wait_for_call, 94 sys_ipc_hangup 95 sys_ipc_hangup, 96 sys_map_physmem 95 97 };
Note:
See TracChangeset
for help on using the changeset viewer.