diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-11-22 18:31:47 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-11-22 18:31:47 +0000 |
commit | 76bb9637d53258812a3cd03d0b73a0c0fd40a1c1 (patch) | |
tree | e8aa2324c534afaa42051eaa5ee44f450321b6b3 /sys/dev/acpi | |
parent | a5dbf793cad994a1b66a5f74a1a2bbc817cbc536 (diff) |
Split the MP trampoline into two pages, one for code and one for data/stack
and then protect the code page as RX and the data/stack page as RW (NX).
ok deraadt@
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 8ff3ce45f8f..2960bacb65d 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.77 2014/01/05 20:23:57 mlarkin Exp $ */ +/* $OpenBSD: acpivar.h,v 1.78 2014/11/22 18:31:46 mlarkin Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -18,7 +18,7 @@ #ifndef _DEV_ACPI_ACPIVAR_H_ #define _DEV_ACPI_ACPIVAR_H_ -#define ACPI_TRAMPOLINE (17 * NBPG) +#define ACPI_TRAMPOLINE (19 * NBPG) #ifndef _ACPI_WAKECODE |