about the address of the variable

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

 



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.

[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