Browse Source

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 năm trước cách đây
mục cha
commit
be59a42e94
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: