From 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Tue, 11 Aug 2015 16:51:37 -0400 Subject: Repatch (from linux) of OSX IRAF --- sys/ki/kii.com | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sys/ki/kii.com (limited to 'sys/ki/kii.com') 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 -- cgit