64bit long mode questions...
Posted: Sat Dec 29, 2007 10:12 pm
Hey there
After solving some problems i had with my bootloader (yes i decided to write my own :S) I came across AMD's manuals that say:
To jump into long mode you have to setup 32bit pmode first then reinitialise it for long mode.
a) is it possible to jump directly to long mode from real mode? (without the whole initialization stuff)
b) is it possible to go back to real mode without having problems (since no 32bit enviroment is initialized )
c) out of personal experience i have noticed that i can use 32bit gpr's even when im working on 16bits (e.g. EAX without having initialized 32bit mode) is it possible to use 64bit gprs too??
Thanks in advance
After solving some problems i had with my bootloader (yes i decided to write my own :S) I came across AMD's manuals that say:
To jump into long mode you have to setup 32bit pmode first then reinitialise it for long mode.
a) is it possible to jump directly to long mode from real mode? (without the whole initialization stuff)
b) is it possible to go back to real mode without having problems (since no 32bit enviroment is initialized )
c) out of personal experience i have noticed that i can use 32bit gpr's even when im working on 16bits (e.g. EAX without having initialized 32bit mode) is it possible to use 64bit gprs too??
Thanks in advance