From: deraadt Date: Sun, 10 Dec 2017 21:44:07 +0000 (+0000) Subject: more 0xcc, in data. There are i386 machines without NX, so this change X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f5f3b62f67dff8e70d1f80b95e12767453dd8ff9;p=openbsd more 0xcc, in data. There are i386 machines without NX, so this change isn't a no-op ok mlarkin --- 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: