1 Peripheral Component Interconnect (PCI). 2 PCI based System.

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Advanced Piloting Cruise Plot.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chapter 1 The Study of Body Function Image PowerPoint
Processes and Operating Systems
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLYING MONOMIALS TIMES POLYNOMIALS (DISTRIBUTIVE PROPERTY)
ADDING INTEGERS 1. POS. + POS. = POS. 2. NEG. + NEG. = NEG. 3. POS. + NEG. OR NEG. + POS. SUBTRACT TAKE SIGN OF BIGGER ABSOLUTE VALUE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
Addition Facts
So far Binary numbers Logic gates Digital circuits process data using gates – Half and full adder Data storage – Electronic memory – Magnetic memory –
ZMQS ZMQS
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
Homework Reading Machine Projects Labs
Copyright © 2007 Heathkit Company, Inc. All Rights Reserved PC Fundamentals Presentation 35 – Buses.
Figure 12–1 Basic computer block diagram.
Chapter 1: Introduction to Scaling Networks
1 Operating Systems Input/Output Management. 2 What is the I/O System A collection of devices that different sub- systems of a computer use to communicate.
I/O Systems.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
ABC Technology Project
Chapter 15 Integrated Services Digital Network ISDN Services History Subscriber Access Layers BISDN WCB/McGraw-Hill The McGraw-Hill Companies, Inc., 1998.
© S Haughton more than 3?
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
VOORBLAD.
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Squares and Square Root WALK. Solve each problem REVIEW:
COMP1214 Systems & Platforms: Operating Systems Concepts Dr. Yvonne Howard – Rikki Prince – 1.
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I NETWORK LAYER AND IP Derived From CCNA Network Fundamentals.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 1 Introduction to Networking.
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
1 First EMRAS II Technical Meeting IAEA Headquarters, Vienna, 19–23 January 2009.
Addition 1’s to 20.
25 seconds left…...
Test B, 100 Subtraction Facts
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
A SMALL TRUTH TO MAKE LIFE 100%
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
1  1998 Morgan Kaufmann Publishers Interfacing Processors and Peripherals.
How Cells Obtain Energy from Food
McGraw-Hill©The McGraw-Hill Companies, Inc., 2001 Chapter 16 Integrated Services Digital Network (ISDN)
4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are.
Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower than CPU.
Interrupts and Interrupts Handling
The PCI bus (Peripheral Component Interconnect ) is the most commonly used peripheral bus on desktops and bigger computers. higher-level bus architectures.
Presentation transcript:

1 Peripheral Component Interconnect (PCI)

2 PCI based System

3 PCI Address Space Peripheral devices have their own memory space PCI :PCI I/O, PCI Memory (device driver) PCI Configuration Space ( initialization) ISA I/O, ISA Memory (device driver)

4 PCI Configuration Header Allow system to identify and control the device Every PCI slot has its PCI Configuration Header in an offset that is related to its slot on the board

5 PCI Configuration Header

6 Vender Identification Device Identification Status Command Class Code –SCSI : 0x0100 Base Address Register Interrupt Pin (PCI device interrupt pin) Interrupt Line (route interrupt to proper handler)

7 PCI I/O and PCI Memory Address PCI configuration code turns on using Command field Linux drivers read/write PCI I/O and PCI memory addresses

8 PCI-ISA Bridges The PCI specification copes with this by reserving the lower regions of the PCI I/O and PCI Memory address spaces for use by the ISA peripherals in the system and using a single PCI-ISA bridge to translate any PCI memory accesses to those regions into ISA accesses

9 PCI-PCI Bridges PCI-PCI bridges only pass a subset of PCI I/O and PCI memory read and write requests downstream Linux device drivers only access PCI I/O and PCI Memory space via these windows

10 PCI-PCI Bridges: PCI I/O and PCI Memory Windows A cycle is just an address as it appears on the PCI bus Type 0 Configuration Cycle Bits 31:11 of the Type 0 configuration cycles are treated as the device select field

11 PCI-PCI Bridges: PCI I/O and PCI Memory Windows Type 1 PCI Configuration cycles contain a PCI bus number and this type of configuration cycle is ignored by all PCI devices except the PCI-PCI bridges

12 Type 1 PCI Configuration Cycles The primary bus interface being the one nearest the CPU Secondary bus interface being the one furthest away Subordinate bus number is the highest numbered PCI bus downstream of the PCI- PCI bridge

13 Type 1 PCI Configuration Cycles Ignore it if the bus number specified is not in between the bridge's secondary bus number and subordinate bus number (inclusive), Convert it to a Type 0 configuration command if the bus number specified matches the secondary bus number of the bridge, Pass it onto the secondary bus interface unchanged if the bus number specified is greater than the secondary bus number and less than or equal to the subordinate bus number.

14 Type 1 PCI Configuration Cycles Pass it onto the secondary bus interface unchanged if the bus number specified is greater than the secondary bus number and less than or equal to the subordinate bus number.

15 Linux PCI Initialization PCI device driver –This pseudo-device driver builds a linked list of data structures describing the topology of the system PCI BIOS PCI Fixup –system specific fixed up code

16 The Linux Kernel PCI Data Structures

17 The PCI Device Driver A function of the operating system called at system initialization time Scan all of the PCI buses in the system looking for all PCI devices in the system (including PCI-PCI bridge devices) Configuring PCI-PCI Bridges - Assigning PCI Bus Number

18 Assigning PCI Bus Number (1)

19 Assigning PCI Bus Number (2)

20 Assigning PCI Bus Number (3)

21 Assigning PCI Bus Number (4)

22 PCI Fixup For non-Intel based system –allocates it space in PCI I/O and/or PCI Memory –moves on the global PCI I/O and Memory bases by the appropriate amounts, – enables the device's use of PCI I/O and PCI Memory,

23