summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-12-10 21:44:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-12-10 21:44:08 +0000
commitbfb149b7e1bbe0cf45f604aed2b812224c472583 (patch)
tree693c99faecec256b755250586e188ca98a085dc7 /sys/arch
parent9c51a8199235f1ec3e4c528faeca5d8b3cfefe1a (diff)
more 0xcc, in data. There are i386 machines without NX, so this change
isn't a no-op ok mlarkin
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/acpi_wakecode.S46
-rw-r--r--sys/arch/i386/i386/locore0.S4
2 files changed, 25 insertions, 25 deletions
diff --git a/sys/arch/i386/i386/acpi_wakecode.S b/sys/arch/i386/i386/acpi_wakecode.S
index 6ab905dc308..3bab0535fce 100644
--- a/sys/arch/i386/i386/acpi_wakecode.S
+++ b/sys/arch/i386/i386/acpi_wakecode.S
@@ -516,57 +516,57 @@ _ACPI_TRMP_DATA_LABEL(.Lgdt_16_end)
.align 4, 0xcc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ebx)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ecx)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_edx)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ebp)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_esi)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_edi)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_esp)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_fl)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_cr0)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_cr2)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_cr3)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_cr4)
- .long 0
+ .long 0xcccccccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ret)
- .long 0
+ .long 0xcccccccc
.align 16, 0xcc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_idt)
- .space 6
+ .space 6, 0xcc
.align 16, 0xcc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_gdt)
- .space 6
+ .space 6, 0xcc
.align 16, 0xcc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ldt)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_cs)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ds)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_es)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_fs)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_gs)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_ss)
- .short 0
+ .short 0xcccc
_ACPI_TRMP_DATA_LABEL(.Lacpi_saved_tr)
- .short 0
+ .short 0xcccc
_C_LABEL(acpi_tramp_data_end):
diff --git a/sys/arch/i386/i386/locore0.S b/sys/arch/i386/i386/locore0.S
index 48d746e59f8..cdc1f522f04 100644
--- a/sys/arch/i386/i386/locore0.S
+++ b/sys/arch/i386/i386/locore0.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore0.S,v 1.2 2017/06/29 06:15:30 mlarkin Exp $ */
+/* $OpenBSD: locore0.S,v 1.3 2017/12/10 21:44:07 deraadt Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -69,7 +69,7 @@
*/
.data
- .space 512
+ .space 512,0xcc
tmpstk: