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

  • Home
  • SEARCH
  • 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 7668463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:22:11+00:00 2026-05-31T15:22:11+00:00

I studied a bit about port mapped IO and memory mapped IO and I

  • 0

I studied a bit about port mapped IO and memory mapped IO and I figured out how the first works (not the second yet), so if you have something well-explained about how memory mapped IO is performed (I heard it’s about intercepting page faults by the OS to reroute them to the devices) please let me know.

Anyway my question is: communicating with the internal real time clock (RTS) uses an I/O Port mapping and you need to use outb(byte_selected,0x70) and similar functions on the 0x70 port.. who decided the 0x70 port? How can I figure out where are they declared? And what about memory mapping IOs? Who decides what addresses are associated to what devices? And if I added my own device to the system, how would its memory be mapped?

I’ve still a lot of confusion about OS-hw communications..

  • 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-31T15:22:12+00:00Added an answer on May 31, 2026 at 3:22 pm

    Memory mappings are decided by the hardware manufacturer and are hardwired on the bus. They cannot be changed whatsoever and the correct mappings must be read from the hardware specification.

    Some pluggable buses like PCI work by having their own address space for their devices. They can detect the presence of devices and their needs in terms of I/O and assign them ranges within this reserved space. The CPU can then access it through its own space using PCI registers, or more efficiently through DMA. See this page for more details: http://tldp.org/LDP/tlk/dd/pci.html

    Note that not all devices work with mapped I/O – for instance, USB devices do not use memory I/O and only communicate with the host through well-defined USB commands.

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

Sidebar

Related Questions

I have studied a bit into the lifespan of the DataContext trying to work
Hi I studied Push notification, and i find out I have to Creating the
I know a bit about PHP, but never studied in depth, but now I
I studied the example code here about printing a jtable and works fine for
We have studied the Variable Elimination recently and the teacher emphasizes that it is
I have studied generators feature and i think i got it but i would
I have studied most of the posts concerning web page being viewed in an
I hear much talk about memcached , but when briefly studied on it, I
I understand the basics of dataflow programming and have encountered it a bit in
Here's a bit of a twist on the old which do I learn first

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.