浏览代码

Fix get_heap arguments meaning

`n` is not the number of bytes but the number of items which are each of
the given size.
Remi Rampin 9 年之前
父节点
当前提交
be59a42e94
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Booting/linux-bootstrap-3.md

+ 1 - 1
Booting/linux-bootstrap-3.md

@@ -83,7 +83,7 @@ for heap allocation. It calls the internal function `__get_heap` with 3 paramete
 
 * size of a type in bytes, which need be allocated
 * `__alignof__(type)` shows how variables of this type are aligned
-* `n` tells how many bytes to allocate
+* `n` tells how many items to allocate
 
 Implementation of `__get_heap` is: