Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 2010 04:59:58 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201883 - head/sys/mips/include
Message-ID:  <201001090459.o094xwH1099434@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Sat Jan  9 04:59:57 2010
New Revision: 201883
URL: http://svn.freebsd.org/changeset/base/201883

Log:
  Merge r195128 from project/mips to head.
  
  r195128 | gonzo | 2009-06-27 17:27:41 -0600 (Sat, 27 Jun 2009) | 4 lines
  - Add support for handling TLS area address in kernel space.
      From the userland point of view get/set operations are
      performed using sysarch(2) call.

Modified:
  head/sys/mips/include/sysarch.h

Modified: head/sys/mips/include/sysarch.h
==============================================================================
--- head/sys/mips/include/sysarch.h	Sat Jan  9 04:00:22 2010	(r201882)
+++ head/sys/mips/include/sysarch.h	Sat Jan  9 04:59:57 2010	(r201883)
@@ -35,16 +35,12 @@
 #ifndef _MACHINE_SYSARCH_H_
 #define _MACHINE_SYSARCH_H_
 
+#define	MIPS_SET_TLS	1
+#define	MIPS_GET_TLS	2
+
 #ifndef _KERNEL
 #include <sys/cdefs.h>
 
-#if 0
-/* Something useful for each MIPS platform. */
-#else
-#define	mips_tcb_set(tcb)	do {} while (0)
-#define	mips_tcb_get()		NULL
-#endif /* _MIPS_ARCH_XLR */
-
 __BEGIN_DECLS
 int sysarch(int, void *);
 __END_DECLS



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