Skip to content

Commit 19bf5f8

Browse files
committed
fixes
1 parent d35faa1 commit 19bf5f8

23 files changed

+18
-241
lines changed

BitUtilities.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageTable.cpp
5-
// Description: Implementation of BitUtilities.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Jordan Cavins, Department of Computing, East Tennessee State University
8-
// Created: Wednesday, December 9 2020
9-
// Copyright: Jordan Cavins 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#include "BitUtilities.h"
133

144
/// <summary>

BitUtilities.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageTable.cpp
5-
// Description: Bit stuff
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Jordan Cavins, Department of Computing, East Tennessee State University
8-
// Created: Wednesday, December 9 2020
9-
// Copyright: Jordan Cavins 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
namespace BitUtilities {
144

DataCache/Cache.h

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: Cache.h
5-
// Description: Cache class
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Jordan Cavins
8-
// Created: Wednesday, December 2 2020
9-
//
10-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
111

122
#ifndef CACHE_H
133
#define CACHE_H

HardwareStats.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: HardwareStats.h
5-
// Description: Hold statistical information on memory components.
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Sunday, December 6 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#ifndef HARDWARE_STATS_H
133
#define HARDWARE_STATS_H
144

InputReader.cpp

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/*
2-
* David Nelson
3-
* OS Final Project
4-
* 12-09-2020
5-
* Operating Systems
6-
* InputReader.cpp
7-
*
8-
*/
1+
92

103
#include "InputReader.h"
114

InputReader.h

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
1-
/*
2-
* David Nelson
3-
* OS Final Project
4-
* 12-09-2020
5-
* Operating Systems
6-
* InputReader.h
7-
*
8-
*/
1+
92

103
#ifndef INPUTREADER_H
114
#define INPUTREADER_H

LookupBuffer/DTLB.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
/*
2-
* David Nelson
3-
* OS Final Project
4-
* 12-09-2020
5-
* Operating Systems
6-
* InputReader.h
7-
*
8-
*/
9-
101
#include "DTLB.h"
112

123
/// <summary>

LookupBuffer/DTLB.h

-8
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
/*
2-
* David Nelson
3-
* OS Final Project
4-
* 12-09-2020
5-
* Operating Systems
6-
* InputReader.h
7-
*
8-
*/
91

102
#pragma once
113

MemoryController.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: MemoryController.cpp
5-
// Description: Implementation of MemoryController.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Sunday, December 6 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#include "MemoryController.h"
133
#include "BitUtilities.h"
144
#include "TableEntry.h"

MemoryController.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: MemoryController.cpp
5-
// Description: Class that coordinates and controls flow of events in memory management.
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Saturday, December 5 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#ifndef MEM_CON_H
144
#define MEM_CON_H

MemoryOptions.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: MemoryOptions.h
5-
// Description: Configuration for the MemoryController class
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Saturday, December 5 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#ifndef MEM_OPTIONS_H
133
#define MEM_OPTIONS_H
144

OutputDisplayer.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: OutputDisplayer.cpp
5-
// Description: Implementation of OutputDisplayer.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Saturday, December 5 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#include "OutputDisplayer.h"
133

144
/// <summary>

OutputDisplayer.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: OutputDisplayer.h
5-
// Description: Display output to console
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Saturday, December 5 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#ifndef OUTPUT_DISP_H
144
#define OUTPUT_DISP_H

PageFaultHandler.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageFaultHandler.cpp
5-
// Description: Implemenation of PageFaultHandler.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Saturday, December 5 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#include "PageFaultHandler.h"
144

PageFaultHandler.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageFaultHandler.h
5-
// Description: Class for simulating a page table
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Friday, December 4 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#ifndef PAGEFAULTHANDLER_H
144
#define PAGEFAULTHANDLER_H

PageTable/PageTable.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageTable.cpp
5-
// Description: Implementation of PageTable.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Wednesday, December 2 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
121

132
#include "PageTable.h"
143
// Default constructor. Doesn't do anything.

PageTable/PageTable.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: PageTable.h
5-
// Description: Class for simulating a page table
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Wednesday, December 2 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#ifndef PAGETABLE_H
133
#define PAGETABLE_H
144
#include "../TableEntry.h"

ReferenceStats.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: ReferenceStats.h
5-
// Description: Holds reference information for disk, memory, and page table.
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Sunday, December 6 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#ifndef REF_STATS_H
144
#define REF_STATS_H

SimulationDeployer.cpp

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: SimulationDeployer.cpp
5-
// Description: Implementation of SimulationDeployer.h
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Monday, December 7 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#include "SimulationDeployer.h"
133

144
/// <summary>

SimulationDeployer.h

-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: SimulationDeployer.h
5-
// Description: Runs the simulation.
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Monday, December 7 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
121

132

143
#ifndef SIM_DEP_H

TableEntry.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: TableEntry.h
5-
// Description: Entry for Data TLB and Page Table
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Tuesday, December 8 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122

133
#ifndef TABLE_ENTRY_H
144
#define TABLE_ENTRY_H

Trace.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: Trace.h
5-
// Description: A trace! Access type and address.
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Sunday, December 6 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#ifndef TRACE_H
133
#define TRACE_H
144
#include <string>

TraceStats.h

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
2-
//
3-
// Project: GroupProject
4-
// File Name: TraceStats.h
5-
// Description: A trace that contains extra information!
6-
// Course: CSCI-4727-940: Operating Systems
7-
// Author: Harrison Pollitte, [email protected], Department of Computing, East Tennessee State University
8-
// Created: Sunday, December 6 2020
9-
// Copyright: Harrison Pollitte 2020
10-
//
11-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1+
122
#ifndef TRACE_STATS_H
133
#define TRACE_STATS_H
144

0 commit comments

Comments
 (0)