MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_map_addr

Function db_map_addr

freebsd/ddb/db_break.c:322–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322vm_map_t
323db_map_addr(vm_offset_t addr)
324{
325#if 0
326 thread_t thread;
327
328 /*
329 * We want to return kernel_map for all
330 * non-user addresses, even when debugging
331 * kernel tasks with their own maps.
332 */
333
334 if ((VM_MIN_ADDRESS <= addr) &&
335 (addr < VM_MAX_ADDRESS) &&
336 ((thread = current_thread()) != NULL))
337 return thread->task->map;
338 else
339#endif
340 return kernel_map;
341}

Callers 4

db_watch.cFile · 0.85
db_find_breakpoint_hereFunction · 0.85
db_delete_cmdFunction · 0.85
db_breakpoint_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected