summaryrefslogtreecommitdiffstats
path: root/acc.asm
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-03-21 21:45:44 -0700
committerH. Peter Anvin <hpa@zytor.com>2013-03-21 21:45:44 -0700
commitad0a8d14550dad96e4f5ee2f30c2d766fae26837 (patch)
treebbd80968226443b0898eeb59acc65ef45721dc58 /acc.asm
parentabf91e9ecdcf1245e85e17e85fed23e7598e20c7 (diff)
downloadvirtio9p-ad0a8d14550dad96e4f5ee2f30c2d766fae26837.tar.gz
virtio9p-ad0a8d14550dad96e4f5ee2f30c2d766fae26837.tar.xz
virtio9p-ad0a8d14550dad96e4f5ee2f30c2d766fae26837.zip
Switch from CDS_DPBPTR to CDS_USERVAL
Might be safer, who knows...
Diffstat (limited to 'acc.asm')
-rw-r--r--acc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/acc.asm b/acc.asm
index 1908fbc..87d7ce3 100644
--- a/acc.asm
+++ b/acc.asm
@@ -107,7 +107,7 @@ GPROC(acc_cds)
/* Fall through */
END(acc_cds)
LPROC(acc_cds_common)
- cmpw $CDS_MAGIC,%fs:CDS_DPBPTR(%si) /* Our magic? */
+ cmpw $CDS_MAGIC,%fs:CDS_USERVAL(%si) /* Our magic? */
jne acc_fail
movb drive_letter,%al
cmpb %al,%fs:(CDS_PATH+0)(%si) /* Our drive letter? */