Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/mm/mapping1.c

    rf66b565 r7e752b2  
    3535#include <typedefs.h>
    3636#include <debug.h>
    37 #include <arch.h>
    3837
    3938#define PAGE0  0x10000000
     
    5958        *((uint32_t *) frame1) = VALUE1;
    6059       
    61         page_table_lock(AS, true);
    62 
    6360        TPRINTF("Mapping virtual address %p to physical address %p.\n",
    6461            (void *) PAGE0, (void *) KA2PA(frame0));
     
    6865            (void *) PAGE1, (void *) KA2PA(frame1));
    6966        page_mapping_insert(AS_KERNEL, PAGE1, KA2PA(frame1), PAGE_PRESENT | PAGE_WRITE);
    70 
    71         page_table_unlock(AS, true);
    7267       
    7368        v0 = *((uint32_t *) PAGE0);
Note: See TracChangeset for help on using the changeset viewer.