Rev 2182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2182 | Rev 2199 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | #include "../aux_print/printf.h" |
37 | #include "../aux_print/printf.h" |
38 | 38 | ||
39 | /** Create memory zones. */ |
39 | /** Create memory zones. */ |
40 | void frame_arch_init(void) |
40 | void frame_arch_init(void) |
41 | { |
41 | { |
42 | aux_printf("frame_arch_init ... begin\n"); |
42 | aux_printf("frame_arch_init ... begin\n"); |
43 | // all memory as one zone |
43 | // all memory as one zone |
44 | zone_create(0, ADDR2PFN(config.memory_size), 1, 0); |
44 | zone_create(0, ADDR2PFN(config.memory_size), 11, 0); |
45 | aux_printf("frame_arch_init ... 1\n"); |
- | |
46 | /* |
45 | /* |
47 | * Blacklist interrupt vector |
46 | * Blacklist interrupt vector + Kernels from boot loader page table |
48 | */ |
47 | */ |
49 | frame_mark_unavailable(0, 1); |
48 | frame_mark_unavailable(0, 10); |
50 | aux_printf("frame_arch_init ... end\n"); |
49 | aux_printf("frame_arch_init ... end\n"); |
51 | 50 | ||
52 | } |
51 | } |
53 | 52 | ||
54 | /** @} |
53 | /** @} |
55 | */ |
54 | */ |