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 + 0x00100000 + SIZEOF_HEADERS
.......
So, I think the macro R should be defined as
#define R(foo) ((foo)-KERNBASE-SIZEOF_HEADERS)
why not?
Thanks.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"