• Home
  • Raw
  • Download

Lines Matching refs:ard

53     struct AddrRangeDesc *ard;  in mboot_scan_memory()  local
74 *ardp = ard = malloc(RANGE_ALLOC_BLOCK * sizeof *ard); in mboot_scan_memory()
75 if (!ard) in mboot_scan_memory()
100 *ardp = ard = realloc(ard, ard_space * sizeof *ard); in mboot_scan_memory()
101 if (!ard) { in mboot_scan_memory()
107 ard[ard_count].size = 20; in mboot_scan_memory()
108 ard[ard_count].BaseAddr = e820buf->start; in mboot_scan_memory()
109 ard[ard_count].Length = e820buf->len; in mboot_scan_memory()
110 ard[ard_count].Type = e820buf->type; in mboot_scan_memory()
121 ard[0].size = 20; in mboot_scan_memory()
122 ard[0].BaseAddr = 0; in mboot_scan_memory()
123 ard[0].Length = *dosmem << 10; in mboot_scan_memory()
124 ard[0].Type = 1; in mboot_scan_memory()
132 ard[1].size = 20; in mboot_scan_memory()
133 ard[1].BaseAddr = 1 << 20; in mboot_scan_memory()
134 ard[1].Length = oreg.ecx.w[0] << 10; in mboot_scan_memory()
135 ard[1].Type = 1; in mboot_scan_memory()
138 ard[2].size = 20; in mboot_scan_memory()
139 ard[2].BaseAddr = 16 << 20; in mboot_scan_memory()
140 ard[2].Length = oreg.edx.w[0] << 16; in mboot_scan_memory()
141 ard[2].Type = 1; in mboot_scan_memory()
155 ard[1].size = 20; in mboot_scan_memory()
156 ard[1].BaseAddr = 1 << 20; in mboot_scan_memory()
157 ard[1].Length = oreg.ecx.w[0] << 10; in mboot_scan_memory()
158 ard[1].Type = 1; in mboot_scan_memory()
172 struct AddrRangeDesc *ard; in mboot_make_memmap() local
179 nmap = mboot_scan_memory(&ard, &lowmem); in mboot_make_memmap()
188 start = ard[i].BaseAddr; in mboot_make_memmap()
189 end = start + ard[i].Length; in mboot_make_memmap()
203 if (ard[i].Type == 1 && start == highmem) { in mboot_make_memmap()
206 } else if (ard[i].Type != 1 && start < highrsvd) in mboot_make_memmap()
218 mbinfo.mmap_addr = map_data(ard, nmap * sizeof *ard, 4, false); in mboot_make_memmap()
220 mbinfo.mmap_length = nmap * sizeof *ard; in mboot_make_memmap()