Skip to content

Commit 5757ecd

Browse files
author
deployBot
committed
Deploy at Tue Mar 19 07:55:05 UTC 2024
1 parent 68182c4 commit 5757ecd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_sources/labs/memory_mapping.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ mmap 系统调用有以下参数:
285285

286286
.. attention:: vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 :c:func:`remap_pfn_range`。
287287

288-
遍历所有虚拟页面,并对于每个页面
288+
遍历所有虚拟页面,并对于每个页面:
289289
* 确定物理地址
290290
* 使用 :c:func:`remap_pfn_range` 进行映射
291291

labs/memory_mapping.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ <h3>2. 将非连续的物理内存映射到用户空间<a class="headerlink" hre
421421
<div class="admonition attention">
422422
<p class="first admonition-title">Attention</p>
423423
<p>vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 <code class="xref c c-func docutils literal"><span class="pre">remap_pfn_range()</span></code></p>
424-
<p>遍历所有虚拟页面,并对于每个页面
424+
<p>遍历所有虚拟页面,并对于每个页面:
425425
* 确定物理地址
426426
* 使用 <code class="xref c c-func docutils literal"><span class="pre">remap_pfn_range()</span></code> 进行映射</p>
427427
<p class="last">确保每次都确定物理地址,并且只映射一个页面。</p>

so2/lab6-memory-mapping.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ <h3>2. 将非连续的物理内存映射到用户空间<a class="headerlink" hre
455455
<div class="admonition attention">
456456
<p class="first admonition-title">Attention</p>
457457
<p>vmalloc 页面不是物理连续的,因此需要为每个页面单独使用 <code class="xref c c-func docutils literal"><span class="pre">remap_pfn_range()</span></code></p>
458-
<p>遍历所有虚拟页面,并对于每个页面
458+
<p>遍历所有虚拟页面,并对于每个页面:
459459
* 确定物理地址
460460
* 使用 <code class="xref c c-func docutils literal"><span class="pre">remap_pfn_range()</span></code> 进行映射</p>
461461
<p class="last">确保每次都确定物理地址,并且只映射一个页面。</p>

0 commit comments

Comments
 (0)