Lab 10: The Heap -- 03/30/2020

COSC 2200, Spring 2020

Marquette University, Department of Computer Science

Description

In our eleventh lab, you will work on the "heap limits" problem from the current assignment, posted here.

TODO:

Answer the following question: How much memory (in bytes) will the ARM playground give you? Hint: malloc() returns zero if the requested size would return a pointer to a location outside the representable memory space. It is recommended to use kprintf to print the hex value of the address returned by malloc(). Solving this lab will put you in a good position to solve the rest of the malloc portion of HW7.

When finished, show a demo to the TA. Ask questions along the way.