Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4572024
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:35:15+00:00 2026-05-21T19:35:15+00:00

Currently, my OS boot from floppy. Since floppy driver is obsolete, i am planning

  • 0

Currently, my OS boot from floppy. Since floppy driver is obsolete, i am planning to change the booting media.

As I try to figure out what booting media to use, I realize that no matter what I choose, I need to write device driver for it. Though the Real Mode BIOS may provide me with some interrupts to interact with that device, I am on my own once entered the Protected Mode. So I start to read the < Linux Device Driver 3rd edition > for some guide. But that book is about writing device driver for Linux system. So, that implies that device drivers are specific to operating system.

Now I got the following questions:

  • In what aspects does a device driver depend on the operating system?
  • How are the operating system and device drivers laid out in memory?
  • How do the operating system and device drivers interact with each other?
  • If I hot-plug in a device, how does the operating system know where to find the proper device driver?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T19:35:15+00:00Added an answer on May 21, 2026 at 7:35 pm

    A device driver is a piece of code that implements the interface between a device and (usually) the operating system kernel. In that regard, it is necessarily dependent on the operating system it’s targeted for – that’s is core purpose, making that operating system aware of the device and allow it to use its functions.

    This is not to say that code for a device driver can’t be shared on different OSes. Some parts of them could be portable (the device side), but the interface side (that interacts with the OS) is dependent on the API that OS defines/provides.

    Layout in memory is entirely system dependent. There doesn’t have to be any specific memory layout policies for drivers versus other kernel services. The device itself might very well impose memory layout constraints, but that’s a different topic.

    The OS defines how it interacts with device drivers through APIs. You’ve got the documentation for how Linux does it in that (great) book. Other OSes could do it differently – the OS designers set the rules. If you’re the one creating the kernel, you define the APIs.

    Hot-plug is not easy. One way of doing mapping is to use some form of lookup table with information from the device as a “key”, and the suitable device driver structure/pointer/whatever as the value, or the other way around (having an API in your drivers that lets you know what device IDs the can handle). Device IDs could be PCI devices IDs, USB identifiers, … depends on the bus and type of device.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I develop exclusively on VMs. I currently run Boot Camp on a MacBook Pro
My Subversion repository currently is installed on a dual boot system with Windows and
Currently I'm doing some unit tests which are executed from bash. Unit tests are
Currently I know of only two ways to cache data (I use PHP but
I'm currently reading the boot.s file in the source for the first ever Linux
I have a dual-boot OS X / Ubuntu and am currently using separate Eclipse
I'm working on a project that is currently migrating from Apache Tomcat 6 to
I'm currently working on an application that needs to change certain settings on the
The following piece of code is from u-boot: /* Initialize GOT pointer. ** Global
I'm currently experimenting with build script, and since I have an ASP.net Web Part

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.