Advanced Embedded Systems Question:
Download Questions PDF

Explain me why do we need virtual device drivers when we have physical device drivers?

Advanced Embedded Systems Interview Question
Advanced Embedded Systems Interview Question

Answer:

Device drivers are basically a set of modules/routines so as to handle a device for which a direct way of communication is not possible through the user's application program and these can be thought of as an interface thus keeping the system small providing for minimalistic of additions of code, if any.
Physical device drivers can’t perform all the logical operations needed in a system in cases like IPC, Signals and so on...
The main reason for having virtual device drivers is to mimic the behaviour of certain hardware devices without it actually being present and these could be attributed to the high cost of the devices or the unavailability of such devices.
These basically create an illusion for the users as if they are using the actual hardware and enable them to carryout their simulation results.
Examples could be the use of virtual drivers in case of Network simulators,also the support of virtual device drivers in case a user runs an additional OS in a virtual box kind of a software.

Download Advanced Embedded Systems Interview Questions And Answers PDF

Previous QuestionNext Question
When one must use recursion function? Mention what happens when recursion functions are declared inline?Do you know what is Endianness of a system and how do different systems communicate with each other?