Physical Addresses VS. Logical Addresses | Bytes (2024)

Home Posts Topics Members FAQ

namespace1

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 Physical Addresses VS. Logical Addresses | Bytes (1) 1733 Physical Addresses VS. Logical Addresses | Bytes (2)

mlimber

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

Victor Bazarov

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

redfloyd

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

1443

associate physical and logical drives

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, Win32_DiskDrive, Win32_PhysicalMedia in system.management... I've also run through WM_DEVICECHANGE and the device types under DEV_BROADCAST_HDR. I can't find anything that gives me the logical drive letter mapping for physical device/drive - in this...

.NET Framework

9 3605

virtual address or physical address?

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 be so? is that has something to do with 16 bit environment and 32 bit environment? thanks in advance

C / C++

9 2496

Physical vs Logical My Documents question

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 folder, but it seems a bit inelegant.

Visual Basic .NET

6 6340

Accessing physical memory using C++

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 point me in the direction of an example that I could modify. I found a reference to an example program called GENPORT but can't seem to find any similar example in the latest DDK. I have also found an already written and complied driver called...

C / C++

1 2013

DAL is physical mapping and BLL logical?

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 each entity but since the data was simple it mapped to a physical table (ex. customer). But what do you do if your tables don't match up the physical and logical? For example, you could have a table for people, a table for job codes, and a...

ASP.NET

3 12791

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 what is the use of physical structure? Regards, Naveen

Oracle Database

1 2172

Logical and physical Structure

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 good progress so far. For logical part I have done the following:

Oracle Database

1 1562

Logical Pages vs Physical Pages

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

ASP.NET

1 7467

Getting MAC address/Physical IP address of machine through C#

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 mc.GetInstances()) { string macAddr = mo as string; if ( macAddr != null && macAddr.Trim() != "" )

C# / C Sharp

8238

Changing the language in Windows 10

by: Hystou |last post by:

Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...

Windows Server

8734

Problem With Comparison Operator <=> in G++

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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...

C / C++

1 8407

The easy way to turn off automatic updates for Windows 10/11

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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...

Windows Server

8539

Discussion: How does Zigbee compare with other wireless protocols in smart home applications?

by: tracyyun |last post by:

Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...

General

7246

AI Job Threat for Devs

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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...

Career Advice

1 6138

Access Europe - Using VBA to create a class based on a table - Wed 1 May

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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...

Microsoft Access / VBA

5591

Couldn’t get equations in html when convert word .docx file to html file in C#.

by: conductexam |last post by:

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

C# / C Sharp

4117

Trying to create a lan-to-lan vpn between two differents networks

by: TSSRALBI |last post by:

Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

Networking - Hardware / Configuration

2 1547

Comprehensive Guide to Website Development in Toronto: Expert Insights from BSMN Consultancy

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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

General

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

To disable or enable advertisem*nts and analytics tracking please visit the page.

Physical Addresses VS. Logical Addresses | Bytes (2024)
Top Articles
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6440

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.