Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/include Remove misleading comment; these macr...
details: https://anonhg.NetBSD.org/src/rev/2e3f3808f8a3
branches: trunk
changeset: 351186:2e3f3808f8a3
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Feb 05 08:58:39 2017 +0000
description:
Remove misleading comment; these macros should not be used if a user LDT
is active.
diffstat:
sys/arch/amd64/include/segments.h | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (20 lines):
diff -r 0db448e76726 -r 2e3f3808f8a3 sys/arch/amd64/include/segments.h
--- a/sys/arch/amd64/include/segments.h Sun Feb 05 08:52:11 2017 +0000
+++ b/sys/arch/amd64/include/segments.h Sun Feb 05 08:58:39 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: segments.h,v 1.28 2016/09/02 08:52:12 maxv Exp $ */
+/* $NetBSD: segments.h,v 1.29 2017/02/05 08:58:39 maxv Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -386,9 +386,7 @@
#define LSYSRETBASE_SEL LUCODE32_SEL
/*
- * Checks for valid user selectors. If USER_LDT ever gets implemented
- * for amd64, these must check the ldt length and SEL_UPL if a user
- * ldt is active.
+ * Checks for valid user selectors.
*/
#define VALID_USER_DSEL32(s) \
(((s) & 0xffff) == GSEL(GUDATA32_SEL, SEL_UPL) || \
Home |
Main Index |
Thread Index |
Old Index