what linear address is the virtual address 0xc000 respondable to ?
the highest 10 bits 0x300 is pde , which means the 0x300th entry of
the page dir.
As I know ,at boot stage , that pde has not been ever filles . then
how does the
kernel code been addressed?
2013/3/1 Prabhu nath :
> In
In principle, the linker will associate the kernel code/data to the Kernel
virtual address space i.e. between 0xC000_ to 0x_ and
the same linker will associate the Application's code/data to the user
virtual address space i.e. between 0x_ to 0xBFFF_.
Linker itself cannot d
Hi Horseriver,
On Sun, Feb 24, 2013 at 7:26 AM, horseriver wrote:
> On Sun, Feb 24, 2013 at 04:00:37PM +0700, Mulyadi Santosa wrote:
>> On Sat, Feb 23, 2013 at 6:45 AM, horseriver wrote:
>> > hi:
>> >
>> > I have built vmlinux at the top dir of kernel source ,then I use objdump
>> > to look i
Hi...
On Sun, Feb 24, 2013 at 8:56 AM, horseriver wrote:
> I have find this answer .
> It is defined in lds script file .
>
> here is the code :
> SECTIONS
> {
> . = 0xC000 + 0x10;
> /* read-only */
> _text = .;/* Text and read-only data */
>
>
> why use 0xC000
On Sun, Feb 24, 2013 at 04:00:37PM +0700, Mulyadi Santosa wrote:
> On Sat, Feb 23, 2013 at 6:45 AM, horseriver wrote:
> > hi:
> >
> > I have built vmlinux at the top dir of kernel source ,then I use objdump
> > to look into
> > its section information.I find the statup_32 which is the start r
On Sat, Feb 23, 2013 at 6:45 AM, horseriver wrote:
> hi:
>
> I have built vmlinux at the top dir of kernel source ,then I use objdump to
> look into
> its section information.I find the statup_32 which is the start routine of
> kernel ,
> locats at 0xc010. I know the 0x10 is the de
hi:
I have built vmlinux at the top dir of kernel source ,then I use objdump to
look into
its section information.I find the statup_32 which is the start routine of
kernel ,
locats at 0xc010. I know the 0x10 is the defined address for locating
protect-mode code .But which I can