Skip to content

Commit

Permalink
Plan 9 from Bell Labs 2003-03-01
Browse files Browse the repository at this point in the history
  • Loading branch information
0intro committed Mar 1, 2003
1 parent a91755a commit 7348ba1
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 572 deletions.
32 changes: 16 additions & 16 deletions alphapc/dat.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ struct Mach
int load;
int intr;
int flushmmu; /* make current proc flush it's mmu state */
int ilockdepth;
int ilockdepth;

ulong spuriousintr;
int lastintr;
Expand Down Expand Up @@ -197,18 +197,18 @@ struct PCArch
int (*intrvecno)(int);
int (*intrdisable)(int);

int (*_inb)(int);
int (*_inb)(int);
ushort (*_ins)(int);
ulong (*_inl)(int);
void (*_outb)(int, int);
void (*_outs)(int, ushort);
void (*_outl)(int, ulong);
void (*_insb)(int, void*, int);
void (*_inss)(int, void*, int);
void (*_insl)(int, void*, int);
void (*_outsb)(int, void*, int);
void (*_outss)(int, void*, int);
void (*_outsl)(int, void*, int);
void (*_outb)(int, int);
void (*_outs)(int, ushort);
void (*_outl)(int, ulong);
void (*_insb)(int, void*, int);
void (*_inss)(int, void*, int);
void (*_insl)(int, void*, int);
void (*_outsb)(int, void*, int);
void (*_outss)(int, void*, int);
void (*_outsl)(int, void*, int);
};

/*
Expand All @@ -217,9 +217,9 @@ struct PCArch
#define NISAOPT 8

struct ISAConf {
char *type;
char *type;
ulong port;
ulong irq;
int irq;
ulong dma;
ulong mem;
ulong size;
Expand All @@ -242,13 +242,13 @@ extern register Proc *up;
*/
typedef struct {
ulong port;
int size;
int size;
} port_t;

struct DevConf
{
ulong intnum; /* interrupt number */
char *type; /* card type, malloced */
int nports; /* Number of ports */
char *type; /* card type, malloced */
int nports; /* Number of ports */
port_t *ports; /* The ports themselves */
};
Loading

0 comments on commit 7348ba1

Please sign in to comment.