summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-02-26 04:47:06 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-02-26 04:47:06 (GMT)
commit84a28e9161de4e0cd2caa53b6499c125738ae598 (patch)
tree594ecc50d2eaed0305921f310bfd98719f388096
parent6884cd4d1f5c224e190e56c6902411376b3a187c (diff)
downloadvirtio9p-84a28e9161de4e0cd2caa53b6499c125738ae598.zip
virtio9p-84a28e9161de4e0cd2caa53b6499c125738ae598.tar.gz
virtio9p-84a28e9161de4e0cd2caa53b6499c125738ae598.tar.bz2
virtio9p-84a28e9161de4e0cd2caa53b6499c125738ae598.tar.xz
start: set the filename offset in CDS
-rw-r--r--start.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/start.S b/start.S
index bc9d2f5..cf966d2 100644
--- a/start.S
+++ b/start.S
@@ -620,6 +620,7 @@ send_attach:
movl %eax,%es:(%bx) /* Set current directory */
movw $CDS_MAGIC,%es:0x45(%bx) /* Available field, set to magic */
+ movw $2,%es:0x4f(%bx) /* Path starts after X: */
/* ------------------------------------------------------------------------- *
* Finish up and terminate