mirror of
https://github.com/opnsense/src.git
synced 2026-04-28 09:37:08 -04: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
1 changed files with 3 additions and 7 deletions
|
|
@ -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