Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch The ISA I/O MEM does not need to be executable. Rem...
details: https://anonhg.NetBSD.org/src/rev/f5bdd1389b3c
branches: trunk
changeset: 345663:f5bdd1389b3c
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Jun 04 10:48:11 2016 +0000
description:
The ISA I/O MEM does not need to be executable. Remove the X permission
on it.
diffstat:
sys/arch/amd64/amd64/locore.S | 6 +++---
sys/arch/i386/i386/locore.S | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (57 lines):
diff -r be33d0ffa821 -r f5bdd1389b3c sys/arch/amd64/amd64/locore.S
--- a/sys/arch/amd64/amd64/locore.S Sat Jun 04 10:19:09 2016 +0000
+++ b/sys/arch/amd64/amd64/locore.S Sat Jun 04 10:48:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.101 2016/06/04 10:19:09 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.102 2016/06/04 10:48:11 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -718,12 +718,12 @@
orl $(PG_V|PG_KW),%eax
fillkpt_nox
- /* We are on (4). Map ISA I/O MEM RWX. */
+ /* We are on (4). Map ISA I/O MEM RW. */
movl $IOM_BEGIN,%eax
movl $IOM_SIZE,%ecx /* size of ISA I/O MEM */
shrl $PGSHIFT,%ecx
orl $(PG_V|PG_KW/*|PG_N*/),%eax
- fillkpt
+ fillkpt_nox
/*
* Build L2. Linked to L1.
diff -r be33d0ffa821 -r f5bdd1389b3c sys/arch/i386/i386/locore.S
--- a/sys/arch/i386/i386/locore.S Sat Jun 04 10:19:09 2016 +0000
+++ b/sys/arch/i386/i386/locore.S Sat Jun 04 10:48:11 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.130 2016/06/04 10:19:09 maxv Exp $ */
+/* $NetBSD: locore.S,v 1.131 2016/06/04 10:48:11 maxv Exp $ */
/*
* Copyright-o-rama!
@@ -128,7 +128,7 @@
*/
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.130 2016/06/04 10:19:09 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: locore.S,v 1.131 2016/06/04 10:48:11 maxv Exp $");
#include "opt_compat_oldboot.h"
#include "opt_copy_symtab.h"
@@ -753,12 +753,12 @@
orl $(PG_V|PG_KW),%eax
fillkpt_nox
- /* We are on (4). Map ISA I/O MEM RWX. */
+ /* We are on (4). Map ISA I/O MEM RW. */
movl $IOM_BEGIN,%eax
movl $IOM_SIZE,%ecx /* size of ISA I/O MEM */
shrl $PGSHIFT,%ecx
orl $(PG_V|PG_KW/*|PG_N*/),%eax
- fillkpt
+ fillkpt_nox
/*
* Build L2 for identity mapping. Linked to L1.
Home |
Main Index |
Thread Index |
Old Index