Hi Wolf,

I have just recognized that there is no way to map physical addr onto
specified virtual addr

I believe you are mistaken. The physmem_map() syscall accepts the virtual address as its penultimate input/output argument.

If the input value is NULL, then physmem_map() will create a new virtual memory area with a suitable base virtual address. If the input value is specified, then physmem_map() will try to create a new virtual memory area with a base virtual address as specified (if it doesn't conflict with any already existing virtual memory area, of course).

FYI: The actual business code is in as_area_create() in kernel/generic/src/mm/as.c


M.D.

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to