Skip to content

Conversation

@aks-cs5211004
Copy link

changed user process segment limits(in vm.c) since we are allocating 4kB for the kernel stack, so I subtracted 4kB from the total limit of the segments instead of just subtracting 1 (or 0x1 in hex);
and changed stack pointer calculation (in proc.c), there was a mistake/confusion in regards to >>(right shift) or <<(left shift).

…kernel stack into consideration(in vm.c), also modified the binary left shift to right shift (in proc.)c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant