안녕하세요..고수님들의 조언 부탁드립니다.
질문은 간단합니다.
"Linux user application에서 malloc으로 memory 할당한 다음 logical memory address를
device driver에 넘겨서 physical memory address를 알고 싶습니다."
따로 함수가 있다는 얘기도 들었는데 조언 부탁드립니다.
감사합니다.
Hi zzang: This is not recommendation method which let's driver get the user space Physical address. And as i know, there is no way to do it even we can do this from technical side. I believe there is workaround for your purpose.
Thanks
get_user_pages(), page_to_pfn().
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
Hi zzang: This is not
Hi zzang:
This is not recommendation method which let's driver get the user space Physical address.
And as i know, there is no way to do it even we can do this from technical side.
I believe there is workaround for your purpose.
Thanks
get_user_pages(),
get_user_pages(), page_to_pfn().
댓글 달기