|
|
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: 1533 (0x5fd)
Types: TextFile
Notes: UNIX file
Names: »alttbl.h«
└─⟦5fb5a153b⟧ Bits:30004042/hpdd.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦5fb5a153b⟧ UNIX Filesystem
└─⟦this⟧ »hp/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.1.1 - 88/08/03"
/*
* This file defines the alternate sector table for the hard disk driver
* NOTE: This file defines a MAXIMUM-SIZE alternates table. It is 8K
* bytes long. Shorter versions of the table may be chosen by setting
* alts_present to the actual number of alt_ent's in the table AND by
* setting alt_len in the PDINFO block to the actual length (in bytes)
* of the actual alternates table used...
*/
#ifdef AT386
#define MAX_ALTENTS 1022 /* Maximum number of alternate sectors */
#else /* !AT386 */
#define MAX_ALTENTS 62
#endif
#define ALTS_OHEAD 16 /* Number of bytes of overhead in alttbl */
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 8192 */
};
#define ALT_SANITY 0xdeadbeef /* magic # to validate alt table */