From 12ad5afd80c14e9b13da224a29c624947e89539d Mon Sep 17 00:00:00 2001 From: andvar Date: Fri, 1 Apr 2022 19:02:12 +0000 Subject: [PATCH] s/potected/protected and s/investication/investigation/ in comments. --- sys/arch/i386/stand/lib/realprot.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/stand/lib/realprot.S b/sys/arch/i386/stand/lib/realprot.S index 3900f4b9945f..926967e6c7a9 100644 --- a/sys/arch/i386/stand/lib/realprot.S +++ b/sys/arch/i386/stand/lib/realprot.S @@ -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 @@ ENTRY(real_to_prot) * * 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 @@ ENTRY(prot_to_real) .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