|
From: <sv...@va...> - 2005-05-02 13:46:15
|
Author: njn
Date: 2005-05-02 14:24:14 +0100 (Mon, 02 May 2005)
New Revision: 3597
Modified:
trunk/include/linux/vki.h
Log:
Correct header comment.
Modified: trunk/include/linux/vki.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/linux/vki.h 2005-05-02 12:53:38 UTC (rev 3596)
+++ trunk/include/linux/vki.h 2005-05-02 13:24:14 UTC (rev 3597)
@@ -46,15 +46,15 @@
Note especially that the types are not the glibc versions, many of wh=
ich
are different to those in here.=20
=20
- Also note that all the necessary headers for this architecture are in
- this one file. Since some Linux headers are generic, this means that
- some code duplication will occur between different vki.h files betwee=
n
- different Linux Valgrind ports. This is because it's difficult to
- separate the generic and arch-specific parts for Valgrind's purpose
- without introducing lots of separate files, since the dependencies
- between headers is quite complex. The resulting code duplication is =
not
- a big deal, since the header code should not change over time. =20
-
+ Also note that this file contains all the generic header info, ie. th=
at
+ from linux/include/linux/*.h. The arch-specific header info, eg. tha=
t
+ from linux/include/asm-i386/*.h, is in $PLATFORM/vki_arch.h and
+ $PLATFORM/vki_arch_posixtypes.h. (Two files are required to avoid
+ circular dependencies between the generic VKI header and the
+ arch-specific VKI header. It's possible in the future, as more stuff
+ gets pulled in, that we might have to split files up some more to avo=
id
+ further circular dependencies.)
+ =20
Finally, note that it is assumed that __KERNEL__ is set for all these
definitions, which affects some of them.
*/
|