1 Nachos Introduction Lecturer: Tei-Wei Kuo TA: Ya-Su Chen, Yuan-Hao chang Date: 2005/10/19.

Slides:



Advertisements
Similar presentations
Android OS : Core Concepts Dr. Jeyakesavan Veerasamy Sr. Lecturer University of Texas at Dallas
Advertisements

Operating System.
Operating System Tracing the Nachos code in Java Instructor: Dr. Lee, Hahn-Ming. ( 李漢銘 教授 ) TA (Reporter): Mao, Ching-Hao 毛敬豪 Chen, Wei-Da 陳威達 2006/3/14.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Programming Interface T.Yang, CS
Operating System Tracing the nachos code in Java
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
Systems Programming Course Gustavo Rodriguez-Rivera.
Nachos Introduction CS Operating System 2007.
Nachos Introduction CS Operating System 2005.
Chapter 6 - Implementing Processes, Threads and Resources Kris Hansen Shelby Davis Jeffery Brass 3/7/05 & 3/9/05 Kris Hansen Shelby Davis Jeffery Brass.
Overview Basic functions Features Installation: Windows host and Linux host.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Spring 2014 SILICON VALLEY UNIVERSITY CONFIDENTIAL 1 Introduction to Embedded Systems Dr. Jerry Shiao, Silicon Valley University.
PIKA Technologies Inc. Analog Logger Application Sample December 2009.
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
Welcome to the World of Nachos CPS 110 Spring 2004 Discussion Session 1.
LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University.
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Operating Systems Lecture 4. Agenda for Today Review of previous lecture Operating system structures Operating system design and implementation UNIX/Linux.
Introduction to Interactive Media Interactive Media Tools: Software.
Nachos Projects Overview and Project 1 TA : 吳哲榮 2010/10/21.
Windows NT Chapter 13 Key Terms By Bill Ward NT Versions NT Workstation n A desktop PC that both accesses a network and works as a stand alone PC NT.
Nachos Projects Overview and Project 1 TA : 王映智 2007/10/24.
Porting Operating Systems Phan Duy Hùng (PhD) ES Lecturer – Hanoi FPT University.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
CS 444 Introduction to Operating Systems
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Nachos Project Assignment 1 MultiprogrammingTA:mamafun.
Race Conditions Defined 1. Every data structure defines invariant conditions. defines the space of possible legal states of the structure defines what.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Nachos Overview 2011 级 OS 课程设计 2013 秋. to get your hands dirty Read and analyze Build observe.
Introduction to Microsoft Windows 2000 Integrated support for client/server and peer-to-peer networks Increased reliability, availability, and scalability.
Nachos Project 4 Lecturer: Hao-Hua Chu TA: Chun-Po Wang (Artoo) Date: 2008/10/25.
Copyright © cs-tutorial.com. Overview Introduction Architecture Implementation Evaluation.
1. Introduction to Nachos Shandong University 2014 秋.
CSI3131 – Lab 1 Observing Process Behaviour. Running Linux under Virtual PC  Start Virtual PC  This Windows program provides a virtual machine to run.
Nachos Project Assignment 1 Multi-programming TA: Hung-Leng Chen.
Project Name Program Name Project Scope Title Project Code and Name Insert Project Branding Image Here.
Nachos Overview Lecturer: Hao-Hua Chu TA: Chun-Po Wang (Artoo) Date: 2008/09/18 Material Provided by Yuan-Hao Chang, Yung-Feng Lu.
Nachos Lecture 2 Xiaorui Sun. Phase 2 You have got one machine (machine package) You have to implements the incomplete OS (userprog package) Run programs.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
TOPIC 7.0 LINUX SERVICES AND CONFIGURATION. ROOT USER Root user is called “super user” because it has power far beyond those of mortal user. As root,
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
OPERATING SYSTEM BY KINSHUK RASTOGI. WHAT IS AN OPERATING SYSTEM? What is an operating system in the first place? An operating system is a software that.
Embedded Real-Time Systems Introduction to embedded software development Lecturer Department University.
Introduction of Wget. Wget Wget is a package for retrieving files using HTTP and FTP, the most widely-used Internet protocols. Wget is non-interactive,
LINUX An Introduction Wan Ahmad Tajuddin Wan Abdullah Universiti Malaya KL ACGRID-II 2009.
Software 12/1/2008.
Android Mobile Application Development
CSC227: Operating Systems
CS490 Windows Internals Quiz 2 09/27/2013.
KERNEL ARCHITECTURE.
Virtual Machines.
Module 0: Introduction Chapter 2: Getting Started
Operation System Program 4
Windows Internals Brown-Bag Seminar Chapter 1 – Concepts and Tools
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Operating Systems Lecture 4.
Tornado Training Workshop
Operating Systems Lecture 1.
Operating Systems: A Modern Perspective, Chapter 3
Korea Software HRD Center
Tornado Training Workshop
Outline Operating System Organization Operating System Examples
Web Servers (IIS and Apache)
Presentation transcript:

1 Nachos Introduction Lecturer: Tei-Wei Kuo TA: Ya-Su Chen, Yuan-Hao chang Date: 2005/10/19

2 Nachos Nachos: – Not Another Completely Heuristic Operating System Written by Tom Anderson and his students at UC Berkeley

3 Nachos 4.0 An educational OS used to teach monolithic kernel design and implementation do experiments Fact: Real hardware is difficult to handle. May break if handled wrong. Approach: Use a virtual MIPS machine Provide some basic OS elements

4 Nachos 4.0

5 Simulates MIPS architecture on host system (Unix /Linux/ Windows / MacOS X ) User programs need a cross-compiler (target MIPS) Nachos appears as a single threaded process to the host operating system

6 Recommended Platform Redhat Linux 7.3 Install linux directly on your pc. Install linux on virtual machine.

7 Desiginated Platform in This Class Linux in Workstation Room 217 Installation guide achos/217.htm achos/217.htm If your project submission can’t execute on Linux in Workstation Room 217, we will consider it as fail. The Linux kernel in Workstation Room 217 is Please contact the TA in Workstation Room 217 to apply an account if you need it.

8 Nachos content

9 Root directory C++ introduction to teach how to write C++ Root directory of Nachos ’ s source code Building directories for different systems (Platform dependent) File system Nachos ’ s library MIPS machine In/Out message queues Source code of Nachos kernel and MIPS simulator Nachos ’ s sample uer programs threads The tool to convert user programs from MIPS ’ s COFF into Nachos ’ s NOFF format NOFF: Nachos Object File Format User programs ’ interfaces: system calls, address space, noff format.

10 How does it work?(1)

11 How does it work?(2)

12 How does it work?(3)

13 Setup the System Refer to the following document: 05/files/nachos/217.htm 05/files/nachos/217.htm

14 GLOBAL A source code tag system that works the same way across diverse environments. Useful for hacking a large project containing many subdirectories, many #ifdef and many main() functions. You can download GLOBAL from ml ml

15 GLOBAL (Cont.) How To Start? load.html load.html Installation %./configure % make % make install gtags, htags

16 GLOBAL (Cont..) gtags – Create Tag Database % cd NachOS-4.0/ % gtags htags – Create Hypertext Files (under HTML/) for a Web-Based Interface for Global % htags –Ff The GLOBAL for NachOS /files/nachos/NachOS-4.0/HTML/ 05/files/nachos/NachOS-4.0/HTML/

17 How to Start Trace Codes Read interfaces in the *.h files first. To have overview of the whole system. Then,read the implementations in the *.cc files. See how the executable code supports each interface. Documentation tedItem=Nachos tedItem=Nachos