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. */
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to