This source file includes following definitions.
- free_init_pages_eva_malta
- fw_meminit
- prom_free_prom_memory
- mips_cdmm_phys_base
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #include <linux/init.h>
15 #include <linux/memblock.h>
16 #include <linux/string.h>
17
18 #include <asm/bootinfo.h>
19 #include <asm/cdmm.h>
20 #include <asm/maar.h>
21 #include <asm/sections.h>
22 #include <asm/fw/fw.h>
23
24
25 unsigned long physical_memsize = 0L;
26
27 static void free_init_pages_eva_malta(void *begin, void *end)
28 {
29 free_init_pages("unused kernel", __pa_symbol((unsigned long *)begin),
30 __pa_symbol((unsigned long *)end));
31 }
32
33 void __init fw_meminit(void)
34 {
35 bool eva = IS_ENABLED(CONFIG_EVA);
36
37 free_init_pages_eva = eva ? free_init_pages_eva_malta : NULL;
38 }
39
40 void __init prom_free_prom_memory(void)
41 {
42 }
43
44 phys_addr_t mips_cdmm_phys_base(void)
45 {
46
47 return 0x1fc10000;
48 }