Re: about the address of the variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for pay attenion to my question.

I know virtual address includes logical address and linear address, which one does the "0xbfcce590" belongs to?

On Mon, Jun 23, 2008 at 11:12 AM, Mark Brown <markb@xxxxxxxxxxxxxxxxxxxxx> wrote:
Hi Steven,

 The address 0xbfcce590 is a virtual address (in the stack) which is assigned to you by the loader.

-- Mark


On Jun 22, 2008, at 10:43 PM, Steven Zhou wrote:

Hi guys,

I'm troubling with a problem about the logical address, linear address and the physical address in programs.
For example, there's a program below:

#include <stdio.h>

int main ()
{
   int a;
   printf("%x\n", &a);
   return 0;
}

the result is :
bfcce590

I konw the address "bfcce590" is in the user mode stack space of the process, but I'm not sure that the address is logical address, linear address, or physical address?
(I konw the logical is identiy with linear address in x86 platform, but I want to known deeply)

Can you kindly help me unserstand the detail of this problem?
thx:)

--
Best Regards.




--
Best Regards.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux