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/mach/gta02/gta02.c

    r12b0d51 r6250c37  
    7676/** Get extents of available memory.
    7777 *
    78  * @param start         Place to store memory start address.
     78 * @param start         Place to store memory start address (physical).
    7979 * @param size          Place to store memory size.
    8080 */
    8181static void gta02_get_memory_extents(uintptr_t *start, uintptr_t *size)
    8282{
    83         *start = PA2KA(GTA02_MEMORY_START) + GTA02_MEMORY_SKIP;
     83        *start = GTA02_MEMORY_START + GTA02_MEMORY_SKIP;
    8484        *size  = GTA02_MEMORY_SIZE - GTA02_MEMORY_SKIP;
    8585}
Note: See TracChangeset for help on using the changeset viewer.