garfield
11-03-2001, 02:32 PM
Hello, there,
I have a general question about how OS interact with BIOS.
Mordern OSes run in protected mode, while most BIOS codes run in real mode. The result is the OS cannot call most BIOS functions directly. I'm aware that some BIOS calls are designed for protected mode.
Here's a more specific scenario. Once a PnP OS is started, it will detect new device plugged into the system (e.g. insert a network card into a laptop running Windows 95.)
Generally speaking, once the OS loader switches the CPU into protected mode, it needs a generic method to communicate with BIOS codes.
My questions are,
(1) Is there such a generic communication method (or industry standard API) like this?
(2) If protected OS may call protected BIOS code, how does BIOS know those GDT, LDT and IDT etc?
(3) In case of the above PnP scenrio, could anybody explain a little bit technical details?
(4) Where can I find BIOS techinical specifications?
Thanks in advance,
I have a general question about how OS interact with BIOS.
Mordern OSes run in protected mode, while most BIOS codes run in real mode. The result is the OS cannot call most BIOS functions directly. I'm aware that some BIOS calls are designed for protected mode.
Here's a more specific scenario. Once a PnP OS is started, it will detect new device plugged into the system (e.g. insert a network card into a laptop running Windows 95.)
Generally speaking, once the OS loader switches the CPU into protected mode, it needs a generic method to communicate with BIOS codes.
My questions are,
(1) Is there such a generic communication method (or industry standard API) like this?
(2) If protected OS may call protected BIOS code, how does BIOS know those GDT, LDT and IDT etc?
(3) In case of the above PnP scenrio, could anybody explain a little bit technical details?
(4) Where can I find BIOS techinical specifications?
Thanks in advance,