ffwff / lilith

x86-64 os made in crystal
Other
1.15k stars 27 forks source link

Garbage collector doesn't the stack correctly when called from an interrupt #14

Closed ffwff closed 4 years ago

ffwff commented 4 years ago

When called from an interrupt, the memory range between the stack start and the %rsp register doesn't cover all of the local variables used by the function being interrupted.

I think this can be solved by: