diff options
author | dchagin <dchagin@FreeBSD.org> | 2011-03-13 14:58:02 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2011-03-13 14:58:02 +0000 |
commit | 15d1cdd161986839d5cebb42a4e2295aa11bbaca (patch) | |
tree | 2cdc92ede096878311ecd5f49a49943453092d6e /sys/i386/linux/linux.h | |
parent | 8eb95e96298f4997fb6abe947fea52b360e32704 (diff) | |
download | FreeBSD-src-15d1cdd161986839d5cebb42a4e2295aa11bbaca.zip FreeBSD-src-15d1cdd161986839d5cebb42a4e2295aa11bbaca.tar.gz |
Enable shared page use for amd64/linux32 and i386/linux binaries.
Move signal trampoline code from the top of the stack to the shared page.
MFC after: 2 Weeks
Diffstat (limited to 'sys/i386/linux/linux.h')
-rw-r--r-- | sys/i386/linux/linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h index 78958db..d02614b 100644 --- a/sys/i386/linux/linux.h +++ b/sys/i386/linux/linux.h @@ -47,6 +47,9 @@ extern u_char linux_debug_map[]; MALLOC_DECLARE(M_LINUX); #endif +#define LINUX_SHAREDPAGE (VM_MAXUSER_ADDRESS - PAGE_SIZE) +#define LINUX_USRSTACK LINUX_SHAREDPAGE + #define PTRIN(v) (void *)(v) #define PTROUT(v) (l_uintptr_t)(v) |