Changeset 1dbc43f in mainline for kernel/generic/src/mm/as.c
- Timestamp:
- 2012-11-22T21:23:47Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 908bb96
- Parents:
- 34ae0a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r34ae0a5 r1dbc43f 79 79 #include <syscall/copy.h> 80 80 #include <arch/interrupt.h> 81 #include <interrupt.h> 81 82 82 83 /** … … 1363 1364 { 1364 1365 if (!THREAD) 1365 return AS_PF_FAULT;1366 goto page_fault; 1366 1367 1367 1368 if (!AS) 1368 return AS_PF_FAULT;1369 goto page_fault; 1369 1370 1370 1371 mutex_lock(&AS->lock); … … 1444 1445 (uintptr_t) &memcpy_to_uspace_failover_address); 1445 1446 } else { 1446 return AS_PF_FAULT; 1447 fault_if_from_uspace(istate, "Page fault: %p.", (void *) page); 1448 panic_memtrap(istate, access, page, NULL); 1447 1449 } 1448 1450
Note:
See TracChangeset
for help on using the changeset viewer.