Changeset 2cc7f16 in mainline


Ignore:
Timestamp:
2012-03-12T20:27:52Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5608deba, c6588ce
Parents:
3cc070d
Message:

frame_adjust_zone_bounds() needs to handle cases when the physical
memory starts at a non-zero address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/mm/frame.c

    r3cc070d r2cc7f16  
    12701270/** Adjust bounds of physical memory region according to low/high memory split.
    12711271 *
    1272  * @param low[in]       If true, the adujstment is performed to make the region
     1272 * @param low[in]       If true, the adjustment is performed to make the region
    12731273 *                      fit in the low memory. Otherwise the adjustment is
    12741274 *                      performed to make the region fit in the high memory.
     
    12821282bool frame_adjust_zone_bounds(bool low, uintptr_t *basep, size_t *sizep)
    12831283{
    1284         uintptr_t limit = config.identity_size;
     1284        uintptr_t limit = KA2PA(config.identity_base) + config.identity_size;
    12851285
    12861286        if (low) {
Note: See TracChangeset for help on using the changeset viewer.