aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-12 23:23:42 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-11-12 23:23:42 +0000
commite670b89e3b42997fc7fb997bdfdc6ff998cfd8a7 (patch)
tree3838fb3be5d617a6a837cd1505eb14a484144654 /target-i386
parentbd0d90b21d84c7ac3eb258fbf93bec1cbf277986 (diff)
downloadqemu-e670b89e3b42997fc7fb997bdfdc6ff998cfd8a7.zip
qemu-e670b89e3b42997fc7fb997bdfdc6ff998cfd8a7.tar.gz
qemu-e670b89e3b42997fc7fb997bdfdc6ff998cfd8a7.tar.bz2
added comments and TSS bit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@449 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/cpu.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 00bc17e..0d5d824 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -58,12 +58,14 @@
#define DESC_TYPE_SHIFT 8
#define DESC_A_MASK (1 << 8)
-#define DESC_CS_MASK (1 << 11)
-#define DESC_C_MASK (1 << 10)
-#define DESC_R_MASK (1 << 9)
+#define DESC_CS_MASK (1 << 11) /* 1=code segment 0=data segment */
+#define DESC_C_MASK (1 << 10) /* code: conforming */
+#define DESC_R_MASK (1 << 9) /* code: readable */
-#define DESC_E_MASK (1 << 10)
-#define DESC_W_MASK (1 << 9)
+#define DESC_E_MASK (1 << 10) /* data: expansion direction */
+#define DESC_W_MASK (1 << 9) /* data: writable */
+
+#define DESC_TSS_BUSY_MASK (1 << 9)
/* eflags masks */
#define CC_C 0x0001