Changeset 2c2d54a in mainline for kernel/generic/include
- Timestamp:
- 2016-09-02T17:58:05Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c3602c4
- Parents:
- 4bf0926e (diff), 3233adb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/generic/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/ipc.h
r4bf0926e r2c2d54a 147 147 struct task *sender; 148 148 149 /* 150 * Answerbox that will receive the answer. 151 * This will most of the times be the sender's answerbox, 152 * but we allow for useful exceptions. 153 */ 154 answerbox_t *callerbox; 155 149 156 /** Phone which was used to send the call. */ 150 157 phone_t *caller_phone; … … 172 179 extern void ipc_call_release(call_t *); 173 180 181 extern int ipc_call_sync(phone_t *, call_t *); 174 182 extern int ipc_call(phone_t *, call_t *); 175 183 extern call_t *ipc_wait_for_call(answerbox_t *, uint32_t, unsigned int); -
kernel/generic/include/ipc/sysipc.h
r4bf0926e r2c2d54a 40 40 #include <typedefs.h> 41 41 42 extern int ipc_req_internal(int, ipc_data_t *); 43 42 44 extern sysarg_t sys_ipc_call_async_fast(sysarg_t, sysarg_t, sysarg_t, 43 45 sysarg_t, sysarg_t, sysarg_t); -
kernel/generic/include/mm/as.h
r4bf0926e r2c2d54a 169 169 /** Backend data stored in address space area. */ 170 170 typedef union mem_backend_data { 171 /* anon_backend members */ 172 struct { 173 }; 174 171 175 /** elf_backend members */ 172 176 struct { … … 181 185 bool anonymous; 182 186 }; 187 188 /** user_backend members */ 189 struct { 190 as_area_pager_info_t pager_info; 191 }; 192 183 193 } mem_backend_data_t; 184 194 … … 296 306 extern mem_backend_t elf_backend; 297 307 extern mem_backend_t phys_backend; 308 extern mem_backend_t user_backend; 298 309 299 310 /* Address space area related syscalls. */ 300 extern sysarg_t sys_as_area_create(uintptr_t, size_t, unsigned int, uintptr_t); 311 extern sysarg_t sys_as_area_create(uintptr_t, size_t, unsigned int, uintptr_t, 312 as_area_pager_info_t *); 301 313 extern sysarg_t sys_as_area_resize(uintptr_t, size_t, unsigned int); 302 314 extern sysarg_t sys_as_area_change_flags(uintptr_t, unsigned int); -
kernel/generic/include/mm/page.h
r4bf0926e r2c2d54a 48 48 void (* mapping_insert)(as_t *, uintptr_t, uintptr_t, unsigned int); 49 49 void (* mapping_remove)(as_t *, uintptr_t); 50 pte_t *(* mapping_find)(as_t *, uintptr_t, bool); 50 bool (* mapping_find)(as_t *, uintptr_t, bool, pte_t *); 51 void (* mapping_update)(as_t *, uintptr_t, bool, pte_t *); 51 52 void (* mapping_make_global)(uintptr_t, size_t); 52 53 } page_mapping_operations_t; … … 60 61 extern void page_mapping_insert(as_t *, uintptr_t, uintptr_t, unsigned int); 61 62 extern void page_mapping_remove(as_t *, uintptr_t); 62 extern pte_t *page_mapping_find(as_t *, uintptr_t, bool); 63 extern bool page_mapping_find(as_t *, uintptr_t, bool, pte_t *); 64 extern void page_mapping_update(as_t *, uintptr_t, bool, pte_t *); 63 65 extern void page_mapping_make_global(uintptr_t, size_t); 64 66 extern pte_t *page_table_create(unsigned int);
Note:
See TracChangeset
for help on using the changeset viewer.
