Page 1 of 1

Hung up on TTS flush

Posted: Fri May 22, 2015 10:24 am
by deleted
Hello,

I have been following Jame's Molloys tutorials and have got to the part with user mode. I have a few problems though. When I try to enable my GDT I can install it until it gets to the tts_flush() function. Here it is:

Code: Select all

tss_flush:
    mov ax, 0x2B
    ltr ax
    ret
 
Simple right? Well for some reason it's not so simple. I have all the other parts done and can read from an initrd, but for some reason it won't flush the tss. The answer is probably super simple but any help is appreciated.

Please point me to any tutorials, papers, posts, etc. and I opoligize for re-posting if this has been posted to death, I did search.

Thanks!

Re: Hung up on TTS flush

Posted: Fri May 22, 2015 2:26 pm
by Combuster
it won't flush the tss.
Bad bug report. What exactly were you expecting it to do and what actually did happen?