summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa/pcvt/pcvt_hdr.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:09:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-11-13 04:09:26 +0000
commitd4aca1210000a8540821a01a557cb52607619788 (patch)
tree1ffe4addc26091dd66741b4852f9e4f479f66985 /sys/arch/i386/isa/pcvt/pcvt_hdr.h
parenta9bd75969560af6ac14ffa73c82292617ce171af (diff)
from netbsd:
Prevent endless loop (-> kernel crash) when a signal is sent to a process waiting for a vt to become active. Move one ifdef XSERVER to the right place.
Diffstat (limited to 'sys/arch/i386/isa/pcvt/pcvt_hdr.h')
-rw-r--r--sys/arch/i386/isa/pcvt/pcvt_hdr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/i386/isa/pcvt/pcvt_hdr.h b/sys/arch/i386/isa/pcvt/pcvt_hdr.h
index 86ec7c8e03b..6286e439132 100644
--- a/sys/arch/i386/isa/pcvt/pcvt_hdr.h
+++ b/sys/arch/i386/isa/pcvt/pcvt_hdr.h
@@ -914,6 +914,9 @@ typedef struct video_state {
EXTERN video_state vs[PCVT_NSCREENS]; /* parameters for screens */
+/* used to be able to pass ERESTART on properly */
+#define PCVT_ERESTART (ELAST + 1)
+
/* possible states for video_state.vt_status: */
#define VT_WAIT_REL 1 /* wait till process released vt */