Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2267
Line 63... Line 63...
63
 
63
 
64
            confdata = ADDR2PFN(start);
64
            confdata = ADDR2PFN(start);
65
            if (confdata == ADDR2PFN(KA2PA(PFN2ADDR(0))))
65
            if (confdata == ADDR2PFN(KA2PA(PFN2ADDR(0))))
66
                confdata = ADDR2PFN(KA2PA(PFN2ADDR(2)));
66
                confdata = ADDR2PFN(KA2PA(PFN2ADDR(2)));
67
            zone_create(ADDR2PFN(start),
67
            zone_create(ADDR2PFN(start),
68
                SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)),
68
                SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)),
69
                confdata, 0);
69
                confdata, 0);
70
            last_frame = max(last_frame, start + ALIGN_UP(size,
70
            last_frame = max(last_frame, start + ALIGN_UP(size,
71
                FRAME_SIZE));
71
                FRAME_SIZE));
72
        }
72
        }
73
 
73
 
74
        /*
74
        /*
75
         * On sparc64, physical memory can start on a non-zero address.
75
         * On sparc64, physical memory can start on a non-zero address.
76
         * The generic frame_init() only marks PFN 0 as not free, so we
76
         * The generic frame_init() only marks PFN 0 as not free, so we