File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ mmap 系统调用有以下参数:
285
285
286
286
.. attention :: vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 :c:func:`remap_pfn_range`。
287
287
288
- 遍历所有虚拟页面,并对于每个页面:
288
+ 遍历所有虚拟页面,并对于每个页面:
289
289
* 确定物理地址
290
290
* 使用 :c:func: `remap_pfn_range ` 进行映射
291
291
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ <h3>2. 将非连续的物理内存映射到用户空间<a class="headerlink" hre
421
421
< div class ="admonition attention ">
422
422
< p class ="first admonition-title "> Attention</ p >
423
423
< p > vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 < code class ="xref c c-func docutils literal "> < span class ="pre "> remap_pfn_range()</ span > </ code > 。</ p >
424
- < p > 遍历所有虚拟页面,并对于每个页面:
424
+ < p > 遍历所有虚拟页面,并对于每个页面:
425
425
* 确定物理地址
426
426
* 使用 < code class ="xref c c-func docutils literal "> < span class ="pre "> remap_pfn_range()</ span > </ code > 进行映射</ p >
427
427
< p class ="last "> 确保每次都确定物理地址,并且只映射一个页面。</ p >
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ <h3>2. 将非连续的物理内存映射到用户空间<a class="headerlink" hre
455
455
< div class ="admonition attention ">
456
456
< p class ="first admonition-title "> Attention</ p >
457
457
< p > vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 < code class ="xref c c-func docutils literal "> < span class ="pre "> remap_pfn_range()</ span > </ code > 。</ p >
458
- < p > 遍历所有虚拟页面,并对于每个页面:
458
+ < p > 遍历所有虚拟页面,并对于每个页面:
459
459
* 确定物理地址
460
460
* 使用 < code class ="xref c c-func docutils literal "> < span class ="pre "> remap_pfn_range()</ span > </ code > 进行映射</ p >
461
461
< p class ="last "> 确保每次都确定物理地址,并且只映射一个页面。</ p >
You can’t perform that action at this time.
0 commit comments