Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2089 → Rev 2087

/trunk/kernel/generic/src/mm/as.c
74,6 → 74,7
#include <config.h>
#include <align.h>
#include <arch/types.h>
#include <typedefs.h>
#include <syscall/copy.h>
#include <arch/interrupt.h>
 
167,11 → 168,7
as->refcount = 0;
as->cpu_refcount = 0;
#ifdef AS_PAGE_TABLE
as->page_table = page_table_create(flags);
#else
page_table_create(flags);
#endif
 
return as;
}
219,11 → 216,7
}
 
btree_destroy(&as->as_area_btree);
#ifdef AS_PAGE_TABLE
page_table_destroy(as->page_table);
#else
page_table_destroy(NULL);
#endif
 
interrupts_restore(ipl);
/trunk/kernel/generic/src/mm/frame.c
51,6 → 51,7
*
*/
 
#include <typedefs.h>
#include <arch/types.h>
#include <mm/frame.h>
#include <mm/as.h>
/trunk/kernel/generic/src/mm/backend_anon.c
47,6 → 47,7
#include <adt/btree.h>
#include <errno.h>
#include <arch/types.h>
#include <typedefs.h>
#include <align.h>
#include <arch.h>
 
/trunk/kernel/generic/src/mm/backend_elf.c
38,6 → 38,7
#include <lib/elf.h>
#include <debug.h>
#include <arch/types.h>
#include <typedefs.h>
#include <mm/as.h>
#include <mm/frame.h>
#include <mm/slab.h>
/trunk/kernel/generic/src/mm/tlb.c
44,6 → 44,7
#include <arch/mm/tlb.h>
#include <smp/ipi.h>
#include <synch/spinlock.h>
#include <typedefs.h>
#include <atomic.h>
#include <arch/interrupt.h>
#include <config.h>
50,7 → 51,6
#include <arch.h>
#include <panic.h>
#include <debug.h>
#include <cpu.h>
 
/**
* This lock is used for synchronisation between sender and
/trunk/kernel/generic/src/mm/buddy.c
42,6 → 42,8
#include <mm/buddy.h>
#include <mm/frame.h>
#include <arch/types.h>
#include <typedefs.h>
#include <adt/list.h>
#include <debug.h>
#include <print.h>
 
/trunk/kernel/generic/src/mm/backend_phys.c
37,6 → 37,7
 
#include <debug.h>
#include <arch/types.h>
#include <typedefs.h>
#include <mm/as.h>
#include <mm/frame.h>
#include <mm/slab.h>
/trunk/kernel/generic/src/mm/page.c
46,6 → 46,7
#include <mm/as.h>
#include <mm/frame.h>
#include <arch/types.h>
#include <typedefs.h>
#include <arch/asm.h>
#include <memstr.h>
#include <debug.h>