mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
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.
This commit is contained in:
parent
578fece5ff
commit
2bd661baa1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=201883
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue