cosc1078 introduction to information technology lecture 15 booting

Download COSC1078 Introduction to Information Technology Lecture 15 Booting

If you can't read please download the document

Upload: alessa

Post on 25-Feb-2016

21 views

Category:

Documents


1 download

DESCRIPTION

COSC1078 Introduction to Information Technology Lecture 15 Booting. James Harland [email protected]. Introduction. James Harland Email: [email protected] URL: www.cs.rmit.edu.au/~jah Phone: 9925 2045 Office: 14.10.1 Consultation: Mon 4.30-5.30, Thu 11.30-12.30 - PowerPoint PPT Presentation

TRANSCRIPT

PowerPoint Presentation

Lecture 15: BootingIntro to IT COSC1078 Introduction to Information Technology Lecture 15

BootingJames [email protected]

1Lecture 15: BootingIntro to IT Introduction

James HarlandEmail: [email protected]: www.cs.rmit.edu.au/~jahPhone: 9925 2045Office: 14.10.1 Consultation: Mon 4.30-5.30, Thu 11.30-12.30What colour is my office door? Carpet? Chair?

2Lecture 15: BootingIntro to IT Introduction to IT

1 Introduction 2 Images3 Audio4 Video WebLearnTest 1 5 Binary Representation Assignment 16 Data Storage7 Machine Processing8 Operating Systems WebLearn Test 29 Processes Assignment 210 Internet11 Internet Security WebLearn Test 312 Future of ITAssignment 3, Peer and Self Assessment3Lecture 15: BootingIntro to IT OverviewQuestions?

Assignments 1 & 2

Booting

Questions?

4Lecture 15: BootingIntro to IT Where to begin?

How do you start an operating system?Boot it! (or bootstrap)

Turn on power ()

Machine loads bootstrap program from ROM (non-volatile memory)

Bootstrap program loads OS

OS takes over

5Lecture 15: BootingIntro to IT Initial State When Turned OnProgram CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram

00

6Lecture 15: BootingIntro to IT Load Bootstrap ProgramProgram CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram

00

7Lecture 15: BootingIntro to IT Bootstrap program loads OS Program CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram

00

8Lecture 15: BootingIntro to IT Bootstrap program loads OSProgram CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram

00

9Lecture 15: BootingIntro to IT Bootstrap program has loaded OSProgram CounterInstructionRegisterAAROMRAMProcessorMemoryDiskBootstrapProgram

00

AA10Lecture 15: BootingIntro to IT OS takes over executionProgram CounterInstructionRegisterAAROMRAMProcessorMemoryDiskBootstrapProgram00

AA

11Lecture 15: BootingIntro to IT Starting Up Operating SystemsProgram CounterInstructionRegisterAAROMRAMProcessorMemoryDiskBootstrapProgram00

AA

12Lecture 15: BootingIntro to IT Starting Up Operating SystemsProgram CounterInstructionRegisterAAROMRAMProcessorMemoryDiskBootstrapProgram00

AA

13Lecture 15: BootingIntro to IT Starting Up Operating SystemsProgram CounterInstructionRegisterAAROMRAMProcessorMemoryDiskBootstrapProgram00

AA

14Lecture 15: BootingIntro to IT Multiple boot scenario Program CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram00

15Lecture 15: BootingIntro to IT Multiple boot scenario Program CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram00

16Lecture 15: BootingIntro to IT Multiple boot scenario Program CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram00

17Lecture 15: BootingIntro to IT Multiple boot scenario Program CounterInstructionRegister00ROMRAMProcessorMemoryDiskBootstrapProgram00

18Lecture 15: BootingIntro to IT OS Software ClassificationSoftwareSystemApplicationUtilityKernelOperating SystemShell

19Lecture 15: BootingIntro to IT Processes

20Lecture 15: BootingIntro to IT ProcessesA program is a static set of instructions

A processes is the execution of a program, which changes state over time.

21Lecture 15: BootingIntro to IT Processes Executing in ContextProgram CounterInstructionRegisterCCROMRAMProcessorMemoryDisk00

CC

22Lecture 15: BootingIntro to IT Processes Executing in ContextProgram CounterInstructionRegisterDDROMRAMProcessorMemoryDisk00

CC

DD23Lecture 15: BootingIntro to IT Processes Switching

ReadyReadyWaitingScheduler maintains process table

24Lecture 15: BootingIntro to IT Processes Switching

25Lecture 15: BootingIntro to IT Interrupts

Signals to the CPU Often generated by timing circuits CPU reacts by jumping to appropriate memory location Dispatcher selects a ready process resets timing circuit starts process CPUs often designed to switch process states efficiently 26Lecture 15: BootingIntro to IT Processes Executing in ContextProgram CounterInstructionRegisterBBROMRAMProcessorMemoryDisk00

BB

27Lecture 15: BootingIntro to IT Processes Executing in ContextProgram CounterInstructionRegister11

ROMRAMProcessorMemoryDisk00

BB

28Lecture 15: BootingIntro to IT Processes Executing in ContextProgram CounterInstructionRegisterFFROMRAMProcessorMemoryDisk00

FF

29Lecture 15: BootingIntro to IT Interrupts

Provide mechanism to switch processes

CPU doesnt have to wait for I/O transfers

Switching leads to faster throughput

`Save document means CPU does something else while the save takes place

30Lecture 15: BootingIntro to IT ConclusionAssignment 2 specified sometime this week

Finish reading book!

31