summaryrefslogtreecommitdiffstats
path: root/v9fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'v9fs.h')
-rw-r--r--v9fs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/v9fs.h b/v9fs.h
index ade70b0..2588a84 100644
--- a/v9fs.h
+++ b/v9fs.h
@@ -270,6 +270,11 @@
#define SDF_DIRSRCH 0x022 /* Directory search attributes */
#define SDF_OPENMODE 0x023 /* File open mode */
+/* These are DOS 4+ specific; base them on SDF for consistency */
+#define SDF_SPCACTION (0x2dd-0x22b) /* Special open action */
+#define SDF_SPCATTRIB (0x2df-0x22b) /* Special open file attributes */
+#define SDF_SPCMODE (0x2e1-0x22b) /* Special open mode */
+
/*
* Fields in the DOS Current Directory Structure (CDS)
*
@@ -334,6 +339,7 @@
#define F_CS %gs:42(%bp)
#define F_FLAGS %gs:44(%bp)
#define F_TOS %gs:46(%bp) /* Word on stack before INT 2F */
+#define F_TOSH %gs:47(%bp) /* Word on stack before INT 2F - high byte */
/* Magic number we store in the CDS */
#define CDS_MAGIC 0xe882