Changeset 6f3809e in mainline


Ignore:
Timestamp:
2006-08-01T19:23:17Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e5cc686
Parents:
c06eb06
Message:

print memory map

Location:
kernel/arch/xen32/src
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/xen32/src/mm/memory_init.c

    rc06eb06 r6f3809e  
    3737#include <arch/boot/boot.h>
    3838#include <print.h>
     39#include <mm/frame.h>
    3940
    4041size_t get_memory_size(void)
     
    4546void memory_print_map(void)
    4647{
     48        printf("Xen memory: %p size: %d (reserved %d)\n", PFN2ADDR(meminfo.start), PFN2ADDR(meminfo.size - meminfo.reserved), PFN2ADDR(meminfo.reserved));
    4749}
    4850
Note: See TracChangeset for help on using the changeset viewer.