Subversion Repositories HelenOS-historic

Rev

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

Rev 229 Rev 323
Line 48... Line 48...
48
        memsetb(dba, PAGE_SIZE, 0);
48
        memsetb(dba, PAGE_SIZE, 0);
49
 
49
 
50
        bootstrap_dba = dba;
50
        bootstrap_dba = dba;
51
 
51
 
52
        /*
52
        /*
53
         * Identity mapping for all frames.
-
 
54
         * PA2KA(identity) mapping for all frames.
53
         * PA2KA(identity) mapping for all frames.
55
         */
54
         */
56
        for (i = 0; i < frames; i++) {
55
        for (i = 0; i < frames; i++) {
57
            map_page_to_frame(PA2KA(i * PAGE_SIZE), i * PAGE_SIZE, PAGE_CACHEABLE | PAGE_EXEC, KA2PA(dba));
56
            map_page_to_frame(PA2KA(i * PAGE_SIZE), i * PAGE_SIZE, PAGE_CACHEABLE | PAGE_EXEC, KA2PA(dba));
58
        }
57
        }