Changeset 0b5f9fa in mainline for kernel/arch/ppc64/src


Ignore:
Timestamp:
2008-02-05T16:01:57Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b067315
Parents:
b5ed4f8
Message:

remove memory_print_map(), as it duplicates functionality of physmem_print()

Location:
kernel/arch/ppc64/src
Files:
3 edited

Legend:

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

    rb5ed4f8 r0b5f9fa  
    3939#include <align.h>
    4040#include <macros.h>
     41#include <print.h>
    4142
    4243uintptr_t last_frame = 0;
     44
     45void physmem_print(void)
     46{
     47        unsigned int i;
     48       
     49        printf("Base       Size\n");
     50        printf("---------- ----------\n");
     51               
     52        for (i = 0; i < bootinfo.memmap.count; i++) {
     53                printf("%#10x %#10x\n", bootinfo.memmap.zones[i].start,
     54                        bootinfo.memmap.zones[i].size);
     55        }
     56}
    4357
    4458void frame_arch_init(void)
  • kernel/arch/ppc64/src/mm/memory_init.c

    rb5ed4f8 r0b5f9fa  
    4444
    4545
    46 void memory_print_map(void)
    47 {
    48         count_t i;
    49        
    50         for (i = 0; i < bootinfo.memmap.count; i++)
    51                 printf("base: %#x size: %#x\n", bootinfo.memmap.zones[i].start, bootinfo.memmap.zones[i].size);
    52 }
    53 
    5446/** @}
    5547 */
  • kernel/arch/ppc64/src/ppc64.c

    rb5ed4f8 r0b5f9fa  
    103103void arch_pre_smp_init(void)
    104104{
    105         memory_print_map();
    106105}
    107106
Note: See TracChangeset for help on using the changeset viewer.