Skip to content

Commit

Permalink
Lesson 23, step 4
Browse files Browse the repository at this point in the history
  • Loading branch information
cfenollosa committed Aug 18, 2015
1 parent 6f09492 commit d9ee254
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion 23-fixes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`. `<stddef.h>` is required for `size_t`
of `u32int_t`. `size_t` should be used for all parameters which "count" stuff and cannot be
negative. Include `<stddef.h>`.

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
--------------------
Expand Down

0 comments on commit d9ee254

Please sign in to comment.