summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-03-18 01:07:43 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-03-18 01:07:43 (GMT)
commit1a624f53c6c7a7fe35e43bb9ecb8c65b06cf3bbd (patch)
treeb931cb72a35f7a9917e2317729ee31c37936ee57
parent7975d3894741ae6f7f0c81b3ef11be1b203ff8da (diff)
downloadvirtio9p-1a624f53c6c7a7fe35e43bb9ecb8c65b06cf3bbd.zip
virtio9p-1a624f53c6c7a7fe35e43bb9ecb8c65b06cf3bbd.tar.gz
virtio9p-1a624f53c6c7a7fe35e43bb9ecb8c65b06cf3bbd.tar.bz2
virtio9p-1a624f53c6c7a7fe35e43bb9ecb8c65b06cf3bbd.tar.xz
start.asm: Correct the sending of the mount tag
Send the correct mount tag instead of random garbage.
-rw-r--r--start.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/start.asm b/start.asm
index c3cf4c7..31ce2a2 100644
--- a/start.asm
+++ b/start.asm
@@ -643,8 +643,8 @@ send_attach:
movw $(103b-101b),%cx
rep movsb
- movw $mount_tag,%di
- movw (%di),%cx /* Bytes in actual string */
+ movw $mount_tag,%si
+ movw (%si),%cx /* Bytes in actual string */
movsw /* Copy string length without changing %cx */
rep movsb /* Copy the proper string */