BIOS INT 0x15 EAX 0xEC00
Posted: Wed Aug 26, 2015 1:45 pm
According to the Wiki:
BTW, if I return back to real mode to call the BIOS, should I use this function or not?
But the BIOS is usually not called from protected mode or long mode. What exactly does this function do?In order for the firmware built into the system to optimize itself for running in Long Mode, AMD recommends that the OS notify the BIOS about the intended target environment that the OS will be running in: 32-bit mode, 64-bit mode, or a mixture of both modes. This can be done by calling the BIOS interrupt 15h from Real Mode with AX set to 0xEC00, and BL set to 1 for 32-bit Protected Mode, 2 for 64-bit Long Mode, or 3 if both modes will be used.
BTW, if I return back to real mode to call the BIOS, should I use this function or not?