Hi,
Gurudatta Raut wrote:
--- Abhijit Bhopatkar <[EMAIL PROTECTED]> wrote:
well c made it more or less platform
independant....... unless the new
platform doesn't support a c compiler,
os independnat drivers are however mostly
impossible, except may be
few bsds can use one another's drivers.
BAIN
thats interesting,
So why is it not possible to create embeded (stored
into the hardware) device drivers made completely in
Java ?
Maybe you should learn more about the difference between 'Java' the platform and
'java' the language.
The Java platform is what makes the code written in java, platform independent.
So, if we were to implement device drivers completely in Java we would also have
to implement a whole Java runtime environment embedded within the hardware
....which in turn may require an OS.
It will be duty of OS to use the drivers instead of
installing them ?
Think about it at a high level. What are device drivers ?? They are a layer
between the OS and the hardware. For an OS independent device driver to exist,
it would be required to not only be able to control the hardware but also to
expose a conforming interface for each OS it intends to support.
Example (totally fictional !!):
read(memory_address, buffer) call from OS1 \__ Device Driver read()-> Hardware
read(buffer, memory_address) call from OS2 /
complicates things a bit huh ??
HTH
Regards
Steve
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.