Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 17:13:41 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        peter@netplex.com.au, seggers@semyam.dinoco.de
Cc:        current@FreeBSD.ORG, jdp@polstra.com
Subject:   Re: Building elf kernel
Message-ID:  <199810010713.RAA28403@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Back in june, he made the #include <machine/asmacros.h> in globals.s 
>> dependent on !SMP.  This caused the SMP + ELF code to miss the #defines 
>
>Could it be that this test should have been the other way round (only
>do the include when we use SMP) and around #include <machine/pmap.h>
>instead?  I took a look at it and I think then it would make sense and

No.  <machine/asmacros.h> is normally included to get the definition
of ALIGN_DATA.  This definition is only used in the !SMP case.
Unfortunately, for elf, <machine/asmacros.h> also has to be included
for its side effect of including <machine/asnames.h>.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810010713.RAA28403>