Changeset 71eef11 in mainline for kernel/arch/ia32/src/boot/memmap.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 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/boot/memmap.c

    r1b067315 r71eef11  
    11/*
    2  * Copyright (c) 2005 Martin Decky
     2 * Copyright (c) 2005 Josef Cejka
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup ppc64mm
     29/** @addtogroup ia32mm
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef KERN_ppc64_MEMORY_INIT_H_
    36 #define KERN_ppc64_MEMORY_INIT_H_
     35#include <arch/boot/memmap.h>
    3736
    38 size_t get_memory_size(void);
    39 
    40 #endif
     37uint8_t e820counter = 0xff;
     38e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS];
    4139
    4240/** @}
Note: See TracChangeset for help on using the changeset viewer.