Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/include i586 and below don't have this 3-byte ...
details: https://anonhg.NetBSD.org/src/rev/4540491fecbd
branches: trunk
changeset: 319974:4540491fecbd
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Jun 17 15:46:39 2018 +0000
description:
i586 and below don't have this 3-byte nop, so use three 1-byte nops,
reported by Nathanial Sloss
diffstat:
sys/arch/i386/include/frameasm.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r ae84b31ec440 -r 4540491fecbd sys/arch/i386/include/frameasm.h
--- a/sys/arch/i386/include/frameasm.h Sun Jun 17 15:06:27 2018 +0000
+++ b/sys/arch/i386/include/frameasm.h Sun Jun 17 15:46:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: frameasm.h,v 1.25 2018/01/27 18:48:59 maxv Exp $ */
+/* $NetBSD: frameasm.h,v 1.26 2018/06/17 15:46:39 maxv Exp $ */
#ifndef _I386_FRAMEASM_H_
#define _I386_FRAMEASM_H_
@@ -42,11 +42,11 @@
#define SMAP_ENABLE \
HOTPATCH(HP_NAME_CLAC, 3) ; \
- .byte 0x0F, 0x1F, 0x00
+ .byte 0x90, 0x90, 0x90
#define SMAP_DISABLE \
HOTPATCH(HP_NAME_STAC, 3) ; \
- .byte 0x0F, 0x1F, 0x00
+ .byte 0x90, 0x90, 0x90
/*
* These are used on interrupt or trap entry or exit.
Home |
Main Index |
Thread Index |
Old Index