Subversion Repositories HelenOS-historic

Rev

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

Rev 235 Rev 298
Line 54... Line 54...
54
       
54
       
55
        /*
55
        /*
56
         * Identity mapping for all frames.
56
         * Identity mapping for all frames.
57
         * PA2KA(identity) mapping for all frames.
57
         * PA2KA(identity) mapping for all frames.
58
         */
58
         */
59
        for (i = 0; i < frames; i++) {
59
        for (i = 0; i < frames; i++)
60
            map_page_to_frame(i * PAGE_SIZE, i * PAGE_SIZE, PAGE_CACHEABLE, KA2PA(dba));
-
 
61
            map_page_to_frame(PA2KA(i * PAGE_SIZE), i * PAGE_SIZE, PAGE_CACHEABLE, KA2PA(dba));
60
            map_page_to_frame(PA2KA(i * PAGE_SIZE), i * PAGE_SIZE, PAGE_CACHEABLE, KA2PA(dba));
62
        }
-
 
63
 
61
 
64
        trap_register(14, page_fault);
62
        trap_register(14, page_fault);
65
        write_cr3(KA2PA(dba));
63
        write_cr3(KA2PA(dba));
66
    }
64
    }
67
    else {
65
    else {