55 |
|
|
56 |
|
typedef struct { |
57 |
|
uint32 nrm; /* number of beam rays bundled in memory */ |
58 |
< |
unsigned long tick; /* clock tick for LRU replacement */ |
58 |
> |
uint32 tick; /* clock tick for LRU replacement */ |
59 |
|
} BEAM; /* followed by nrm RAYVAL's */ |
60 |
|
|
61 |
|
#define hdbray(bp) ((RAYVAL *)((bp)+1)) |
132 |
|
|
133 |
|
#define HOLOFMT "Holodeck" /* file format identifier */ |
134 |
|
#define HOLOVERS 0 /* file format version number */ |
135 |
< |
#define HOLOMAGIC (323+sizeof(off_t)+8*HOLOVERS) /* file magic number */ |
135 |
> |
#define HOLOMAGIC (323+sizeof(BEAMI)+16*HOLOVERS) /* file magic number */ |
136 |
|
|
137 |
|
/* |
138 |
|
* A holodeck file consists of an information header terminated by a |