Hi,
while reading one article I came across the following lines:
The segment base addresses in segment descriptors (which correspond to
segment selector __KERNEL_CS and __KERNEL_DS) are equal to 0; therefore, the
logical address offset (in segment:offset format) will be equal to its
linear addres
Thanks for your help.
I think I've got it.
From the programmer's view, we can just see the logical address only.
The picture
"logical address--->(segmentation) --->linear address--->(paging)
--->physical address"
was processed by kernel and hardware, so user mode programmer does not
care it. He
Hi,
Le Mon, 23 Jun 2008 06:45:47 -0500,
"Mayank Kaushik" <[EMAIL PROTECTED]> a écrit :
> Under x86, we have both segmentation and paging. Here's a rough flow:
>
> Logical Address (:) ---> (segmentation)---> Linear
> address ---> (paging)---> Physical Address.
In Linux, all segments have a size
Please correct me if i'm wrong, this is from my understanding.
Under x86, we have both segmentation and paging. Here's a rough flow:
Logical Address (:) ---> (segmentation)---> Linear
address ---> (paging)---> Physical Address.
In protected mode, the processor takes the value of whatever is in t
I took the following lines from understanding linux kernel book.
All Linux processes running in User Mode use the same pair of segments to
address instructions and data. These segments are called user code
segmentand user
data segment , respectively. Similarly, all Linux processes running in
Kerne
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 <[EMAIL PROTECTED]>
wrote:
> Hi Steven,
>
> The address 0xbfcce590 is a virtual address (in the st
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.
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
int main ()
{
int a;
printf("%x\n", &a);
return 0;
}
the result is :
bfcce590
I konw the address "bfcce590" is in th