Changeset 14f8fd4 in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2012-03-15T22:52:33Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bfb3d60
Parents:
43cd499 (diff), dbbba51c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Mainline changes with some extra USB fixes.

File:
1 edited

Legend:

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

    r43cd499 r14f8fd4  
    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         // FIXME: This might lead to overflow if the identity_size is too big
    1285         // but it is necessary if the PA identity_base > identity_size
    1286         const uintptr_t limit =
    1287             KA2PA(config.identity_base) + config.identity_size;
     1284        uintptr_t limit = KA2PA(config.identity_base) + config.identity_size;
    12881285
    12891286        if (low) {
Note: See TracChangeset for help on using the changeset viewer.