Skip to content
No description, website, or topics provided.
C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
kernel
README.md

README.md

#stackRearrange

Rearranged stack layout FROM

code

stack (fixed-sized, one page)

heap (grows towards the high-end of the address space)

TO

code

heap (grows towards the high-end of the address space)

... (gap -- ensure atleast one page)

stack (at end of address space; grows backwards)

Automatically grow the stack backwards when needed. Added code in exec.c, proc.c, vm.c(allocuvm, copyuvm) etc.

Also handled null pointer dereference: now outputs an error.

You can’t perform that action at this time.