Академический Документы
Профессиональный Документы
Культура Документы
Management
Fred Kuhns
fredk@cse.wustl.edu
Applied Research Laboratory,
Department of Computer Science and Engineering,
Washington University in St. Louis
Washington
WASHINGTON UNIVERSITY IN ST LOUIS
OS Organization
Operating System
File
Process & Resource Manager
Manager
Memory Device
Manager Manager
Hardware
subsystem
char block Memory
Device drivers
hardware
Fred Kuhns (01/17/09) CS422 – Operating Systems Concepts 4
Message Passing – Micro-Kernel
Client DB server
microkernel
Arithmetic-Logical Unit
(ALU) Control Unit
Device Controller
Primary Memory Device Controller
Device
Device Controller
Device
Device Controller
Device
Device
Switch Fabric
OPP
OPP
OPP
OPP
OPP
OPP
IPP
IPP
IPP
IPP
IPP
IPP
Processors
LC LC LC LC LC LC
Line Cards (link interfaces)
Fred Kuhns (01/17/09) CS422 – Operating Systems Concepts 7
Functional Diagram of the Port Processor (SPC)
Control
Processor
Switch Fabric
SPC SPC
Dist. Q. Ctl. Dist. Q. Ctl. Dist. Q. Ctl. Dist. Q. Ctl.
Flow/Route Flow/Route
Lookup Lookup
DRAM
Link Interface
APIC CPU Module
PCI Bus
System FPGA
Serial Ports
Ctrl
North
Cache CPU DRAM
Bridge Addr/Data/Ctrl
PCI Bus
Intr
NMI
INIT
PCI
SouthBridge (PIIX3) Devices
(PIC, PIT, …)
ISA Bus
Parallel
Floppy
Uarts
RTC
...
• Types of registers
– Data - can be assigned by the programmer
– Address - contain main memory address of data and
instructions. Or may contain a portion of an address that
is used to calculate the complete address.
– Condition Code or flags
Processor
Device table
dispatcher clock handler
(interrupt handler) X
Bus
Timer
Interrupts
Disabled
Interrupts
Enabled
Fetch Next Execute Check for &
START
Instruction Instruction Process Int
HALT
5. If an interrupt is pending
– save current PC value
– set PC to start of dispatcher
Process interrupt
Processor signals
acknowledgment
of interrupt
Bus