Changes in kernel/generic/src/mm/as.c [5a5269d:b169619] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/as.c
r5a5269d rb169619 69 69 #include <assert.h> 70 70 #include <stdio.h> 71 #include <mem .h>71 #include <memw.h> 72 72 #include <macros.h> 73 73 #include <bitops.h> … … 86 86 * address space operations such as creating or locking page tables. 87 87 */ 88 as_operations_t *as_operations = NULL;88 const as_operations_t *as_operations = NULL; 89 89 90 90 /** Cache for as_t objects */ … … 1688 1688 spinlock_unlock(&asidlock); 1689 1689 1690 if (AS) 1691 as_release(AS); 1692 1690 1693 AS = new_as; 1694 1695 as_hold(AS); 1691 1696 } 1692 1697 … … 2057 2062 /* Check if A is adjacent to the new interval */ 2058 2063 adj_a = (a != NULL) && (a->page + P2SZ(a->count) == page); 2059 /* Check if the new interval is adjacent to B */2064 /* Check if the new interval is adjacent to B */ 2060 2065 adj_b = (b != NULL) && page + P2SZ(count) == b->page; 2061 2066
Note:
See TracChangeset
for help on using the changeset viewer.