Lines Matching refs:map

129 				dprintf("cannot map physical memory range "
159 dprintf("cannot map physical memory range "
251 //TRACE("map: va = %p -> %p, mode = %d, hash = %lu\n",
265 //TRACE("map: va = %p -> %p, mode = %d, second hash = %lu\n",
317 struct translation_map *map = &translations[i];
319 TRACE("%i: map: %p, length %d -> physical: %p, mode %d\n", i,
320 map->virtual_address, map->length,
321 map->physical_address, map->mode);
325 if (is_physical_memory(map->physical_address)
326 && insert_physical_allocated_range((addr_t)map->physical_address,
327 map->length) != B_OK) {
328 dprintf("cannot map physical allocated range "
334 if (map->virtual_address == pageTable) {
336 map->virtual_address);
338 = (page_table_entry_group *)map->physical_address;
342 if ((addr_t)map->physical_address <= 0x100
343 && (addr_t)map->physical_address + map->length >= 0x1000) {
345 map->virtual_address);
346 *_exceptionHandlers = map->virtual_address;
350 if (map->virtual_address == oldPageTable)
355 if (insert_virtual_allocated_range((addr_t)map->virtual_address,
356 map->length) != B_OK) {
357 dprintf("cannot map virtual allocated range "
362 // map range into the page table
364 map_range(map->virtual_address, map->physical_address, map->length,
365 map->mode);
371 map->virtual_address);
373 if (insert_virtual_range_to_keep(map->virtual_address,
374 map->length) != B_OK) {
375 dprintf("cannot map virtual range to keep "
381 total += map->length;
596 // map range into the page table
700 if (!strcmp(name, "map"))
734 // get map of physical memory (fill in kernel_args structure)
808 // identity map the first 256 MB (where our code/data reside)