summaryrefslogtreecommitdiff
path: root/include/params.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-03-25 17:36:52 -0400
committerFreya Murphy <freya@freyacat.org>2025-03-25 17:38:22 -0400
commit6af21e6a4f2251e71353562d5df7f376fdffc270 (patch)
treede20c7afc9878422c81e34f30c6b010075e9e69a /include/params.h
downloadcomus-6af21e6a4f2251e71353562d5df7f376fdffc270.tar.gz
comus-6af21e6a4f2251e71353562d5df7f376fdffc270.tar.bz2
comus-6af21e6a4f2251e71353562d5df7f376fdffc270.zip
initial checkout from wrc
Diffstat (limited to 'include/params.h')
-rw-r--r--include/params.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/params.h b/include/params.h
new file mode 100644
index 0000000..52eb81d
--- /dev/null
+++ b/include/params.h
@@ -0,0 +1,31 @@
+/**
+** @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
+
+// Clock frequency (Hz)
+
+#define CLOCK_FREQ 1000
+#define TICKS_PER_MS 1
+
+#endif