Skip to content
  • Matthew Rease's avatar
    69b5c3fb
    Fix disk error handling. · 69b5c3fb
    Matthew Rease authored
    Turns out iret pops the FLAGS register... so yeah that probably
    introduced some early bugs I couldn't figure out, but also explained why
    I could never get the error messages to print. So I added code that
    mangles SI (could have used xchg...) so we can modify the stack directly
    before calling iret.
    69b5c3fb
    Fix disk error handling.
    Matthew Rease authored
    Turns out iret pops the FLAGS register... so yeah that probably
    introduced some early bugs I couldn't figure out, but also explained why
    I could never get the error messages to print. So I added code that
    mangles SI (could have used xchg...) so we can modify the stack directly
    before calling iret.
Loading