Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib s/potected/protected and s/investica...



details:   https://anonhg.NetBSD.org/src/rev/1c4b6ede2e1c
branches:  trunk
changeset: 364628:1c4b6ede2e1c
user:      andvar <andvar%NetBSD.org@localhost>
date:      Fri Apr 01 19:02:12 2022 +0000

description:
s/potected/protected and s/investication/investigation/ in comments.

diffstat:

 sys/arch/i386/stand/lib/realprot.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7cb14c1aba72 -r 1c4b6ede2e1c sys/arch/i386/stand/lib/realprot.S
--- a/sys/arch/i386/stand/lib/realprot.S        Fri Apr 01 15:49:11 2022 +0000
+++ b/sys/arch/i386/stand/lib/realprot.S        Fri Apr 01 19:02:12 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: realprot.S,v 1.11 2013/12/24 19:00:56 jakllsch Exp $   */
+/*     $NetBSD: realprot.S,v 1.12 2022/04/01 19:02:12 andvar Exp $     */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -188,7 +188,7 @@
  *
  * It is speculated that the CPU is prefetching and decoding branch
  * targets and not invalidating this buffer on the long jump.
- * Further investication indicates that the caching of return addresses
+ * Further investigation indicates that the caching of return addresses
  * is most likely the problem.
  *
  * Previous versions just used some extra call/ret and a few NOPs, these
@@ -229,7 +229,7 @@
        .code16
        movl    %cr0, %eax
        and     $~CR0_PE, %eax
-       movl    %eax, %cr0              /* Disable potected mode */
+       movl    %eax, %cr0              /* Disable protected mode */
 
        /* Jump far indirect to load real mode %cs */
        ljmp    *%cs:toreal



Home | Main Index | Thread Index | Old Index