mirror of
https://github.com/kenshineto/kern.git
synced 2025-04-21 20:57:25 +00:00
33 lines
766 B
C
33 lines
766 B
C
/**
|
|
** @file params.h
|
|
**
|
|
** @author CSCI-452 class of 20245
|
|
**
|
|
** @brief System configuration settings
|
|
**
|
|
** This header file contains many of the "easily tunable" system
|
|
** settings, such as clock rate, number of simultaneous user
|
|
** processes, etc. This provides a sort of "one-stop shop" for
|
|
** things that might be tweaked frequently.
|
|
*/
|
|
|
|
#ifndef PARAMS_H_
|
|
#define PARAMS_H_
|
|
|
|
/*
|
|
** General (C and/or assembly) definitions
|
|
*/
|
|
|
|
// Upper bound on the number of simultaneous user-level
|
|
// processes in the system (completely arbitrary)
|
|
#define N_PROCS 25
|
|
|
|
// Limit on the number of entries in argv[], INCLUDING
|
|
// the trailing NULL pointer (also completely arbitrary)
|
|
#define N_ARGS 10
|
|
|
|
// Clock frequency (Hz)
|
|
#define CLOCK_FREQ 1000
|
|
#define TICKS_PER_MS 1
|
|
|
|
#endif
|