You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2025. It is now read-only.
__hard_irqrestore is restoring the sr from 6(sp) , but I believe it should be 4(sp) since the function is defined as __hard_irqrestore(irqflags_t f), so irqflags_t is immediately after the 4-byte return address on the stack.
https://github.com/EtchedPixels/FUZIX/blob/master/Kernel/cpu-68000/lowlevel-68000.S
__hard_irqrestoreis restoring the sr from6(sp), but I believe it should be4(sp)since the function is defined as__hard_irqrestore(irqflags_t f), soirqflags_tis immediately after the 4-byte return address on the stack.