How does the kernel communicate with the hardware
Posted: Mon Sep 15, 2008 2:43 pm
I'm trying to settle a debate with a friend of mine about how the OS communicates with the hardware (get the CD tray to eject, disable the ethernet card, play sound, etc).
He says it's through the BIOS, always. I shot that down because everything I've read tells me this can only be done in real mode, and it's kep[t quite basic, so you can't use the full power of the hardware.
I said that it's direct communication with the device through the system bus. Load your information, signal the device, let it do it's thing and wait for the result.
Can anyone post what actually happens?
Thanks,
He says it's through the BIOS, always. I shot that down because everything I've read tells me this can only be done in real mode, and it's kep[t quite basic, so you can't use the full power of the hardware.
I said that it's direct communication with the device through the system bus. Load your information, signal the device, let it do it's thing and wait for the result.
Can anyone post what actually happens?
Thanks,