svn commit: r237430 - in head/sys: amd64/include arm/include
i386/include ia64/include mips/include powerpc/include
sparc64/include
Konstantin Belousov
kib at FreeBSD.org
Fri Jun 22 06:38:32 UTC 2012
Author: kib
Date: Fri Jun 22 06:38:31 2012
New Revision: 237430
URL: http://svn.freebsd.org/changeset/base/237430
Log:
Reserve AT_TIMEKEEP auxv entry for providing usermode the pointer to
timekeeping information.
MFC after: 1 week
Modified:
head/sys/amd64/include/elf.h
head/sys/arm/include/elf.h
head/sys/i386/include/elf.h
head/sys/ia64/include/elf.h
head/sys/mips/include/elf.h
head/sys/powerpc/include/elf.h
head/sys/sparc64/include/elf.h
Modified: head/sys/amd64/include/elf.h
==============================================================================
--- head/sys/amd64/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/amd64/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -94,6 +94,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
Modified: head/sys/arm/include/elf.h
==============================================================================
--- head/sys/arm/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/arm/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -82,6 +82,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
Modified: head/sys/i386/include/elf.h
==============================================================================
--- head/sys/i386/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/i386/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -96,6 +96,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
Modified: head/sys/ia64/include/elf.h
==============================================================================
--- head/sys/ia64/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/ia64/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -95,6 +95,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
Modified: head/sys/mips/include/elf.h
==============================================================================
--- head/sys/mips/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/mips/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -278,6 +278,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
Modified: head/sys/powerpc/include/elf.h
==============================================================================
--- head/sys/powerpc/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/powerpc/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -106,8 +106,9 @@ __ElfType(Auxinfo);
#define AT_PAGESIZES 18 /* Pagesizes. */
#define AT_PAGESIZESLEN 19 /* Number of pagesizes. */
#define AT_STACKPROT 21 /* Initial stack protection. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
-#define AT_COUNT 22 /* Count of defined aux entry types. */
+#define AT_COUNT 23 /* Count of defined aux entry types. */
/*
* Relocation types.
Modified: head/sys/sparc64/include/elf.h
==============================================================================
--- head/sys/sparc64/include/elf.h Fri Jun 22 05:54:34 2012 (r237429)
+++ head/sys/sparc64/include/elf.h Fri Jun 22 06:38:31 2012 (r237430)
@@ -90,6 +90,7 @@ __ElfType(Auxinfo);
#define AT_NCPUS 19 /* Number of CPUs. */
#define AT_PAGESIZES 20 /* Pagesizes. */
#define AT_PAGESIZESLEN 21 /* Number of pagesizes. */
+#define AT_TIMEKEEP 22 /* Pointer to timehands. */
#define AT_STACKPROT 23 /* Initial stack protection. */
#define AT_COUNT 24 /* Count of defined aux entry types. */
More information about the svn-src-head
mailing list