[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: kernel start addr
Hi,
Le Tue, 20 Mar 2007 03:43:32 +0100,
ninjaboy <n0b0dyn1nj4@xxxxxxxxx> a écrit :
> I've a little doubt, kernel VA on x86 starts at 0xc0000000 to
> 0xffffffff and user VA from 0x0 to 0xbfffffff, on x86_64 i just see:
>
> #define __PHYSICAL_START ((unsigned long)CONFIG_PHYSICAL_START)
> #define __START_KERNEL (__START_KERNEL_map +
> __PHYSICAL_START) where __PHYSICAL_START is 0x200000.
>
> kernel VA doesn't start at 0xffff800000000000 to 0xffffffffffffffff
> and user VA from 0x0 to 0x0000bfffffffffff ?
I think you're making a confusion between physical and virtual
addresses. __PHYSICAL_START is a physical address, as its name
suggests, while "kernel VA" is a virtual address, as its name suggests.
Thomas
--
Thomas Petazzoni - thomas.petazzoni@xxxxxxxx
http://{thomas,sos,kos}.enix.org - http://www.toulibre.org
http://www.{livret,agenda}dulibre.org
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ