GithubHelp home page GithubHelp logo

qwex333 / nachos-2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dariwala/nachos

0.0 1.0 0.0 18.16 MB

NachOS with new file system

License: Other

Makefile 4.57% TeX 6.60% C 28.48% C++ 37.80% Shell 0.55% HTML 1.35% Assembly 2.27% Logos 8.79% Groff 9.58%

nachos-2's Introduction

NachOS

NachOS with new file system

  • support file I/O system call
int Create(char *name, int size);
OpenFileId Open(char *name);
int Read(char *buf, int size, OpenFileId id);
int Write(char *buf, int size, OpenFileId id);
int Close(OpenFileId id);
  • support larger file size(Support up to 64MB single file)
  • support subdirectory
  • support recursive operations on directories
>nachos -lr <directory_to_be_listed>

Recursively list the file/directory in a directory. The Directory will always exist.

>nachos -rr <file/directory_to_be_removed>

Remove the file or recursively remove the directory.


Building Instructions:

  • got to the directory build., where is your working OS
  • do a "make depend" to build depenencies (DO IT!)
  • do a "make" to build NachOS

Usage: see "nachos -u" for all command line options

Building and starting user-level programs in NachOS:

  • use Mips cross-compiler to build and link coff-binaries
  • use coff2noff to translate the binaries to the NachOS-format
  • start binary with nachos -x <path_to_file/file>

nachos-2's People

Contributors

chingyaoc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.