Skip to content
Snippets Groups Projects
Commit 48928f30 authored by Michal Privoznik's avatar Michal Privoznik
Browse files

02: Fixup homework assignment


Firstly, move error reporting into create_frames() so that
ERROR_ERRNO() can be used. Then, swap arguments to
posix_memalign() so that separation between frames is increased
to 65KiB. This should crash reliably if there's an error in MMU
implementation.

And finally, introduce and use ARRAY_CARDINALITY() macro.

Signed-off-by: default avatarMichal Privoznik <mprivozn@redhat.com>
parent ed7ae376
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment