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 8094559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:49:43+00:00 2026-06-05T20:49:43+00:00

I was reading the OS theory in which I found that a process have

  • 0

I was reading the OS theory in which I found that a process have it’s virtual address space (loosely using technique base and limit register for sake of simplicity) But it can’t access any other addresses. But in embedded systems we can use placement new or reinterpret_cast (C++) to access memory mapped IO address’es, but how that can be possible if we can’t access any other address except process’s virtual address space?

class ControlReg { 
public:
bool ready() const { return readyBit; }
private:
volatile unsigned readyBit :1;
};

ControlReg *pcr = reinterpret_cast<ControlReg*>(0xFFFF0000); // address 0xFFFF0000 is still virtual or absolute physical mapped address?

Is there some instruction that makes possible for process to access any address? . I’m confused I guess, can anyone please help me view things clearly?

Thanks

  • 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-06-05T20:49:45+00:00Added an answer on June 5, 2026 at 8:49 pm

    This is a purely OS issue, and applies to all languages (including
    assembler). Modern, general purpose OS’s map the memory of user
    processes, and don’t allow access outside of the mapped memory; a user
    process cannot normally access memory mapped IO, or even memory used by
    the OS. But this mapping is done by the system: the system may have
    special requests that allow going around it; kernel level code definitly
    can go around it; and many embedded systems, especially smaller ones,
    don’t have memory mapping at all.

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

Sidebar

Related Questions

I've been reading a couple books/online references about compiler theory, and keep seeing that
I have been reading up on session fixing/hijacking recently, and understand the theory. What
I have been reading a lot about dependency injection recently, and in theory it
I'm reading a book on automata theory, and the book gives an example that
I was reading the article Java theory and practice: Building a better HashMap that
So I have recently been reading some papers on the relationships of graph theory
I'm reading CJ Date's SQL and Relational Theory: How to Write Accurate SQL Code
Reading through some of the questions here, the general concensus seems to be that
Reading through the SendAsync , BeginAsync method illustrations of Socket s, I realized that
I am trying to learn number theory for RSA cryptography by reading the CLR

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.