Subversion Repositories HelenOS

Rev

Rev 3770 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3770 Rev 4065
Line 37... Line 37...
37
#include <arch/boot/boot.h>
37
#include <arch/boot/boot.h>
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <config.h>
39
#include <config.h>
40
#include <align.h>
40
#include <align.h>
41
#include <macros.h>
41
#include <macros.h>
-
 
42
#include <print.h>
42
 
43
 
43
uintptr_t last_frame = NULL;
44
uintptr_t last_frame = NULL;
44
 
45
 
45
/** Create memory zones according to information stored in bootinfo.
46
/** Create memory zones according to information stored in bootinfo.
46
 *
47
 *
Line 54... Line 55...
54
    if (config.cpu_active == 1) {
55
    if (config.cpu_active == 1) {
55
        for (i = 0; i < bootinfo.memmap.count; i++) {
56
        for (i = 0; i < bootinfo.memmap.count; i++) {
56
            uintptr_t start = bootinfo.memmap.zones[i].start;
57
            uintptr_t start = bootinfo.memmap.zones[i].start;
57
            size_t size = bootinfo.memmap.zones[i].size;
58
            size_t size = bootinfo.memmap.zones[i].size;
58
 
59
 
59
            printf("Found a zone: start = %x, size = %d.\n", start, size);
-
 
60
 
-
 
61
            /*
60
            /*
62
             * The memmap is created by HelenOS boot loader.
61
             * The memmap is created by HelenOS boot loader.
63
             * It already contains no holes.
62
             * It already contains no holes.
64
             */
63
             */
65
 
64