Lines Matching refs:n
22 int n = 0; in install_e820_map() local
24 entries[n].addr = 0; in install_e820_map()
25 entries[n].size = ISA_START_ADDRESS; in install_e820_map()
26 entries[n].type = E820_RAM; in install_e820_map()
27 n++; in install_e820_map()
29 entries[n].addr = ISA_START_ADDRESS; in install_e820_map()
30 entries[n].size = ISA_END_ADDRESS - ISA_START_ADDRESS; in install_e820_map()
31 entries[n].type = E820_RESERVED; in install_e820_map()
32 n++; in install_e820_map()
39 entries[n].addr = ISA_END_ADDRESS; in install_e820_map()
40 entries[n].size = gd->relocaddr - TOTAL_MALLOC_LEN - ISA_END_ADDRESS; in install_e820_map()
41 entries[n].type = E820_RAM; in install_e820_map()
42 n++; in install_e820_map()
45 entries[n].addr = gd->relocaddr - TOTAL_MALLOC_LEN; in install_e820_map()
46 entries[n].size = TOTAL_MALLOC_LEN; in install_e820_map()
47 entries[n].type = E820_RESERVED; in install_e820_map()
48 n++; in install_e820_map()
50 entries[n].addr = gd->relocaddr; in install_e820_map()
51 entries[n].size = qemu_get_low_memory_size() - gd->relocaddr; in install_e820_map()
52 entries[n].type = E820_RESERVED; in install_e820_map()
53 n++; in install_e820_map()
55 entries[n].addr = CONFIG_PCIE_ECAM_BASE; in install_e820_map()
56 entries[n].size = CONFIG_PCIE_ECAM_SIZE; in install_e820_map()
57 entries[n].type = E820_RESERVED; in install_e820_map()
58 n++; in install_e820_map()
62 entries[n].addr = SZ_4G; in install_e820_map()
63 entries[n].size = high_mem_size; in install_e820_map()
64 entries[n].type = E820_RAM; in install_e820_map()
65 n++; in install_e820_map()
68 return n; in install_e820_map()