Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I have one request: please put your references in your post.
Small recapitulation:
Operating modes are according to Intel64 manual volume 3 figure 2-3 and AMD64 manual volume 1 figure 1-6:
Real mode
Virtual8086 mode
Protected mode
SMM
IA-32e mode (long mode)
SMM is entered with SMI according to AMD64 manual volume 2 10.3.1 and Intel vol 1 section 3.1 says APIC can send it.
Can I use APIC with MSRs to execute my own code in SMM?
What will happen if I will load descriptors with 64-bit GDT entries in compatibility submode and then switch to real mode.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]