[Modularkernel-developer] linkerscript.ld
Status: Pre-Alpha
Brought to you by:
musteresel
|
From: Tomas K. <tom...@gm...> - 2010-04-04 20:07:32
|
Hi,
I am trying to understand the following part of the linker script:
__RealStartOfLinkedMemory = ALIGN(4096);
. = 0xFFC00000;
__StartOfLinkedMemory = .;
.linked : AT (__RealStartOfLinkedMemory)
{
*(.linked)
*(.linked_data)
}
__EndOfLinkedMemory = .;
____KERNELEND = (__EndOfLinkedMemory -
__StartOfLinkedMemory)+(__RealStartOfLinkedMemory);
This is what I think it does:
- the .linked section is copied to frames immediatelly following the
.bss section.
- the .linked section is available starting at virtual address 0xFFC00000
Why is it done this way?
Is the .linked section going to contain kernel data to be shared by
every user-space process?
Tomas
|