Hi all,
When reading locore.s, I have the following question.
In the locore.s, there's a macro R defined as
#define R(foo) ((foo)-KERNBASE)
where KERNBASE equals to 0xC000.
But in the sys/conf/ldscript.i386, it reads
SECTIONS
{
Hello:
I'm a newbie to the kernel and trying to
understand parts of kernel by reading its source codes.
I'm reading sys/i386/i386/locore.s.
There is a macro definition in the file sys/i386/i386/locore.s:
#define R(foo) ((foo)-KERNBASE)
Hi,
I'm a newbie to the kernel.
I'm trying to understand the kernel by reading kernel source codes.
In the sys/i386/i386/locore.s, there is a macro
#define R(foo) ((foo)-KERNBASE)
But in the sys/conf/ldscript.i386,
..
SECTIONS
{
. = kernbase + 0x0010 + SIZEOF_HEADERS
3 matches
Mail list logo