Subversion Repositories HelenOS-historic

Rev

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

Rev 684 Rev 687
Line 54... Line 54...
54
 
54
 
55
        /*
55
        /*
56
         * PA2KA(identity) mapping for all frames.
56
         * PA2KA(identity) mapping for all frames.
57
         */
57
         */
58
        for (cur = 0; cur < last_frame; cur += FRAME_SIZE) {
58
        for (cur = 0; cur < last_frame; cur += FRAME_SIZE) {
59
            page_mapping_insert(PA2KA(cur), cur, PAGE_CACHEABLE | PAGE_EXEC, KA2PA(dba));
59
            page_mapping_insert(PA2KA(cur), 0, cur, PAGE_CACHEABLE | PAGE_EXEC, KA2PA(dba));
60
        }
60
        }
61
 
61
 
62
        exc_register(14, "page_fault", page_fault);
62
        exc_register(14, "page_fault", page_fault);
63
        write_cr3(KA2PA(dba));
63
        write_cr3(KA2PA(dba));
64
    }
64
    }