typedef struct Page Page;
typedef struct Proc Proc;
typedef struct PMMU PMMU;
-typedef u32int PTE;
typedef struct Ureg Ureg;
typedef struct ISAConf ISAConf;
typedef uvlong Tval;
int syscall;
int load;
int intr;
- uvlong fastclock; /* last sampled value */
- uvlong inidle; /* time spent in idlehands() */
-// ulong spuriousintr;
int lastintr;
int ilockdepth;
Perf perf; /* performance counters */
struct
{
- Lock;
- int machs; /* bitmap of active CPUs */
+ char machs[MAXMACH]; /* active CPUs */
int exiting; /* shutdown */
- int ispanic; /* shutdown in response to a panic */
}active;
extern register Mach* m; /* R10 */