|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U s
Length: 1873 (0x751)
Types: TextFile
Notes: UNIX file
Names: »slncmds.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/slncmds.h«
/*
* Copyright (c) 1984 AT&T
* All Rights Reserved
*
* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
* The copyright notice above does not evidence any actual
* or intended publication of such source code.
*
*
* Release 1.0 STARLAN NETWORK global Command Interfaces header file
*/
#ident "@(#)slncmds.h 1.2 - 86/11/05"
/*
* User command opcodes.
*/
#define S_SLNSTART 0x0001
#define S_SLNSTOP 0x0002
#define S_SLNSTATE 0x0003
#define S_SLNSTAT 0x0004
#define S_PCLEAR 0x0020 /* clear a module's peg counts */
#define S_PCLEARALL 0x0030 /* clear all module peg counts */
#define S_SENDCTL 0x0100
#define S_DOPUMP 0x0200 /* download a peripheral */
/*
* User command ioctls.
*/
typedef struct {
unsigned long value; /* command option */
} S_command;
typedef struct {
char module[8];
short size, limit;
unsigned long data[253];
} S_pcnt;
#define SPCNTHDRSIZE 12
#define SPCNTDATASIZE 253
typedef struct {
char module[8];
unsigned long count;
char data[1024];
} S_sendctl;
#define MSENDCTLHDRSIZE 12
typedef struct {
char driver[8];
unsigned short opcode;
unsigned short size;
char *address;
unsigned long flags;
unsigned long retcode;
unsigned short board;
char data[4096];
} S_dopump;
#define MDOPUMPHDRSIZE 26
#define MDOPUMPSIZE sizeof(S_dopump)
/*
* Global options.
*/
#define S_OPTION 0x00000001 /* -s option */
#define NOVALUE 0
#define SHORT_TIME 5
#define LONG_TIME 60
/*
* S_PUMP opcodes
*/
#define PF_LOAD 1 /* download */
#define PF_RESET 2 /* reset */
#define PF_FCF 3 /* force call to function */
#define PF_SYSGEN 4 /* sysgen */
#define PF_START 5 /* start */
/*
* S_PUMP flag values
*/
#define PF_ZERO 0x0001 /* PF_LOAD data is a zero */
#define PF_ENDD 0x0002 /* last PF_LOAD operation */
#define PF_ENDP 0x0004 /* last MS_PUMP message */