소스 검색

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: