tac0S
Template Affectional Command Operating System
Macros | Functions | Variables
system.h File Reference

Initialization and cleanup routines. More...

#include "copyright.h"
#include "utility.h"
#include "thread.h"
#include "scheduler.h"
#include "interrupt.h"
#include "stats.h"
#include "timer.h"
#include "userthread.h"
#include "ManagerUserThreadID.h"
#include "UserThreadMetadata.h"

Go to the source code of this file.

Macros

#define MAX_STRING_SIZE   512
 
#define FLAG_ERROR_FOR_VOID   ((void*) -1)
 

Functions

void Initialize (int argc, char **argv)
 
void Cleanup ()
 

Variables

ThreadcurrentThread
 
ThreadthreadToBeDestroyed
 
Schedulerscheduler
 
Interruptinterrupt
 
Statisticsstats
 
Timertimer
 
ManagerUserThreadIDmanagerUserThreadID
 
ManagerUserThreadIDmanagerSemaphoreID
 
ManagerUserThreadIDmanagerLockID
 
char * path
 

Detailed Description

Initialization and cleanup routines.

Author
Olivier Hureau, Hugo Feydel , Julien ALaimo system.h All global variables used in Nachos are defined here.

Copyright (c) 1992-1993 The Regents of the University of California. All rights reserved. See copyright.h for copyright notice and limitation of liability and disclaimer of warranty provisions.