Subversion Repositories HelenOS

Rev

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

Rev 3231 Rev 3232
Line 131... Line 131...
131
        pfn_t first = ADDR2PFN(start_frame << ZERO_PAGE_WIDTH);
131
        pfn_t first = ADDR2PFN(start_frame << ZERO_PAGE_WIDTH);
132
        pfn_t count = ADDR2PFN((end_frame - start_frame) << ZERO_PAGE_WIDTH);
132
        pfn_t count = ADDR2PFN((end_frame - start_frame) << ZERO_PAGE_WIDTH);
133
       
133
       
134
        /* Interrupt vector frame is blacklisted */
134
        /* Interrupt vector frame is blacklisted */
135
        pfn_t conf_frame;
135
        pfn_t conf_frame;
136
        if (start_frame == 0)
136
        if (first == 0)
137
            conf_frame = 1;
137
            conf_frame = 1;
138
        else
138
        else
139
            conf_frame = first;
139
            conf_frame = first;
140
       
140
       
141
        zone_create(first, count, conf_frame, 0);
141
        zone_create(first, count, conf_frame, 0);
Line 149... Line 149...
149
}
149
}
150
 
150
 
151
 
151
 
152
/** Create memory zones
152
/** Create memory zones
153
 *
153
 *
154
 * Walk through available 1 MB chunks of physical
154
 * Walk through available 256 KB chunks of physical
155
 * memory and create zones.
155
 * memory and create zones.
156
 *
156
 *
157
 * Note: It is assumed that the TLB is not yet being
157
 * Note: It is assumed that the TLB is not yet being
158
 * used in any way, thus there is no interference.
158
 * used in any way, thus there is no interference.
159
 *
159
 *