Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys struct execsw: rename es_flags to es_prio, provide d...
details: https://anonhg.NetBSD.org/src/rev/77f2dd16c587
branches: trunk
changeset: 499890:77f2dd16c587
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Dec 01 12:56:25 2000 +0000
description:
struct execsw: rename es_flags to es_prio, provide defines
EXECSW_PRIO_ANY, EXECSW_PRIO_FIRST, EXECSW_PRIO_LAST to mark
entry's priority
diffstat:
sys/sys/exec.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 748b2428954a -r 77f2dd16c587 sys/sys/exec.h
--- a/sys/sys/exec.h Fri Dec 01 12:51:03 2000 +0000
+++ b/sys/sys/exec.h Fri Dec 01 12:56:25 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: exec.h,v 1.73 2000/11/21 00:37:56 jdolecek Exp $ */
+/* $NetBSD: exec.h,v 1.74 2000/12/01 12:56:25 jdolecek Exp $ */
/*-
* Copyright (c) 1994 Christopher G. Demetriou
@@ -114,7 +114,7 @@
struct exec_package *));
} u;
const struct emul *es_emul; /* os emulation */
- int es_flags; /* miscellaneous flags */
+ int es_prio; /* entry priority */
int es_arglen; /* Extra argument size in words */
/* Copy arguments on the new stack */
void *(*es_copyargs) __P((struct exec_package *, struct ps_strings *,
@@ -124,6 +124,10 @@
u_long));
};
+#define EXECSW_PRIO_ANY 0x000 /* default, no preference */
+#define EXECSW_PRIO_FIRST 0x001 /* this should be among first */
+#define EXECSW_PRIO_LAST 0x002 /* this should be among last */
+
/* exec vmspace-creation command set; see below */
struct exec_vmcmd_set {
u_int evs_cnt;
Home |
Main Index |
Thread Index |
Old Index