This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Code Checksum


Code Checksum

Postby GlenC » Jul 12, 2004 @ 2:02am

GlenC
pm Member
 
Posts: 11
Joined: Feb 9, 2004 @ 3:03pm


Postby refractor » Jul 12, 2004 @ 11:13am

User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby Exocet » Jul 17, 2004 @ 5:04am

Just would like to clear up the disccussion on the other page a little.

The arm processor has a register (N-bits check the spec) containing the current process id. When accessing memory (both code and data) if the top N bits of the address are zero the process id is or'd to it. Thus your process id is represented by 0x22000000. So if you pass 0x14298 as the address being accessed you are really accessing:
0x22000000 | 0x14298 = 0x22014298

So when accessing 0x22014298 and 0x14298 (as long as you are in the same process), they both refer to the same virtual address, by virtue of the ARM memory management system.

This has nothing to do with windows ce, it's all about the architecture and how the strong-arm/xscale partitions its address space.
Exocet
pm Member
 
Posts: 18
Joined: Jun 29, 2003 @ 2:24am
Location: Toronto, Canada


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum