Skip to contentSkip to conversation

are they physical address?

DISCUSSION Ankit Jain 4 participants 8 messages Oct 8, 2004 – Nov 25, 2004

lore
Share & tools
lore

Ankit Jain

author
#0 lore raw

hi

http://www.xml.com/ldd/chapter/book/ch02.html

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM
00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data
20000000-2fffffff : Intel Corporation 440BX/ZX -
82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01
e4000000-e4ffffff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

if somebody can explin me this:

"Once again, the values shown are hexadecimal ranges, and the string after the colon is the name of the "owner" of the I/O region. "

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 27 lines · Ankit Jain

hi

http://www.xml.com/ldd/chapter/book/ch02.html

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM
00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data
20000000-2fffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01
e4000000-e4ffffff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

if somebody can explin me this:

Quoted 7 lines

"Once again, the values shown are hexadecimal ranges, and the string after the colon is the name of the "owner" of the I/O region. "

thanks

ankit

Hi,
Yes that is the Physical address.
It means The address are given in Hexadecimal Values. In order to use
the memory region, The driver should request the region by, int request_mem_region(unsigned long start, unsigned long len,

    char *name);

start and end are the address range and name is the owner's name. So if you do,
request_mem_region(0xe7000000, 0xea000000, "Ankit"); You will see,
e7000000-ea000000 : Ankit

I think it clears some doubt.

Regards
manish
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Ankit Jain
Quoted 25 lines · Ankit Jain

hi

http://www.xml.com/ldd/chapter/book/ch02.html

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM
00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data
20000000-2fffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01
e4000000-e4ffffff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

Quoted 8 lines

if somebody can explin me this:

"Once again, the values shown are hexadecimal ranges, and the string after the colon is the name of the "owner" of the I/O region. "

What you are seeing is the remapped I/O space for various components in your computer. During bootup, the kernel scans the various buses and identifies various devices. Each driver remaps the I/O space for PCI devices - they are physical addresses in that those memory addresses do map to real devices, but they are not real memory addresses.

IIRC, the "reserved" area is the remapped kernel address space - they set it up to remap to the top of the 32-bit memory address range in order to allow hard-coded function calls - it is faster to hard-code the function calls than to maintain symbol tables.

I see this computer is a laptop - now I understand why you are reluctant to upgrade the RAM.

Quoted 5 lines

thanks

ankit

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#3 lore raw

Re: physical address?

thanks a lot for helping all the way

see inline

Quoted 39 lines · --- Jim Nelson
Quoted 4 lines · Ankit Jain

hi

http://www.xml.com/ldd/chapter/book/ch02.html

Quoted 15 lines

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM
00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data
20000000-2fffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01
e4000000-e4ffffff : ATI Technologies Inc 3D Rage

LT

Quoted 2 lines

Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage

LT

Quoted 7 lines

Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

if somebody can explin me this:

"Once again, the values shown are hexadecimal

ranges,

Quoted 5 lines

and the string after the colon is the name of the
"owner" of the I/O region. "

Quoted 10 lines

What you are seeing is the remapped I/O space for various components in
your computer. During bootup, the kernel scans the various buses and
identifies various devices. Each driver remaps the I/O space for PCI
devices - "they are physical addresses in that those memory addresses do
map to real devices, but they are not real memory addresses."

what do u mean by this? they are physical address but not the real memory address? what do u mean by physical address then?

Quoted 8 lines

IIRC, the "reserved" area is the remapped kernel address space - they
set it up to remap to the top of the 32-bit memory address range in
order to allow hard-coded function calls - it is faster to hard-code the
function calls than to maintain symbol tables.

what is hard coded funtion calls? is it something like stting the pointer to starting location?

Quoted 3 lines

I see this computer is a laptop - now I understand why you are reluctant
to upgrade the RAM.

what tells that this is a laptop?

Quoted 7 lines
Quoted 5 lines

thanks

ankit

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw

Re: physical address?

Quoted 60 lines · Ankit Jain

thanks a lot for helping all the way

see inline

Quoted 44 lines · --- Jim Nelson
Quoted 4 lines · Ankit Jain

hi

http://www.xml.com/ldd/chapter/book/ch02.html

Quoted 17 lines

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM 00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data 20000000-2fffffff : Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01 e4000000-e4ffffff : ATI Technologies Inc 3D Rage

LT

Quoted 4 lines

Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage

LT

Quoted 10 lines

<>Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

if somebody can explin me this:

"Once again, the values shown are hexadecimal ranges, and the string after the colon is the name of the "owner" of the I/O region."

Quoted 8 lines

What you are seeing is the remapped I/O space for
various components in your computer. During bootup, the kernel scans the various buses and identifies various devices. Each driver remaps the I/O space for PCI devices - "they are physical addresses in that those memory addresses do map to real devices, but they are not real memory addresses."

Quoted 6 lines

what do u mean by this? they are physical address but not the real memory address? what do u mean by physical address then?

Most modern computer components have an I/O range built in - like a graphics card, for example, will have the pixel maps, etc. for the display, an IDE controller will have a configuration area, status information, etc. Using PCI for an example, each adapter card has a certain amount of memory and register space. The virtual addresses allow you to use standard memory-oriented commands to access the devices. The x86 system has a different set of machine instruations for I/O (at least for the legacy components - serial & parallel ports, keyboard, mouse, system speaker, etc.) but most other architectures don't have that same kind of split - you just segment off an area of the address space and call it an adapter. It's not the easiest thing in the world to grok - I just barely understand it myself.

Quoted 7 lines
Quoted 6 lines

IIRC, the "reserved" area is the remapped kernel
address space - they set it up to remap to the top of the 32-bit memory address range in order to allow hard-coded function calls - it is faster to hard-code the function calls than to maintain symbol tables.

Quoted 5 lines

what is hard coded funtion calls? is it something like stting the pointer to starting location?

More like not having to go to a call table or calculate relative offsets. It saves time, to keep addresses of various parts of the kernel in predictable places. Any large program (Windows programs come to mind) will load various parts of itself at different times. Keeping track of where in memory all those functions are located takes processor time - for each subroutine called.

If you don't allow things to move around in memory, you can just jump to the address of the target subroutine. No fuss, no bother. That's how DOS interrupts were handled, by the way - you had to load your interrupt handler at a specific location in memory. It makes for a smaller, faster executable at the cost of some fragility when you try and muck with it.

Sorry if that's a little confused, but I'm just starting to get my chops on w/ programming anything beyond silly toys.

Quoted 10 lines
Quoted 4 lines

I see this computer is a laptop - now I understand why you are reluctant to upgrade the RAM.

what tells that this is a laptop?

68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2)

Texas Instruments CardBus slots. Educated guess - there are CardBus-to-PCI adapters available, but are pretty rare - not the kind of things that you'd see in a novice's computer. I'm looking at getting one myself, but that's because I have a project for my day job that involves some PCMCIA hacking, and my old laptop isn't feeling up to the job, I think.

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#5 lore raw

Re: physical address?

Quoted 7 lines
Quoted 6 lines

what tells that this is a laptop?

Quoted 6 lines

68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2)

Texas Instruments CardBus slots. Educated guess - there are CardBus-to-PCI adapters available, but are pretty rare - not the kind of things that you'd see in a novice's computer. I'm looking at getting one myself, but that's because I have a project for my day job that involves some PCMCIA hacking, and my old laptop isn't feeling up to the job, I think.

Duhhh - Should have looked at the link before posting - that /proc/iomem listing is right out of the text - the exact same #$@* book I'm reading right now! If this is a laptop you actually are using, I guess we can blame that one on the Force...

Quoted 6 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#6 lore raw

Re: physical address?

Quoted 24 lines · --- Jim Nelson
Quoted 7 lines
Quoted 6 lines

what tells that this is a laptop?

Quoted 5 lines

68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2)

Texas Instruments CardBus slots. Educated guess -

there are

Quoted 1 line

CardBus-to-PCI adapters available, but are pretty

rare - not the kind

Quoted 1 line

of things that you'd see in a novice's computer.

I'm looking at

Quoted 1 line

getting one myself, but that's because I have a

project for my day job

Quoted 1 line

that involves some PCMCIA hacking, and my old

laptop isn't feeling up

Quoted 2 lines

to the job, I think.

Quoted 7 lines

Duhhh - Should have looked at the link before
posting - that /proc/iomem
listing is right out of the text - the exact same
#$@* book I'm reading
right now! If this is a laptop you actually are
using, I guess we can
blame that one on the Force...

haha...i am sorry but i am not using a laptop. great ..... thats why asked who told its a laptop.

its really fun working ... sometimes its really
humrous...

anyways....that was really a educated guess.....

regarads,

ankit

Quoted 12 lines
Quoted 2 lines

-
To unsubscribe from this list: send the line

"unsubscribe

Quoted 3 lines

linux-newbie" in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 1 line

Please read the FAQ at

http://www.linux-learn.org/faqs

Quoted 1 line

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#7 lore raw
In reply to Ankit Jain

These are the I/O mem regions registered by (or reserved for) the driver modules (the "owners") so they don't interfere in each other's fields.

- Ratnadeep

Quoted 35 lines · Ankit Jain

hi

http://www.xml.com/ldd/chapter/book/ch02.html

00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000f0000-000fffff : System ROM 00100000-03feffff : System RAM
00100000-0022c557 : Kernel code 0022c558-0024455f : Kernel data
20000000-2fffffff : Intel Corporation 440BX/ZX -
82443BX/ZX Host bridge
68000000-68000fff : Texas Instruments PCI1225 68001000-68001fff : Texas Instruments PCI1225 (#2) e0000000-e3ffffff : PCI Bus #01 e4000000-e7ffffff : PCI Bus #01
e4000000-e4ffffff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
e6000000-e6000fff : ATI Technologies Inc 3D Rage LT
Pro AGP-133
fffc0000-ffffffff : reserved
what is it reserved for?

if somebody can explin me this:

"Once again, the values shown are hexadecimal ranges, and the string after the colon is the name of the "owner" of the I/O region. "

thanks

ankit

Quoted 10 lines

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping"
your friends today! Download Messenger Now
http://uk.messenger.yahoo.com/download/index.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs