473,499 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Physical Addresses VS. Logical Addresses

Hi,

I'm new to the drivers arena, I'm dealing with WINNT drivers (2000,XP,
etc....).
I wounder whether the addresses i form like this one, are they physical
without translation or they will me translated to a physical address
usingh MMU?

volatile char* myPtr= 0x00000004;

Regards,

Nov 29 '06 #1
3 1722
namespace1 wrote:
I'm new to the drivers arena, I'm dealing with WINNT drivers (2000,XP,
etc....).
I wounder whether the addresses i form like this one, are they physical
without translation or they will me translated to a physical address
usingh MMU?

volatile char* myPtr= 0x00000004;
You'll want to ask in a group that deals with your platform. This one
deals with the standard C++ language proper, not platform-dependent
applications thereof. See this FAQ:

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9

Cheers! --M

Nov 29 '06 #2
namespace1 wrote:
I'm new to the drivers arena, I'm dealing with WINNT drivers (2000,XP,
etc....).
I wounder whether the addresses i form like this one, are they
physical without translation or they will me translated to a physical
address usingh MMU?

volatile char* myPtr= 0x00000004;
Standard C++, the subject of this newsgroup, does not define "drivers"
or "physical address" or "MMU". Try the newsgroup for your OS.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 29 '06 #3

namespace1 wrote:
Hi,

I'm new to the drivers arena, I'm dealing with WINNT drivers (2000,XP,
etc....).
I wounder whether the addresses i form like this one, are they physical
without translation or they will me translated to a physical address
usingh MMU?

volatile char* myPtr= 0x00000004;
What Victor and mlimber said.

In addition, if you're dealing with NT/2K/XP drivers, and you don't
know anything about them, you're either in the wrong job, or your
employer should spring for a driver training class. This class will
teach you about the kernel memory management API.

Writing WDM drivers is a tricky business, and really need an
instructor.

Also, you should look at the MS newsgroup hierarchy, for a newsgroup
with "ddk" in the title.

Nov 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1429
by: chris6995 | last post by:
I'm looking for a way to programatically query for the association between a physical device (i.e. removable USB storage) and it's logical drive letter. I've gone through Win32_LogicalDisk,...
9
3593
by: sushant | last post by:
hello, my question is related with the address of a variable in C. suppose if i am printing the address of a variable, so that address will be virtual address or physical address. and why it'll...
9
2482
by: dgk | last post by:
Is there some built in way to know whether a physical folder path is 'My Documents" for a specific user? I can always use xxx.StartsWith to compare it to the enumeration returned by the Personal...
6
6323
by: Grant | last post by:
I need to write data to a physical address between 0xD0000 and 0xDFFFF I have download the windows DDK but have no experience with this and would like to get up and running very quickly can any one...
1
2007
by: MattM | last post by:
Looking at a tutorial for Asp.Net 2.0 using Northwind, the DAL was built by dragging the tables on to an XSN to create a dataTable object for each table in the database. The BLL was then mapped for...
3
12783
by: nkumarin001 | last post by:
Hi, a) Why oracle architecture is divided into 2 types logical and physical structure? b) What is the use of logical structure in oracle as it does not consume any space if so then...
1
2163
by: gdia44 | last post by:
Hello, This is my first post to this forum. I'm working through an exercise where I am required to 'design and describe' the logical and physical structure for a case study. I've made quite...
1
1558
by: Jose Barragan | last post by:
Can anyone tell me whats the difference between logical pages and physical pages and how are logical pages created on the fly? Thanks
1
7434
by: Pioneer | last post by:
Hi, I need to get MAC address/physical ip address of machine. I am using below code: ManagementClass mc = new ManagementClass("Win32_NetworkAdapter"); foreach (ManagementObject mo in...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7178
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7223
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5475
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1427
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.