From d9ee2545da1bd4b38def39e80fd0574bd97d8d5f Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 18 Aug 2015 11:02:06 +0200 Subject: [PATCH] Lesson 23, step 4 --- 23-fixes/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/23-fixes/README.md b/23-fixes/README.md index 8a976c9..a64b32c 100644 --- a/23-fixes/README.md +++ b/23-fixes/README.md @@ -43,7 +43,12 @@ and use those data types instead of our own, then delete them on `type.h` ------------------------------- First, since `kmalloc` uses a size parameter, we'll use the correct data type `size_t` instead -of `u32int_t`. `` is required for `size_t` +of `u32int_t`. `size_t` should be used for all parameters which "count" stuff and cannot be +negative. Include ``. + +We will fix our `kmalloc` in the future, making it a proper memory manager and aligning data types. +For now, it will always return a new page-aligned memory block. + 5. Missing functions --------------------