-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit the final version of last term
- Loading branch information
Showing
305 changed files
with
16,264 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>nachos</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#Sat Oct 02 22:34:02 CST 2010 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.6 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.6 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<body> | ||
Provides classes that can be used to automatically grade Nachos projects. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<body> | ||
Provides classes that implement the Nachos simulated machine. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<body> | ||
Provides classes that allow Nachos processes to communicate over the network. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<body> | ||
Provides classes that can be used to protect the host system from malicious | ||
Nachos kernels. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<body> | ||
Provides classes that support a multithreaded kernel. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<body> | ||
Provides classes that allow Nachos to load and execute single-threaded user | ||
programs in separate address spaces. | ||
</body> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<body> | ||
Provides classes that allow Nachos processes to be demand paged, and to use a | ||
hardware TLB for address translation. | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Machine.stubFileSystem = false | ||
Machine.processor = false | ||
Machine.console = false | ||
Machine.networkLink = false | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.PriorityScheduler | ||
Kernel.kernel = nachos.threads.ThreadedKernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Machine.stubFileSystem = true | ||
Machine.processor = true | ||
Machine.console = true | ||
Machine.graphicalConsole = false | ||
Machine.networkLink = false | ||
Processor.usingTLB = false | ||
Processor.numPhysPages = 64 | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.RoundRobinScheduler #nachos.threads.LotteryScheduler | ||
Kernel.shellProgram = halt.coff #sh.coff | ||
Kernel.processClassName = nachos.userprog.UserProcess | ||
Kernel.kernel = nachos.userprog.UserKernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Machine.stubFileSystem = true | ||
Machine.processor = true | ||
Machine.console = true | ||
Machine.graphicalConsole = false | ||
Machine.networkLink = false | ||
Processor.usingTLB = true | ||
Processor.numPhysPages = 16 | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.LotteryScheduler | ||
Kernel.shellProgram = sh.coff | ||
Kernel.processClassName = nachos.vm.VMProcess | ||
Kernel.kernel = nachos.vm.VMKernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Machine.stubFileSystem = true | ||
Machine.processor = true | ||
Machine.console = true | ||
Machine.graphicalConsole = false | ||
Machine.networkLink = true | ||
Processor.usingTLB = true | ||
Processor.numPhysPages = 16 | ||
NetworkLink.reliability = 1.0 # use 0.9 when you're ready | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.RoundRobinScheduler | ||
Kernel.shellProgram = sh.coff | ||
Kernel.processClassName = nachos.network.NetProcess | ||
Kernel.kernel = nachos.network.NetKernel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Put your project documents and generated javadoc here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
nachos readme - ���� 5080309105 | ||
1����ɶ� | ||
�����4��phase���������ݣ� | ||
Phase 1: Build a thread system | ||
Phase 2: Multiprogramming | ||
Phase 3: Caching and Virtual Memory | ||
Phase 5: File System | ||
2��filesys������ | ||
a. support absolute and relative path | ||
b. support "." and ".." | ||
c. support deletion of the current folder | ||
d. support exclusive write and concurrent read | ||
ģ��Java�е�ReadWriteLockʵ�ֵ� | ||
e. ����Ŀ¼ֻ��һ�� | ||
f. ��ǰ����Ŀ¼��ɾ����������һ��Ŀ¼ | ||
g. ����symlink��Ŀ����м�飬symlinkָ���ļ�������Ч�� | ||
3��bonus | ||
��2.a, 2.b, 2.c, 2.d | ||
4������ | ||
ϣ���ܹ��ڿ�ʼдÿ��phase��ʱ����ܵõ����Լ������������������ڷ��ִ��� | ||
ϣ�����Լ������Ϲ淶�������ܹ�����һ���ط���ʶ����� | ||
deadlineӦ����ǰһ�ܡ� | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Machine.stubFileSystem = true | ||
Machine.processor = true | ||
Machine.console = true | ||
Machine.graphicalConsole = false | ||
Machine.networkLink = false | ||
Processor.usingTLB = true | ||
Processor.numPhysPages = 16 | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.PriorityScheduler | ||
Kernel.shellProgram = sh.coff | ||
Kernel.processClassName = nachos.filesys.FilesysProcess | ||
Kernel.kernel = nachos.filesys.FilesysKernel | ||
FilesysKernel.format = true | ||
Machine.realFileSystem = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Machine.stubFileSystem = true | ||
Machine.processor = true | ||
Machine.console = true | ||
Machine.graphicalConsole = false | ||
Machine.networkLink = false | ||
Processor.usingTLB = true | ||
Processor.numPhysPages = 16 | ||
NachosSecurityManager.fullySecure = false | ||
ThreadedKernel.scheduler = nachos.threads.PriorityScheduler | ||
Kernel.shellProgram = sh.coff | ||
Kernel.processClassName = nachos.filesys.FilesysProcess | ||
Kernel.kernel = nachos.filesys.FilesysKernel | ||
FilesysKernel.format = false | ||
Machine.realFileSystem = true |
Oops, something went wrong.