I've got my C and ASM files on GitHub:
- https://github.com/neonorb/aura/blob/ma ... el/idt.cpp
https://github.com/neonorb/aura/blob/ma ... l/idtasm.s
Any ideas would be extremely helpful!
Only if you are booting from UEFI, and NOT Multiboot. They are for all intents and purposes mutualy exclusive.chris13524 wrote:Would it be possible that the IDT doesn't work because I haven't called ExitBootServices yet?
I am not supporting booting other than from UEFI. One, it makes it much easier, and two, UEFI is a standard that everybody should be supporting anyways soo...tjmonk15 wrote:Only if you are booting from UEFI, and NOT Multiboot. They are for all intents and purposes mutualy exclusive.chris13524 wrote:Would it be possible that the IDT doesn't work because I haven't called ExitBootServices yet?
I WOULD however like to see your grub.cfg from/for your bootable image (whether for HD, Floppy, CD or something else)
- Monk
What are you talking about? I do not support multiboot. If you are looking at the source code, the multiboot file is only there incase I wanted to add support again, I will likely remove it soon.So you are targeting UEFI? And don't understand what "qemu -kernel kernel.img" actually means... *sigh* go read the Wiki/Google until you understand the difference between Multiboot and UEFI. THEN you can ask questions why.
- Monk
P.S. Pretty much your code does not work ever. It happens to work by chance when using Multiboot from Qemu, but since you are targeting Uefi, that is a false positive and means nothing. In reality, your code is horribly broken in every way. Including using a tutorial meant for multiboot when you didnt have a clue what that meant. Honestly, you need to learn research skills before we spend any time helping you
I am not running this command, I am building a FAT partition and copying my UEFI image to it. Take a look at my makefile, it's all there. I can even confirm it works in VirtualBox and on real hardware.And don't understand what "qemu -kernel kernel.img" actually means...
Are you sure about this? Reading the specifications it says that some protocols will still be available after calling ExitBootServices (and some will not). I do not see where it says which ones are which.Do note that you can't use the UEFI console after calling that (nor anything else from the boot services structure)
Try section 2.2.2 of the current UEFI specification (2.6).chris13524 wrote:I do not see where it says which ones are which.