aboutsummaryrefslogtreecommitdiff
path: root/sys/ki/kii.com
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ki/kii.com')
-rw-r--r--sys/ki/kii.com15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/ki/kii.com b/sys/ki/kii.com
new file mode 100644
index 00000000..cd542b3d
--- /dev/null
+++ b/sys/ki/kii.com
@@ -0,0 +1,15 @@
+# KI common -- Contains both the packed and unpacked packet used to transmit
+# and receive requests over the network. Since the packed packet is first
+# in the common any overflow due to failure of the assumptions about the
+# size of the packed packet in host ints will only damage the area used by
+# the unpacked packet, causing no harm.
+
+int p_packet[SZB_PACKET/SZB_CHAR/SZ_MII_INT] # packed packet
+
+int p_opcode # instruction opcode
+int p_subcode # subcode, if device driver
+int p_arg[MAX_ARGS] # procedure arguments
+int p_sbuflen # nchars in use in string buffer
+char p_sbuf[SZ_SBUF] # string buffer
+
+common /kiicom/ p_packet, p_opcode, p_subcode, p_arg, p_sbuflen, p_sbuf