summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2013-02-25 04:56:56 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2013-02-25 04:56:56 (GMT)
commit8611195cb485afe80e7e32f36b3ea4cc35b41c23 (patch)
treee484a0a58aae0aa3238983bb10b8b555d9373373
parentbdb86406343d11deee1c8de8fd0e15a64fa1666b (diff)
downloadvirtio9p-8611195cb485afe80e7e32f36b3ea4cc35b41c23.zip
virtio9p-8611195cb485afe80e7e32f36b3ea4cc35b41c23.tar.gz
virtio9p-8611195cb485afe80e7e32f36b3ea4cc35b41c23.tar.bz2
virtio9p-8611195cb485afe80e7e32f36b3ea4cc35b41c23.tar.xz
Rename acc_other to acc_cds
Reflect that we are using the Current Directory Structure to determine if we should accept the call.
-rw-r--r--acc.S10
-rw-r--r--int2f.S24
2 files changed, 17 insertions, 17 deletions
diff --git a/acc.S b/acc.S
index e0fe95b..3b4eed3 100644
--- a/acc.S
+++ b/acc.S
@@ -81,14 +81,14 @@ acc_fail: /* Used as common tail */
fxn_unknown = acc_never
/* ------------------------------------------------------------------------- *
- * acc_other
+ * acc_cds
*
* The SDA contains a copy of the CDS for the current access - use it to
* determine if this is for us.
* ------------------------------------------------------------------------- */
- .globl acc_other
-acc_other:
+ .globl acc_cds
+acc_cds:
lfsw dos_sdafn,%si
cmpw $CDS_MAGIC,%fs:(0x135 + 0x45)(%si) /* Our magic? */
jne acc_fail
@@ -101,8 +101,8 @@ acc_other:
/* CF = 0 if equal */
retw
- .size acc_other,.-acc_other
- .type acc_other,@function
+ .size acc_cds,.-acc_cds
+ .type acc_cds,@function
/* ------------------------------------------------------------------------- *
* acc_qualify
diff --git a/int2f.S b/int2f.S
index fde0af3..69fdd08 100644
--- a/int2f.S
+++ b/int2f.S
@@ -103,12 +103,12 @@ quit:
.balign 4
dispatch_table:
.word acc_always, fxn_inquiry /* 0x00 */
- .word acc_other, fxn_rmdir
+ .word acc_cds, fxn_rmdir
.word acc_never, fxn_unknown
- .word acc_other, fxn_mkdir
+ .word acc_cds, fxn_mkdir
.word acc_never, fxn_unknown /* 0x04 */
- .word acc_other, fxn_chdir
+ .word acc_cds, fxn_chdir
.word acc_file, fxn_closefile
.word acc_file, fxn_commitfile
@@ -117,25 +117,25 @@ dispatch_table:
.word acc_file, fxn_lockfile
.word acc_file, fxn_unlockfile
- .word acc_other, fxn_diskspace /* 0x0c */
+ .word acc_cds, fxn_diskspace /* 0x0c */
.word acc_never, fxn_unknown
- .word acc_other, fxn_setattr
- .word acc_other, fxn_getattr
+ .word acc_cds, fxn_setattr
+ .word acc_cds, fxn_getattr
.word acc_never, fxn_unknown /* 0x10 */
- .word acc_other, fxn_rename
+ .word acc_cds, fxn_rename
.word acc_never, fxn_unknown
- .word acc_other, fxn_delete
+ .word acc_cds, fxn_delete
.word acc_never, fxn_unknown /* 0x14 */
.word acc_never, fxn_unknown
- .word acc_other, fxn_open
- .word acc_other, fxn_create
+ .word acc_cds, fxn_open
+ .word acc_cds, fxn_create
.word acc_never, fxn_unknown /* 0x18 */
.word acc_never, fxn_unknown
.word acc_never, fxn_unknown
- .word acc_other, fxn_findfirst
+ .word acc_cds, fxn_findfirst
.word acc_findnext, fxn_findnext /* 0x1c */
.word acc_never, fxn_unknown
@@ -159,6 +159,6 @@ dispatch_table:
.word acc_never, fxn_unknown /* 0x2c */
.word acc_file, fxn_unknown_2d
- .word acc_other, fxn_spopenfile
+ .word acc_cds, fxn_spopenfile
.size dispatch_table, .-dispatch_table