Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2723
Line 36... Line 36...
36
#include <arch/mm/frame.h>
36
#include <arch/mm/frame.h>
37
#include <arch/mm/memory_init.h>
37
#include <arch/mm/memory_init.h>
38
#include <mm/frame.h>
38
#include <mm/frame.h>
39
#include <align.h>
39
#include <align.h>
40
#include <macros.h>
40
#include <macros.h>
-
 
41
#include <print.h>
41
 
42
 
42
uintptr_t last_frame = 0;
43
uintptr_t last_frame = 0;
43
 
44
 
-
 
45
void 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
}
-
 
57
 
44
void frame_arch_init(void)
58
void frame_arch_init(void)
45
{
59
{
46
    pfn_t minconf = 2;
60
    pfn_t minconf = 2;
47
    count_t i;
61
    count_t i;
48
    pfn_t start, conf;
62
    pfn_t start, conf;