Changeset 71eef11 in mainline for kernel/arch/mips32/src/mm/frame.c


Ignore:
Timestamp:
2008-02-06T14:24:13Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7208b6c
Parents:
1b067315
Message:

remove config.memory_size, get_memory_size() and memory_init.{c|d}
the amount of available memory can be calculated from the sizes of the zones
add FRAMES2SIZE, SIZE2KB and SIZE2MB functions/macros (code readability)

File:
1 edited

Legend:

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

    r1b067315 r71eef11  
    4747{
    4848        if (!arc_frame_init()) {
    49                 zone_create(0, ADDR2PFN(config.memory_size), 1, 0);
     49                zone_create(0, ADDR2PFN(CONFIG_MEMORY_SIZE), 1, 0);
    5050                /*
    5151                 * Blacklist interrupt vector
Note: See TracChangeset for help on using the changeset viewer.