Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Fix one thing in the documentation, I meant...
details: https://anonhg.NetBSD.org/src/rev/2228276002f5
branches: trunk
changeset: 830056:2228276002f5
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Feb 24 19:52:46 2018 +0000
description:
Fix one thing in the documentation, I meant to say only SVS_UTLS.
diffstat:
sys/arch/x86/x86/svs.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diffs (49 lines):
diff -r bfc8cd6ceff0 -r 2228276002f5 sys/arch/x86/x86/svs.c
--- a/sys/arch/x86/x86/svs.c Sat Feb 24 18:58:00 2018 +0000
+++ b/sys/arch/x86/x86/svs.c Sat Feb 24 19:52:46 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: svs.c,v 1.10 2018/02/24 10:31:30 maxv Exp $ */
+/* $NetBSD: svs.c,v 1.11 2018/02/24 19:52:46 maxv Exp $ */
/*
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: svs.c,v 1.10 2018/02/24 10:31:30 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: svs.c,v 1.11 2018/02/24 19:52:46 maxv Exp $");
#include "opt_svs.h"
@@ -61,9 +61,9 @@
* Storage. Each CPU has one UTLS page. This page has two VAs:
*
* o When the user page tables are loaded in CR3, the VA to access this
- * page is &pcpuarea->utls, defined as SVS_UTLS+UTLS_KPDIRPA in assembly.
- * This VA is _constant_ across CPUs, but in the user page tables this
- * VA points to the physical page of the UTLS that is _local_ to the CPU.
+ * page is &pcpuarea->utls, defined as SVS_UTLS in assembly. This VA is
+ * _constant_ across CPUs, but in the user page tables this VA points to
+ * the physical page of the UTLS that is _local_ to the CPU.
*
* o When the kernel page tables are loaded in CR3, the VA to access this
* page is ci->ci_svs_utls.
@@ -71,7 +71,7 @@
* +----------------------------------------------------------------------+
* | CPU0 Local Data (Physical Page) |
* | +------------------+ +-------------+ |
- * | | User Page Tables | SVS_UTLS+UTLS_KPDIRPA --------> | cpu0's UTLS | |
+ * | | User Page Tables | SVS_UTLS ---------------------> | cpu0's UTLS | |
* | +------------------+ +-------------+ |
* +-------------------------------------------------------------^--------+
* |
@@ -80,7 +80,7 @@
* +----------------------------------------------------------------------+ |
* | CPU1 Local Data (Physical Page) | |
* | +------------------+ +-------------+ | |
- * | | User Page Tables | SVS_UTLS+UTLS_KPDIRPA --------> | cpu1's UTLS | | |
+ * | | User Page Tables | SVS_UTLS ---------------------> | cpu1's UTLS | | |
* | +------------------+ +-------------+ | |
* +-------------------------------------------------------------^--------+ |
* | |
Home |
Main Index |
Thread Index |
Old Index