Lines Matching refs:emap
48 struct efi_memory_map_loongson *emap = g_map; in init_memory_map() local
50 emap->nr_map = cpu_to_le32(2); in init_memory_map()
51 emap->mem_freq = cpu_to_le32(300000000); in init_memory_map()
53 emap->map[0].node_id = cpu_to_le32(0); in init_memory_map()
54 emap->map[0].mem_type = cpu_to_le32(1); in init_memory_map()
55 emap->map[0].mem_start = cpu_to_le64(0x0); in init_memory_map()
56 emap->map[0].mem_size = cpu_to_le32(240); in init_memory_map()
58 emap->map[1].node_id = cpu_to_le32(0); in init_memory_map()
59 emap->map[1].mem_type = cpu_to_le32(2); in init_memory_map()
60 emap->map[1].mem_start = cpu_to_le64(0x90000000); in init_memory_map()
61 emap->map[1].mem_size = cpu_to_le32((ram_size / MiB) - 256); in init_memory_map()