Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/as.c

    rb169619 r5a5269d  
    6969#include <assert.h>
    7070#include <stdio.h>
    71 #include <memw.h>
     71#include <mem.h>
    7272#include <macros.h>
    7373#include <bitops.h>
     
    8686 * address space operations such as creating or locking page tables.
    8787 */
    88 const as_operations_t *as_operations = NULL;
     88as_operations_t *as_operations = NULL;
    8989
    9090/** Cache for as_t objects */
     
    16881688        spinlock_unlock(&asidlock);
    16891689
    1690         if (AS)
    1691                 as_release(AS);
    1692 
    16931690        AS = new_as;
    1694 
    1695         as_hold(AS);
    16961691}
    16971692
     
    20622057        /* Check if A is adjacent to the new interval */
    20632058        adj_a = (a != NULL) && (a->page + P2SZ(a->count) == page);
    2064         /* Check if the new interval is adjacent to B */
     2059        /* Check if the new interval is adjacent to B*/
    20652060        adj_b = (b != NULL) && page + P2SZ(count) == b->page;
    20662061
Note: See TracChangeset for help on using the changeset viewer.