Changeset d7ef14b in mainline for kernel/arch/arm32/src/machine_func.c


Ignore:
Timestamp:
2010-06-25T20:58:06Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
12b0d51
Parents:
1590e23
Message:

Link kernel to the proper base address for gta02. Change machine_get_memory_size() to machine_get_memory_extents() and trivially implement for gta02.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/machine_func.c

    r1590e23 rd7ef14b  
    8080}
    8181
    82 
    83 /** Returns size of available memory.
     82/** Get extents of available memory.
    8483 *
    85  *  @return Size of available memory.
     84 * @param start         Place to store memory start address.
     85 * @param size          Place to store memory size.
    8686 */
    87 uintptr_t machine_get_memory_size(void)
     87void machine_get_memory_extents(uintptr_t *start, uintptr_t *size)
    8888{
    89         return (machine_ops->machine_get_memory_size)();
     89        (machine_ops->machine_get_memory_extents)(start, size);
    9090}
    9191
Note: See TracChangeset for help on using the changeset viewer.