mm: Catch allocation failure
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Mar 2018 18:54:53 +0000 (14:54 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 30 Apr 2018 18:36:28 +0000 (14:36 -0400)
commit60c790a6b11c2b0c98bf17818a629a9a0d854141
tree3062c051007332481244c29f72672277547e9f73
parent6e2eaa4ef2cec26ebdbb543aace46fa90edec80a
mm: Catch allocation failure

Given all this code is hokey, at least we'll panic instead of crashing.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/mm.c