Rev 625 | Rev 820 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 625 | Rev 814 | ||
---|---|---|---|
Line 301... | Line 301... | ||
301 | base = ALIGN_UP(base, FRAME_SIZE); |
301 | base = ALIGN_UP(base, FRAME_SIZE); |
302 | } |
302 | } |
303 | basesize = ALIGN_DOWN(basesize, FRAME_SIZE); |
303 | basesize = ALIGN_DOWN(basesize, FRAME_SIZE); |
304 | 304 | ||
305 | total += basesize; |
305 | total += basesize; |
- | 306 | ||
306 | zone_create_in_region(base, basesize); |
307 | zone_create(ADDR2PFN(base), |
- | 308 | SIZE2PFN(ALIGN_DOWN(basesize,FRAME_SIZE)), |
|
- | 309 | ADDR2PFN(base),0); |
|
307 | } |
310 | } |
308 | desc = arc_entry->getmemorydescriptor(desc); |
311 | desc = arc_entry->getmemorydescriptor(desc); |
309 | } |
312 | } |
310 | 313 | ||
311 | config.memory_size = total; |
314 | config.memory_size = total; |