svn commit: r201883 - head/sys/mips/include
Warner Losh
imp at FreeBSD.org
Sat Jan 9 04:59:58 UTC 2010
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
More information about the svn-src-head
mailing list