Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86_64/include Add flag to indicate that an LWP sho...



details:   https://anonhg.NetBSD.org/src/rev/7cd771b76b09
branches:  trunk
changeset: 542467:7cd771b76b09
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Thu Jan 30 02:02:51 2003 +0000

description:
Add flag to indicate that an LWP should return to userspace via a normal
iret (not sysret).

diffstat:

 sys/arch/x86_64/include/proc.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r d8812ce0c407 -r 7cd771b76b09 sys/arch/x86_64/include/proc.h
--- a/sys/arch/x86_64/include/proc.h    Thu Jan 30 01:12:42 2003 +0000
+++ b/sys/arch/x86_64/include/proc.h    Thu Jan 30 02:02:51 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: proc.h,v 1.4 2003/01/26 00:05:37 fvdl Exp $    */
+/*     $NetBSD: proc.h,v 1.5 2003/01/30 02:02:51 fvdl Exp $    */
 
 /*
  * Copyright (c) 1991 Regents of the University of California.
@@ -61,5 +61,6 @@
 #define MDP_COMPAT     0x0002  /* x86 compatibility process */
 #define MDP_SYSCALL    0x0004  /* entered kernel via syscall ins */
 #define MDP_USEDMTRR   0x0008  /* has set volatile MTRRs */
+#define MDP_IRET       0x0010  /* return via iret, not sysret */
 
 #endif /* _X86_64_PROC_H */



Home | Main Index | Thread Index | Old Index