diff options
author | Frans Kaashoek <[email protected]> | 2018-09-29 08:30:50 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2018-09-29 08:34:41 -0400 |
commit | 3bfcaeaf015ffe0d92937c023e9a0086909a0161 (patch) | |
tree | da9f7348ceff53f913ce82209e91959a8c347ebd /vm.c | |
parent | 322990649b35c893931a9ce67d4ccb25883c7446 (diff) | |
download | xv6-labs-3bfcaeaf015ffe0d92937c023e9a0086909a0161.tar.gz xv6-labs-3bfcaeaf015ffe0d92937c023e9a0086909a0161.tar.bz2 xv6-labs-3bfcaeaf015ffe0d92937c023e9a0086909a0161.zip |
Make sysexit and trapret paths the same, so that forkret can return through
either path. This helped tracking down a bug: use 144 instead of 32 to find cs
in trapframe so that gs is correctly saved and restored.
For good measure update linker script, because newer versions of GCC sometimes
places symbols passed end.
Diffstat (limited to 'vm.c')
0 files changed, 0 insertions, 0 deletions