|
|
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 a
Length: 1112 (0x458)
Types: TextFile
Notes: UNIX file
Names: »alttbl.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/alttbl.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. */
#ident "@(#)alttbl.h 1.6 - 88/05/08"
/* This file defines the alternate sector table for the hard disk driver */
#define MAX_ALTENTS 62 /* Maximum number of alternate tracks */
/* This lets entire table fit in 512 bytes */
struct alt_ent {
daddr_t badsec; /* bad absolute sector number (0 == unused) */
daddr_t goodsec; /* alternate sector to use */
};
struct alt_table {
long sanity; /* to validate correctness */
ushort version;
ushort alts_used; /* number of alternates assigned */
ushort alts_present; /* total number of alternates available */
ushort alts_pad; /* pad for 16-bit machine alignment */
struct alt_ent alts[MAX_ALTENTS]; /* actual alternates */
char padding[4]; /* pad it out to 512 bytes */
};
#define ALT_SANITY 0xdeadbeef /* magic # to validate alt table */