Changeset 0b5f9fa in mainline for kernel/arch/ppc64/src/mm/frame.c


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()

File:
1 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)
Note: See TracChangeset for help on using the changeset viewer.