Subversion Repositories HelenOS-historic

Rev

Rev 792 | Rev 822 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 792 Rev 814
Line 34... Line 34...
34
 
34
 
35
#include <mm/as.h>
35
#include <mm/as.h>
36
#include <arch/mm/as.h>
36
#include <arch/mm/as.h>
37
#include <mm/page.h>
37
#include <mm/page.h>
38
#include <mm/frame.h>
38
#include <mm/frame.h>
-
 
39
#include <mm/slab.h>
39
#include <mm/tlb.h>
40
#include <mm/tlb.h>
40
#include <mm/heap.h>
-
 
41
#include <arch/mm/page.h>
41
#include <arch/mm/page.h>
42
#include <genarch/mm/page_pt.h>
42
#include <genarch/mm/page_pt.h>
43
#include <mm/asid.h>
43
#include <mm/asid.h>
44
#include <arch/mm/asid.h>
44
#include <arch/mm/asid.h>
45
#include <arch/types.h>
45
#include <arch/types.h>
Line 251... Line 251...
251
     *   currently not implemented, would be frame
251
     *   currently not implemented, would be frame
252
     *   reuse; when this becomes a possibility,
252
     *   reuse; when this becomes a possibility,
253
     *   do not forget to distinguish between
253
     *   do not forget to distinguish between
254
     *   the different causes
254
     *   the different causes
255
     */
255
     */
256
    frame = frame_alloc(ONE_FRAME, 0);
256
    frame = PFN2ADDR(frame_alloc(ONE_FRAME, 0));
257
    memsetb(PA2KA(frame), FRAME_SIZE, 0);
257
    memsetb(PA2KA(frame), FRAME_SIZE, 0);
258
   
258
   
259
    /*
259
    /*
260
     * Map 'page' to 'frame'.
260
     * Map 'page' to 'frame'.
261
     * Note that TLB shootdown is not attempted as only new information is being
261
     * Note that TLB shootdown is not attempted as only new information is being