Changeset 6250c37 in mainline for kernel/arch/arm32/src/mm/frame.c


Ignore:
Timestamp:
2010-06-27T10:20:01Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f1fc83a
Parents:
12b0d51
Message:

Fix first physical frame number computation. Only create kernel identity mapping from beginning of physical memory, not from zero.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mm/frame.c

    r12b0d51 r6250c37  
    5656       
    5757        /* All memory as one zone */
    58         zone_create(first_frame, num_frames,
     58        zone_create(first_frame >> FRAME_WIDTH, num_frames,
    5959            BOOT_PAGE_TABLE_START_FRAME + BOOT_PAGE_TABLE_SIZE_IN_FRAMES, 0);
    6060       
Note: See TracChangeset for help on using the changeset viewer.