Changeset 40c8c17 in mainline for kernel/generic/src/mm/frame.c


Ignore:
Timestamp:
2011-11-26T21:37:40Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38ff925
Parents:
056ddc30
Message:

Replace multiple definitions of last_frame with config.physmem_end.
Do not duplicate code which calculates the end of physical memory.

File:
1 edited

Legend:

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

    r056ddc30 r40c8c17  
    900900                 */
    901901                ASSERT(confframe != ADDR2PFN((uintptr_t ) NULL));
     902
     903                /* Update the known end of physical memory. */
     904                config.physmem_end = max(config.physmem_end, PFN2ADDR(start + count));
    902905               
    903906                /* If confframe is supposed to be inside our zone, then make sure
Note: See TracChangeset for help on using the changeset viewer.