Multicore Boot Process

Size: px
Start display at page:

Download "Multicore Boot Process"

Transcription

1 November 5, 2008 Multicore Boot Process PN110 Jeff Zhu NMG Applications of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

2 Agenda Multicore operating system architecture: SMP vs. AMP Power-on reset sequence and default boot configuration e500 core boot options and features Configuration of resources: SMP vs AMP MPC8572DS SMP u-boot/linux boot process AMP u-boot/linux boot process Questions and answers of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

3 Multicore Operating System Architecture: SMP vs. AMP of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

4 SMP Concepts Symmetrical MultiProcessing An architecture that provides fast performance by making multiple CPUs available to complete individual processes simultaneously (multiprocessing) Any idle CPU can be assigned any task, and additional CPUs can be added to improve performance and handle increased loads SMP uses a single operating system and shares common memory, all the IO and interrupt resources Processes and threads are distributed among CPUs CPU I/O Single OS CPU Memory controller Two cores one OS of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

5 AMP Concepts Asymmetrical MultiProcessing Each CPU runs its own OS which may be same or different from each other. Each CPU can be assigned with specific application to run If Linux, two copies of uimage are needed, but located at different physical address spaces! OS 1 CPU OS 2 CPU Both CPUs must cooperate to share the resources Neither OS can own the whole system I/O and interrupts are separated Static configuration for resources If Linux, resources allocation can be done by two device trees (dts) I/O Memory controller Two cores two OS s of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

6 Power-on Reset Sequence And Default Boot Configuration of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

7 Power-On Reset Sequence HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs ASLEEP (High Impedance) READY 1 Multiplexed with TRIG_OUT. (High Impedance) of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

8 Power-On Reset Sequence (cont.) HRESET HRESET_REQ (high impedance) SYSCLK Minimum HRESET assertion time = 1us TRESET SRESET PLL Configs POR Configs ASLEEP (High Impedance) READY 1 Multiplexed with TRIG_OUT. (High Impedance) of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

9 Power-On Reset Sequence (cont.) HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs Minimum POR (High Impedance) ASLEEPconfigs input setup time = 4 sysclks before negation of HRESET. READY 1 (High Impedance) Multiplexed with TRIG_OUT. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

10 Power-On Reset Sequence (cont.) HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs Minimum POR (High Impedance) ASLEEPconfigs input hold time = 2 sysclks after negation of HRESET. READY 1 (High Impedance) Multiplexed with TRIG_OUT. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

11 Power-On Reset Sequence (cont.) HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs Maximum (High Impedance) ASLEEP POR configs valid-to-high impedance = 5 sysclks after negation of HRESET. READY 1 (High Impedance) Multiplexed with TRIG_OUT. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

12 Power-On Reset Sequence (cont.) HRESET HRESET_REQ (high impedance) SYSCLK TRESET SRESET PLL Configs POR Configs The POR config (High Impedance) ASLEEP states are latched in POR configuration value registers in the Global Utilities Register Block of the CCSR space. READY 1 (High Impedance) Multiplexed with TRIG_OUT. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

13 POR Configurations Signals may be pulled high or low by external resistors Some signals may have internal pull-ups Signals may be pulled low with 4.7K ohm resistors PLL configuration signals do not have internal pull-up resistors of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

14 Default Boot Configuration Physical boot ROM 8 MB address range 0x0_FF80_0000 to 0x_FFFF_FFFF located on the Local Bus GPCM 32-bit ROM Both cores are allowed to boot Boot sequencer is disabled Default core TLB maps 4 KB boot page Default LAWs map 8 MB boot space, 1 MB CCSRBAR and L2 SRAM of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

15 CCB clock PLL ratio e500 core PLL ratio, separate signals for each core DDR clock PLL ratio Boot sequencer CPU boot configuration Boot ROM location DDR SDRAM type RapidIO size and device ID etsecn mode, width Host/agent configuration I/O port selection SerDes configuration POR Config Considerations of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

16 e500 Core Boot Options and Features of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

17 Boot Page Translation Provides flexibility in where in system memory each e500 core can fetch its 4 KB boot page from Each core default boots from a 4 KB page at 0x0_FFFF_Fnnn Boot page translation allows the each core to be independently configured so its 4 KB boot page points to anywhere in the 36-bit memory map Can be configured by the boot sequencer prior to any core booting Boot Page Translation Register (BPTR) of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

18 Boot Page Translation (cont.) Core Core Fetch from default 4 KB boot page: 0x0_FFFF_Fnnn Platform YES Replace 0x0_FFFF_Fnnn With BPTR[BOOT_PAGE] = 0xAB_CDEF Is BPTR[EN]=1 NO Fetch 0x0_FFFF_Fnnn Fetch 0xA_BCDE_Fnnn of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

19 CPU Boot Configuration Provides the ability to control when and which cores are allowed to boot Boot holdoff mode will prevent a core from booting, e.g., the core will not be permitted to fetch the reset vector This feature can be used to allow external masters or a single core to configure the SOC to some desired state, then release the remaining cores from boot holdoff to boot in the already configured environment. CPU Boot Configuration of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

20 Boot ROM Location The default boot ROM is located off of the local bus 32bit GPCM. HW will configure any boot ROM location on the local bus. All others must be configured by the boot sequencer. Boot ROM Location of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

21 Boot Sequencer Boot sequencer is essentially a DMA engine that reads from one or more I 2 C serial EEPROM device to write data to CCSRBAR or ALTCBAR space. If enabled by POR config, all cores are held in reset until boot sequencer completes. Allows configuration of SOC and memory prior to booting the cores. The boot sequencer program stored in EEPROM must follow a defined data format. A boot sequencer failure will cause assertion of HRESET_REQ_ Boot Sequencer Configuration of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

22 Boot Sequencer Data Frame Format ACS = 0 Writes to CCSRBAR 1 MB window ACS = 1 Writes to ALTCBAR 1 MB window ADDR[0:17] specifies the address of the word size access into the 1 MB window BYTE_EN[0:3] specifies which byte(s) within a word to write DATA[0:31] contain the 32-bits of write data of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

23 CRC covers all bits stored in EEPROM prior to the CRC Preamble = 0xAA55AA CONT=0 indicates last frame. If CONT is cleared, the entire first 3 bytes must be cleared Boot Sequencer EEPROM Format of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

24 Alternate Configuration Space Allows boot sequencer access to the entire 36-bit memory map through a configurable 1 MB window. Boot sequencer can access the 1 MB CCSRBAR space to configure the ALTCAR registers, thus allowing the boot sequencer access to the entire memory map, 1 MB block at a time. Memory accessed via ALTBAR do not need LAWs. Alternate Configuration Base Address Register (ALTCBAR) Alternate Configuration Attribute Register (ALTCAR) of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

25 Configuration of Resources: SMP vs. AMP of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

26 Configuration of Resources: SMP In an SMP environment: All cores execute from one Linux image Care must be taken to not reinitialize shared resources that have already been configured LAWs, DDR, MPIC, L2, etsec, etc. MPC8572 SMP u-boot and Linux U-boot on core0 is responsible for: Initializing the memory map and DDR Linux on core0 is responsible for initializing all shared resources not already configured by U-boot and kicking off core1. MPIC, etsec, PCI/PEX drivers When core1 boots the same Linux image, it will enter Linux at a specific location initializing resources specific only to core1 such as caches and MMU, then enters an idle loop. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

27 Configuration of Resources: AMP In an AMP environment: All cores execute their own Linux image Care must be taken to not reinitialize shared resources that have already been configured LAWs, DDR, MPIC, L2, etsec, etc. AMP u-boot and Linux U-boot on core0 is responsible for: Initializing the memory map and DDR, then kicks off core1 Linux on core0 is responsible for initializing all assigned resources specified in core0 dts. MPIC interrupts, etsec, PCI/PEX drivers U-boot on core1 is responsible for initializing only core1 MMU, caches, etc. Linux on core1 is responsible for initializing all assigned resources specified in core1 dts. of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

28 MPC8572DS SMP u-boot/linux Boot Process of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

29 Power-on Reset SMP Boot Process: MPC8572 Alpha BSP Core0 comes out of reset at the reset vector 0xFFFF_FFFC and core1 is in hold off mode Core0 runs u-boot Core0 starts up the kernel After setting BPTR to secondary core s start page, core0 kicks off core1 Core1 is out of reset at secondary_start_page(boot page) NOTE: Only Linux kernel runs on core1 (U-boot is not aware of core1!) core0 0xFFFF_FFFC kick_cpu core1 Secondary_start_page U-BOOT KERNEL KERNEL of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

30 SMP Boot Process: U-boot Boot Process In the u-boot source, the entry point is the reset vector 0x0_FFFF_FFFC containing a simple branch to _start_e500, which is at the base of default boot page at 0x0_FFFF_F000. Both are found in cpu/mpc85xx/start.s. Reset vector call _start_e500() _start_e500() will: _start_e500() Jump to DDR Start command interpreter Prepare Linux device tree 1. Enable L1 caches 2. Config interrupt vectors 3. Config MMU and LAWs 4. Config L1D RAM 5. Config local bus 6. Config DDR 1. Copy device tree to DDR 2. Copy uimage to DDR 3. Copy Ramdisk to DDR (optionally) 4. Launch kernel of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

31 SMP Boot Process: Linux SMP Boot Process In the Linux kernel, the entry point is _start found in arch/powerpc/kernel/head_fsl_booke.s _start start _kernel() is in init/main.c, it will: _start_kernel()... setup_arch() call _start_kernel() mpc85xx_smp_init() { smp_ops = &smp_85xx_ops; } Kernel_init() smp_prepare_cpu() smp_ops->probe() in main.c smp_init() cpu_up() smp_cpus_done() smp_ops->kick_cpu() smp_ops->setup_cpu() of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

32 SMP Boot Process: Code Starting Point for Core 1 Core1 will start executing from boot page setting in BPTR When each e500 core comes out of reset, its MMU has one 4-KB boot page defined at 0x0_FFFF_Fnnn MPC8572 provides the boot page translation capability for the core that has different boot page address Boot Page Translation Register (BPTR) is enabled and set to the page of secondary_start_page by core0 before kicking off core1 Boot Page Translation Register (BPTR) of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

33 SMP Boot Process: Core1 Start Up (cont.) Let s look at smp_mpc85xx_kick_cpu() found in: arch/powerpc/platforms/85xx/mpc85xx_smp.c smp_mpc85xx_kick_cpu() {. } /* Get the BPTR */ bptr_vaddr = ioremap(get_immrbase() + MPC85xx_BPTR_OFFSET, 4); /* Set the BPTR to the secondary boot page */ oldbptr = in_be32(bptr_vaddr); bptr = (BPTR_EN ( pa((unsigned) secondary_start_page) >> 12)); out_be32(bptr_vaddr, bptr); /* Kick that CPU */ smp_85xx_release_core(nr); /* Wait a bit for the CPU to take the exception. */ while (( secondary_hold_acknowledge!= nr) && (++n < 1000)) mdelay(1); /* Restore the BPTR */ out_be32(bptr_vaddr, oldbptr); of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

34 SMP Boot Process: Core1 Kick-Off Process Core 0 kicks off core 1 by setting EEBPCR[CPU1_EN] Let s look at smp_85xx_release_core() in arch/powerpc/mpc85xx/mpc85xx_smp.c smp_85xx_release_core(int nr) { /* * Startup Core #nr. */ ecm_vaddr = ioremap(get_immrbase() + MPC85xx_ECM_OFFSET, MPC85xx_ECM_SIZE); pcr = in_be32(ecm_vaddr + (ECM_PORT_CONFIG_OFFSET >> 2)); pcr = EEBPCR_CPU1_EN; out_be32(ecm_vaddr + (ECM_PORT_CONFIG_OFFSET >> 2), pcr); } EEBPCR of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

35 SMP Boot Process: Core1 Kernel Code Flow Core1 starts up from secondary_start_page defined in arch/powerpc/kernel/head_fsl_booke.s secondary_start_page: 4K The code in this page must not exceed 1023 instruction. The1024th is a branch instruction. It will initialize I-Cache and D-Cache Use TLB1[1] to map 16M memory Jump to early_start early_start If it is core1, it will not call start_kernel(), but jump to secondary_start secondary_start jumps to start_secondary() start_secondary() defined in arch/powerpc/kernel/smp.c Call smp_ops->setup_cpu() Call cpu_idle() of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

36 MPC8572DS Alpha BSP Location Available at search keyword MPC8572DS Linux. Freescale Linux BSP for MPC8572DS U-Boot Linux Kernel: Linux RFS for Freescale MPC8572DS of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

37 AMP u-boot/linux Boot Process of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

38 AMP Linux Boot Process Core0 comes out of reset and core1 in hold off mode Core0 executes u-boot kick off core1 in u-boot Core0 starts up kernel with assigned resources specified in core0 device tree Core1 comes out of reset and executes u-boot Core1 starts up kernel with assigned resources specified in core1 device tree of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

39 MPC8572 AMP Implementation Development is on-going. Common parts with MPC8641D Core0 releases core1 in u-boot Core0 and core1 run its own kernel image Resources are not shared except for MPIC Only core0 will initialize MPIC Interrupts should be assigned to each core separately based on device tree Difference MPC8641D has low memory offset mode, MPC8572 doesn t MPC8572 can relocate exception vectors MPC8572 will use PHYSICAL_START to redirect core1 s kernel base MPC8572 can release core with new u-boot command cpu of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

40 Questions and Answers of Freescale Semiconductor, Inc. All other product or service names are the property of their respective owners. Freescale Semiconductor, Inc

41 Related Session Resources Session Location Online Literature Library Sessions Session ID Title Demos Pedestal ID Demo Title

42

QorIQ multicore communications platform software introduction Boot loader bring-up Linux bring-up Q&A

QorIQ multicore communications platform software introduction Boot loader bring-up Linux bring-up Q&A Aug. 2011 Freescale, the Freescale logo, AltiVec, C-5, CodeTEST, CodeWarrior, ColdFire, C-Ware, t he Energy Efficient Solutions logo, mobilegt, PowerQUICC, QorIQ, StarCore and Symphony are trademarks of

More information

P4080DS U-Boot and Linux

P4080DS U-Boot and Linux August, 2010 P4080DS U-Boot and Linux NET-F0683 Mark Cheng NMG, AP PowerPC Applications Engineering Session Introduction Board-bring up is a key activity for new silicon. Firmware and OS are the first

More information

P4080DS U-boot & Linux

P4080DS U-boot & Linux June 22, 2010 P4080DS U-boot & Linux FTF-NET-F0683 Srikanth Srinivasan & Ted Peters NMG Systems and Applications Engineering Reg. U.S. Pat. & Tm. Off. BeeKit, BeeStack, CoreNet, the Energy Efficient Solutions

More information

Booting from Serial RapidIO / PCI Express on PowerQUICC III and QorIQ P1xx/P2xx

Booting from Serial RapidIO / PCI Express on PowerQUICC III and QorIQ P1xx/P2xx Freescale Semiconductor Application Note Document Number: AN3646 Rev. 0, 10/2009 Booting from Serial RapidIO / PCI Express on PowerQUICC III and QorIQ P1xx/P2xx by Freescale Semiconductor, Inc. Austin,

More information

Performance Analysis on SMP and Non-SMP for Multicore Technology

Performance Analysis on SMP and Non-SMP for Multicore Technology June, 2010 Performance Analysis on SMP and Non-SMP for Multicore Technology FTF-ENT-F0697 TieFei Zang Principle Software Engineer Introduction Multicore in communication processor technology Dual cores

More information

Introduction to Pre-Boot Loader Supported by QorIQ Processors

Introduction to Pre-Boot Loader Supported by QorIQ Processors Introduction to Pre-Boot Loader Supported by QorIQ Processors FTF-NET-F0152 Zhongcai Zhou Application Engineer A P R. 2 0 1 4 TM External Use Introduction What does Pre-Boot Loader (PBL) do? Device configuration

More information

QorIQ P4080 Processor Pre-Boot Loader Image Tool

QorIQ P4080 Processor Pre-Boot Loader Image Tool June 23, 2010 QorIQ P4080 Processor Pre-Boot Loader Image Tool FTF-NET-F0402 Kelley Oswalt Applications Engineer Objective Introduce the PBL Image Tool and describe it s features and use in assisting the

More information

Simplifying the Development and Debug of 8572-Based SMP Embedded Systems. Wind River Workbench Development Tools

Simplifying the Development and Debug of 8572-Based SMP Embedded Systems. Wind River Workbench Development Tools Simplifying the Development and Debug of 8572-Based SMP Embedded Systems Wind River Workbench Development Tools Agenda Introducing multicore systems Debugging challenges of multicore systems Development

More information

EEM478-WEEK7 PART B Bootloader

EEM478-WEEK7 PART B Bootloader EEM478-WEEK7 PART B Bootloader Learning Objectives Need for a bootloader. What happens during a reset. Boot modes and processes. Memory map. Chapter 9, Slide 2 VCC EPROM What is the bootloader? VCC Boot

More information

On-Chip Debugging of Multicore Systems

On-Chip Debugging of Multicore Systems Nov 1, 2008 On-Chip Debugging of Multicore Systems PN115 Jeffrey Ho AP Technical Marketing, Networking Systems Division of Freescale Semiconductor, Inc. All other product or service names are the property

More information

FPQ6 - MPC8313E implementation

FPQ6 - MPC8313E implementation Formation MPC8313E implementation: This course covers PowerQUICC II Pro MPC8313 - Processeurs PowerPC: NXP Power CPUs FPQ6 - MPC8313E implementation This course covers PowerQUICC II Pro MPC8313 Objectives

More information

Performance Analysis with Hybrid Simulation

Performance Analysis with Hybrid Simulation 6 th November, 2008 Performance Analysis with Hybrid Simulation PN111 Matthew Liong System and Application Engineer, NMG owners. Freescale Semiconductor, Inc. 2008. r2 Overview Hybrid Modeling Overview

More information

Computer-System Organization (cont.)

Computer-System Organization (cont.) Computer-System Organization (cont.) Interrupt time line for a single process doing output. Interrupts are an important part of a computer architecture. Each computer design has its own interrupt mechanism,

More information

Virtual Memory. CS 3410 Computer System Organization & Programming

Virtual Memory. CS 3410 Computer System Organization & Programming Virtual Memory CS 3410 Computer System Organization & Programming These slides are the product of many rounds of teaching CS 3410 by Professors Weatherspoon, Bala, Bracy, and Sirer. Where are we now and

More information

SMP bring up on ARM SoCs

SMP bring up on ARM SoCs Embedded Linux Conference 2014 SMP bring up on ARM SoCs Gregory CLEMENT Bootlin gregory.clement@bootlin.com - Kernel, drivers and embedded Linux - Development, consulting, training and support - https://bootlin.com

More information

Memory Needs. Technology DDR/SRAM DDR/SRAM/Flash EEPROM/Flash HD/SSD/SD/Flash HD/SSD/SD/Flash

Memory Needs. Technology DDR/SRAM DDR/SRAM/Flash EEPROM/Flash HD/SSD/SD/Flash HD/SSD/SD/Flash Memory Systems Memory Needs Function Description Volatility Size Speed Access Portable Data Temp data/operand store for programs V Direct N Instructions Opcode storage for executing programs V/NV Direct

More information

Design Migration from the PowerQUICC II Family to the PowerQUICC II Pro Family

Design Migration from the PowerQUICC II Family to the PowerQUICC II Pro Family Freescale Semiconductor Application Note Document Number: AN2915 Rev. 1, 3/2006 Design Migration from the PowerQUICC II Family to the PowerQUICC II Pro Family By Christian Hammond and Jean-Philippe Giraud

More information

This is the Memory Map section of the MIPS software training course.

This is the Memory Map section of the MIPS software training course. This is the Memory Map section of the MIPS software training course. 1 The CPU cold boots in Kernel Mode and is in Kernel mode when exception processing starts. In kernel mode everything is allowed, all

More information

Simulation Based Analysis and Debug of Heterogeneous Platforms

Simulation Based Analysis and Debug of Heterogeneous Platforms Simulation Based Analysis and Debug of Heterogeneous Platforms Design Automation Conference, Session 60 4 June 2014 Simon Davidmann, Imperas Page 1 Agenda Programming on heterogeneous platforms Hardware-based

More information

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu The Early System Start-Up Process Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu 1 Boot Process Booting is the initialization of a computerized system In Linux,

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 System I/O System I/O (Chap 13) Central

More information

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II

ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Memory Organization Part II ELEC 5200/6200 Computer Architecture and Design Spring 2017 Lecture 7: Organization Part II Ujjwal Guin, Assistant Professor Department of Electrical and Computer Engineering Auburn University, Auburn,

More information

Keystone ROM Boot Loader (RBL)

Keystone ROM Boot Loader (RBL) Keystone Bootloader Keystone ROM Boot Loader (RBL) RBL is a code used for the device startup. RBL also transfers application code from memory or host to high speed internal memory or DDR3 RBL code is burned

More information

KVM on Embedded Power Architecture Platforms

KVM on Embedded Power Architecture Platforms KVM on Embedded Power Architecture Platforms Stuart Yoder Software Architect, Freescale Semiconductor Agenda Background Freescale / Networking Embedded Systems Use Cases KVM on Embedded Power New requirements

More information

KeyStone Training. Bootloader

KeyStone Training. Bootloader KeyStone Training Bootloader Overview Configuration Device Startup Summary Agenda Overview Configuration Device Startup Summary Boot Overview Boot Mode Details Boot is driven on a device reset. Initial

More information

CS 333 Introduction to Operating Systems. Class 11 Virtual Memory (1) Jonathan Walpole Computer Science Portland State University

CS 333 Introduction to Operating Systems. Class 11 Virtual Memory (1) Jonathan Walpole Computer Science Portland State University CS 333 Introduction to Operating Systems Class 11 Virtual Memory (1) Jonathan Walpole Computer Science Portland State University Virtual addresses Virtual memory addresses (what the process uses) Page

More information

Virtual Memory Nov 9, 2009"

Virtual Memory Nov 9, 2009 Virtual Memory Nov 9, 2009" Administrivia" 2! 3! Motivations for Virtual Memory" Motivation #1: DRAM a Cache for Disk" SRAM" DRAM" Disk" 4! Levels in Memory Hierarchy" cache! virtual memory! CPU" regs"

More information

CodeWarrior U-Boot Debugging

CodeWarrior U-Boot Debugging Freescale Semiconductor Application Note Document Number: AN4876 CodeWarrior U-Boot Debugging 1. Introduction This document describes the steps required for U-Boot debugging using the CodeWarrior IDE.

More information

6 - Main Memory EECE 315 (101) ECE UBC 2013 W2

6 - Main Memory EECE 315 (101) ECE UBC 2013 W2 6 - Main Memory EECE 315 (101) ECE UBC 2013 W2 Acknowledgement: This set of slides is partly based on the PPTs provided by the Wiley s companion website (including textbook images, when not explicitly

More information

This training session will cover the Translation Look aside Buffer or TLB

This training session will cover the Translation Look aside Buffer or TLB This training session will cover the Translation Look aside Buffer or TLB I will cover: What It is How to initialize it And How TLB exceptions are handled 1 First let me explain what we are dealing with:

More information

virtual memory Page 1 CSE 361S Disk Disk

virtual memory Page 1 CSE 361S Disk Disk CSE 36S Motivations for Use DRAM a for the Address space of a process can exceed physical memory size Sum of address spaces of multiple processes can exceed physical memory Simplify Management 2 Multiple

More information

Operating System Review

Operating System Review COP 4225 Advanced Unix Programming Operating System Review Chi Zhang czhang@cs.fiu.edu 1 About the Course Prerequisite: COP 4610 Concepts and Principles Programming System Calls Advanced Topics Internals,

More information

Product Technical Brief S3C2416 May 2008

Product Technical Brief S3C2416 May 2008 Product Technical Brief S3C2416 May 2008 Overview SAMSUNG's S3C2416 is a 32/16-bit RISC cost-effective, low power, high performance micro-processor solution for general applications including the GPS Navigation

More information

Module 1: Introduction

Module 1: Introduction Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real -Time

More information

Virtual to physical address translation

Virtual to physical address translation Virtual to physical address translation Virtual memory with paging Page table per process Page table entry includes present bit frame number modify bit flags for protection and sharing. Page tables can

More information

CS 261 Fall Mike Lam, Professor. Virtual Memory

CS 261 Fall Mike Lam, Professor. Virtual Memory CS 261 Fall 2016 Mike Lam, Professor Virtual Memory Topics Operating systems Address spaces Virtual memory Address translation Memory allocation Lingering questions What happens when you call malloc()?

More information

Chapter 8: Memory Management. Operating System Concepts with Java 8 th Edition

Chapter 8: Memory Management. Operating System Concepts with Java 8 th Edition Chapter 8: Memory Management 8.1 Silberschatz, Galvin and Gagne 2009 Background Program must be brought (from disk) into memory and placed within a process for it to be run Main memory and registers are

More information

Anne Bracy CS 3410 Computer Science Cornell University

Anne Bracy CS 3410 Computer Science Cornell University Anne Bracy CS 3410 Computer Science Cornell University The slides were originally created by Deniz ALTINBUKEN. P&H Chapter 4.9, pages 445 452, appendix A.7 Manages all of the software and hardware on the

More information

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006

Product Technical Brief S3C2413 Rev 2.2, Apr. 2006 Product Technical Brief Rev 2.2, Apr. 2006 Overview SAMSUNG's is a Derivative product of S3C2410A. is designed to provide hand-held devices and general applications with cost-effective, low-power, and

More information

KeyStone II. CorePac Overview

KeyStone II. CorePac Overview KeyStone II ARM Cortex A15 CorePac Overview ARM A15 CorePac in KeyStone II Standard ARM Cortex A15 MPCore processor Cortex A15 MPCore version r2p2 Quad core, dual core, and single core variants 4096kB

More information

Memory Technology. Caches 1. Static RAM (SRAM) Dynamic RAM (DRAM) Magnetic disk. Ideal memory. 0.5ns 2.5ns, $2000 $5000 per GB

Memory Technology. Caches 1. Static RAM (SRAM) Dynamic RAM (DRAM) Magnetic disk. Ideal memory. 0.5ns 2.5ns, $2000 $5000 per GB Memory Technology Caches 1 Static RAM (SRAM) 0.5ns 2.5ns, $2000 $5000 per GB Dynamic RAM (DRAM) 50ns 70ns, $20 $75 per GB Magnetic disk 5ms 20ms, $0.20 $2 per GB Ideal memory Average access time similar

More information

MPC8568E MDS Processor Board

MPC8568E MDS Processor Board HW Getting Started Guide MPC8568E MDS Processor Board Jun 2007: Rev. 0.5 Contents Contents......................................................................................... 1 About This Document..............................................................................

More information

Virtual Memory. CS 3410 Computer System Organization & Programming. [K. Bala, A. Bracy, E. Sirer, and H. Weatherspoon]

Virtual Memory. CS 3410 Computer System Organization & Programming. [K. Bala, A. Bracy, E. Sirer, and H. Weatherspoon] Virtual Memory CS 3410 Computer System Organization & Programming [K. Bala, A. Bracy, E. Sirer, and H. Weatherspoon] Click any letter let me know you re here today. Instead of a DJ Clicker Question today,

More information

QorIQ P4080 Software Development Kit

QorIQ P4080 Software Development Kit July 2009 QorIQ P4080 Software Development Kit Kelly Johnson Applications Engineering service names are the property of their respective owners. Freescale Semiconductor, Inc. 2009. QorIQ P4080 Software

More information

CS 153 Design of Operating Systems Winter 2016

CS 153 Design of Operating Systems Winter 2016 CS 153 Design of Operating Systems Winter 2016 Lecture 16: Memory Management and Paging Announcement Homework 2 is out To be posted on ilearn today Due in a week (the end of Feb 19 th ). 2 Recap: Fixed

More information

SHANDONG UNIVERSITY 1

SHANDONG UNIVERSITY 1 Chapter 8 Main Memory SHANDONG UNIVERSITY 1 Contents Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The Intel Pentium SHANDONG UNIVERSITY 2 Objectives

More information

Hands-on Workshop: Driving Displays Part 4 - The Latest ColdFire MCU, the MCF5227x

Hands-on Workshop: Driving Displays Part 4 - The Latest ColdFire MCU, the MCF5227x November 2008 Hands-on Workshop: Driving Displays Part 4 - The Latest ColdFire MCU, the MCF5227x PZ111 Shen Li Application Engineer owners. Freescale Semiconductor, Inc. 2008. Agenda MCF5227x Intro MCF5227x

More information

Chapter 7: Main Memory. Operating System Concepts Essentials 8 th Edition

Chapter 7: Main Memory. Operating System Concepts Essentials 8 th Edition Chapter 7: Main Memory Operating System Concepts Essentials 8 th Edition Silberschatz, Galvin and Gagne 2011 Chapter 7: Memory Management Background Swapping Contiguous Memory Allocation Paging Structure

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 2 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 2 What is an Operating System? What is

More information

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2

Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2 Freescale Semiconductor Addendum Document Number: MPC8569ERMAD Rev. 2.1, 12/2011 Errata to MPC8569E PowerQUICC III Integrated Processor Reference Manual, Rev. 2 This errata describes corrections to the

More information

Chapter 8: Memory- Management Strategies. Operating System Concepts 9 th Edition

Chapter 8: Memory- Management Strategies. Operating System Concepts 9 th Edition Chapter 8: Memory- Management Strategies Operating System Concepts 9 th Edition Silberschatz, Galvin and Gagne 2013 Chapter 8: Memory Management Strategies Background Swapping Contiguous Memory Allocation

More information

CS307 Operating Systems Main Memory

CS307 Operating Systems Main Memory CS307 Main Memory Fan Wu Department of Computer Science and Engineering Shanghai Jiao Tong University Spring 2018 Background Program must be brought (from disk) into memory and placed within a process

More information

Virtual Memory Oct. 29, 2002

Virtual Memory Oct. 29, 2002 5-23 The course that gives CMU its Zip! Virtual Memory Oct. 29, 22 Topics Motivations for VM Address translation Accelerating translation with TLBs class9.ppt Motivations for Virtual Memory Use Physical

More information

Operating System: an Overview. Lucia Dwi Krisnawati, MA

Operating System: an Overview. Lucia Dwi Krisnawati, MA Operating System: an Overview Lucia Dwi Krisnawati, MA What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals:

More information

@2010 Badri Computer Architecture Assembly II. Virtual Memory. Topics (Chapter 9) Motivations for VM Address translation

@2010 Badri Computer Architecture Assembly II. Virtual Memory. Topics (Chapter 9) Motivations for VM Address translation Virtual Memory Topics (Chapter 9) Motivations for VM Address translation 1 Motivations for Virtual Memory Use Physical DRAM as a Cache for the Disk Address space of a process can exceed physical memory

More information

Reducing Hit Times. Critical Influence on cycle-time or CPI. small is always faster and can be put on chip

Reducing Hit Times. Critical Influence on cycle-time or CPI. small is always faster and can be put on chip Reducing Hit Times Critical Influence on cycle-time or CPI Keep L1 small and simple small is always faster and can be put on chip interesting compromise is to keep the tags on chip and the block data off

More information

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006

Product Technical Brief S3C2412 Rev 2.2, Apr. 2006 Product Technical Brief S3C2412 Rev 2.2, Apr. 2006 Overview SAMSUNG's S3C2412 is a Derivative product of S3C2410A. S3C2412 is designed to provide hand-held devices and general applications with cost-effective,

More information

System Impact of Distributed Multicore Systems December 5th 2012

System Impact of Distributed Multicore Systems December 5th 2012 System Impact of Distributed Multicore Systems December 5th 2012 Software Systems Division & Data Systems Division Final Presentation Days Mathieu Patte (Astrium Satellites) Alfons Crespo (UPV) Outline

More information

8.1 Background. Part Four - Memory Management. Chapter 8: Memory-Management Management Strategies. Chapter 8: Memory Management

8.1 Background. Part Four - Memory Management. Chapter 8: Memory-Management Management Strategies. Chapter 8: Memory Management Part Four - Memory Management 8.1 Background Chapter 8: Memory-Management Management Strategies Program must be brought into memory and placed within a process for it to be run Input queue collection of

More information

Chapter 8: Main Memory

Chapter 8: Main Memory Chapter 8: Main Memory Chapter 8: Memory Management Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The Intel Pentium 8.2 Silberschatz, Galvin

More information

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int

What Operating Systems Do An operating system is a program hardware that manages the computer provides a basis for application programs acts as an int Operating Systems Lecture 1 Introduction Agenda: What Operating Systems Do Computer System Components How to view the Operating System Computer-System Operation Interrupt Operation I/O Structure DMA Structure

More information

MEMORY MANAGEMENT/1 CS 409, FALL 2013

MEMORY MANAGEMENT/1 CS 409, FALL 2013 MEMORY MANAGEMENT Requirements: Relocation (to different memory areas) Protection (run time, usually implemented together with relocation) Sharing (and also protection) Logical organization Physical organization

More information

ECE 341. Lecture # 18

ECE 341. Lecture # 18 ECE 341 Lecture # 18 Instructor: Zeshan Chishti zeshan@ece.pdx.edu December 1, 2014 Portland State University Lecture Topics The Memory System Cache Memories Performance Considerations Hit Ratios and Miss

More information

Virtual Memory. Motivations for VM Address translation Accelerating translation with TLBs

Virtual Memory. Motivations for VM Address translation Accelerating translation with TLBs Virtual Memory Today Motivations for VM Address translation Accelerating translation with TLBs Fabián Chris E. Bustamante, Riesbeck, Fall Spring 2007 2007 A system with physical memory only Addresses generated

More information

Parallel Simulation Accelerates Embedded Software Development, Debug and Test

Parallel Simulation Accelerates Embedded Software Development, Debug and Test Parallel Simulation Accelerates Embedded Software Development, Debug and Test Larry Lapides Imperas Software Ltd. larryl@imperas.com Page 1 Modern SoCs Have Many Concurrent Processing Elements SMP cores

More information

Computer Science 146. Computer Architecture

Computer Science 146. Computer Architecture Computer Architecture Spring 2004 Harvard University Instructor: Prof. dbrooks@eecs.harvard.edu Lecture 18: Virtual Memory Lecture Outline Review of Main Memory Virtual Memory Simple Interleaving Cycle

More information

Anne Bracy CS 3410 Computer Science Cornell University

Anne Bracy CS 3410 Computer Science Cornell University Anne Bracy CS 3410 Computer Science Cornell University The slides were originally created by Deniz ALTINBUKEN. P&H Chapter 4.9, pages 445 452, appendix A.7 Manages all of the software and hardware on the

More information

CS 5523 Operating Systems: Memory Management (SGG-8)

CS 5523 Operating Systems: Memory Management (SGG-8) CS 5523 Operating Systems: Memory Management (SGG-8) Instructor: Dr Tongping Liu Thank Dr Dakai Zhu, Dr Palden Lama, and Dr Tim Richards (UMASS) for providing their slides Outline Simple memory management:

More information

Designing with NXP i.mx8m SoC

Designing with NXP i.mx8m SoC Designing with NXP i.mx8m SoC Course Description Designing with NXP i.mx8m SoC is a 3 days deep dive training to the latest NXP application processor family. The first part of the course starts by overviewing

More information

CS252 S05. Main memory management. Memory hardware. The scale of things. Memory hardware (cont.) Bottleneck

CS252 S05. Main memory management. Memory hardware. The scale of things. Memory hardware (cont.) Bottleneck Main memory management CMSC 411 Computer Systems Architecture Lecture 16 Memory Hierarchy 3 (Main Memory & Memory) Questions: How big should main memory be? How to handle reads and writes? How to find

More information

ELE 758 * DIGITAL SYSTEMS ENGINEERING * MIDTERM TEST * Circle the memory type based on electrically re-chargeable elements

ELE 758 * DIGITAL SYSTEMS ENGINEERING * MIDTERM TEST * Circle the memory type based on electrically re-chargeable elements ELE 758 * DIGITAL SYSTEMS ENGINEERING * MIDTERM TEST * Student name: Date: Example 1 Section: Memory hierarchy (SRAM, DRAM) Question # 1.1 Circle the memory type based on electrically re-chargeable elements

More information

Address Translation. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Address Translation. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University Address Translation Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics How to reduce the size of page tables? How to reduce the time for

More information

Spring 2017 :: CSE 506. Device Programming. Nima Honarmand

Spring 2017 :: CSE 506. Device Programming. Nima Honarmand Device Programming Nima Honarmand read/write interrupt read/write Spring 2017 :: CSE 506 Device Interface (Logical View) Device Interface Components: Device registers Device Memory DMA buffers Interrupt

More information

Memory Management. Dr. Yingwu Zhu

Memory Management. Dr. Yingwu Zhu Memory Management Dr. Yingwu Zhu Big picture Main memory is a resource A process/thread is being executing, the instructions & data must be in memory Assumption: Main memory is super big to hold a program

More information

Age nda. Intel PXA27x Processor Family: An Applications Processor for Phone and PDA applications

Age nda. Intel PXA27x Processor Family: An Applications Processor for Phone and PDA applications Intel PXA27x Processor Family: An Applications Processor for Phone and PDA applications N.C. Paver PhD Architect Intel Corporation Hot Chips 16 August 2004 Age nda Overview of the Intel PXA27X processor

More information

TAG Word 0 Word 1 Word 2 Word 3 0x0A0 D2 55 C7 C8 0x0A0 FC FA AC C7 0x0A0 A5 A6 FF 00

TAG Word 0 Word 1 Word 2 Word 3 0x0A0 D2 55 C7 C8 0x0A0 FC FA AC C7 0x0A0 A5 A6 FF 00 ELE 758 Final Examination 2000: Answers and solutions Number of hits = 15 Miss rate = 25 % Miss rate = [5 (misses) / 20 (total memory references)]* 100% = 25% Show the final content of cache using the

More information

Virtual Memory. P & H Chapter 5.4 (up to TLBs) Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University

Virtual Memory. P & H Chapter 5.4 (up to TLBs) Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University Virtual Memory P & H Chapter 5.4 (up to TLBs) Hakim Weatherspoon CS 3410, Spring 2013 Computer Science Cornell University Big Picture: (Virtual) Memory 0xfffffffc top system reserved 0x80000000 0x7ffffffc

More information

Memory management. Last modified: Adaptation of Silberschatz, Galvin, Gagne slides for the textbook Applied Operating Systems Concepts

Memory management. Last modified: Adaptation of Silberschatz, Galvin, Gagne slides for the textbook Applied Operating Systems Concepts Memory management Last modified: 26.04.2016 1 Contents Background Logical and physical address spaces; address binding Overlaying, swapping Contiguous Memory Allocation Segmentation Paging Structure of

More information

Virtual Memory (VM) Ch Copyright Teemu Kerola Teemu s Cheesecake

Virtual Memory (VM) Ch Copyright Teemu Kerola Teemu s Cheesecake Virtual Memory (VM) Ch 8.3 Memory Management Address Translation Paging Hardware Support VM and Cache 1 Teemu s Cheesecake hand table Register, on-chip cache, memory, disk, and tape speeds relative to

More information

SE-292 High Performance Computing. Memory Hierarchy. R. Govindarajan

SE-292 High Performance Computing. Memory Hierarchy. R. Govindarajan SE-292 High Performance Computing Memory Hierarchy R. Govindarajan govind@serc Reality Check Question 1: Are real caches built to work on virtual addresses or physical addresses? Question 2: What about

More information

Motivations for Virtual Memory Virtual Memory Oct. 29, Why VM Works? Motivation #1: DRAM a Cache for Disk

Motivations for Virtual Memory Virtual Memory Oct. 29, Why VM Works? Motivation #1: DRAM a Cache for Disk class8.ppt 5-23 The course that gives CMU its Zip! Virtual Oct. 29, 22 Topics Motivations for VM Address translation Accelerating translation with TLBs Motivations for Virtual Use Physical DRAM as a Cache

More information

CS 3733 Operating Systems:

CS 3733 Operating Systems: CS 3733 Operating Systems: Topics: Memory Management (SGG, Chapter 08) Instructor: Dr Dakai Zhu Department of Computer Science @ UTSA 1 Reminders Assignment 2: extended to Monday (March 5th) midnight:

More information

Memory Management. Contents: Memory Management. How to generate code? Background

Memory Management. Contents: Memory Management. How to generate code? Background TDIU11 Operating systems Contents: Memory Management Memory Management [SGG7/8/9] Chapter 8 Background Relocation Dynamic loading and linking Swapping Contiguous Allocation Paging Segmentation Copyright

More information

Chapter 5B. Large and Fast: Exploiting Memory Hierarchy

Chapter 5B. Large and Fast: Exploiting Memory Hierarchy Chapter 5B Large and Fast: Exploiting Memory Hierarchy One Transistor Dynamic RAM 1-T DRAM Cell word access transistor V REF TiN top electrode (V REF ) Ta 2 O 5 dielectric bit Storage capacitor (FET gate,

More information

Multilevel Memories. Joel Emer Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology

Multilevel Memories. Joel Emer Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology 1 Multilevel Memories Computer Science and Artificial Intelligence Laboratory Massachusetts Institute of Technology Based on the material prepared by Krste Asanovic and Arvind CPU-Memory Bottleneck 6.823

More information

Virtual Memory. Patterson & Hennessey Chapter 5 ELEC 5200/6200 1

Virtual Memory. Patterson & Hennessey Chapter 5 ELEC 5200/6200 1 Virtual Memory Patterson & Hennessey Chapter 5 ELEC 5200/6200 1 Virtual Memory Use main memory as a cache for secondary (disk) storage Managed jointly by CPU hardware and the operating system (OS) Programs

More information

Background. Contiguous Memory Allocation

Background. Contiguous Memory Allocation Operating System Lecture 8 2017.5.9 Chapter 8 (Main Memory) Background Swapping Contiguous Memory Allocation Segmentation - Paging Memory Management Selection of a memory-management method for a specific

More information

Part Three - Memory Management. Chapter 8: Memory-Management Strategies

Part Three - Memory Management. Chapter 8: Memory-Management Strategies Part Three - Memory Management Chapter 8: Memory-Management Strategies Chapter 8: Memory-Management Strategies 8.1 Background 8.2 Swapping 8.3 Contiguous Memory Allocation 8.4 Segmentation 8.5 Paging 8.6

More information

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory Q.1 Explain Memory Data Storage in storage device like CD, HDD, DVD, Pen drive etc, is called memory. The device which storage data is called storage device. E.g. hard disk, floppy etc. There are two types

More information

Alexandria University

Alexandria University Alexandria University Faculty of Engineering Division of Communications & Electronics CC322 Computer Architecture Sheet 3 1. A cache has the following parameters: b, block size given in numbers of words;

More information

CSE 120 Principles of Operating Systems

CSE 120 Principles of Operating Systems CSE 120 Principles of Operating Systems Spring 2018 Lecture 10: Paging Geoffrey M. Voelker Lecture Overview Today we ll cover more paging mechanisms: Optimizations Managing page tables (space) Efficient

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real -Time Systems Handheld Systems Computing Environments

More information

Computer Memory. Textbook: Chapter 1

Computer Memory. Textbook: Chapter 1 Computer Memory Textbook: Chapter 1 ARM Cortex-M4 User Guide (Section 2.2 Memory Model) STM32F4xx Technical Reference Manual: Chapter 2 Memory and Bus Architecture Chapter 3 Flash Memory Chapter 36 Flexible

More information

Chapter 8: Memory-Management Strategies

Chapter 8: Memory-Management Strategies Chapter 8: Memory-Management Strategies Chapter 8: Memory Management Strategies Background Swapping Contiguous Memory Allocation Segmentation Paging Structure of the Page Table Example: The Intel 32 and

More information

CS307: Operating Systems

CS307: Operating Systems CS307: Operating Systems Chentao Wu 吴晨涛 Associate Professor Dept. of Computer Science and Engineering Shanghai Jiao Tong University SEIEE Building 3-513 wuct@cs.sjtu.edu.cn Download Lectures ftp://public.sjtu.edu.cn

More information

Lecture 8 Memory Management Strategies (chapter 8)

Lecture 8 Memory Management Strategies (chapter 8) Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 8 Memory Management Strategies (chapter 8) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The

More information

AN147 An Overview of the PowerQUICC III MPC8572

AN147 An Overview of the PowerQUICC III MPC8572 July, 2009 AN147 An Overview of the PowerQUICC III MPC8572 Toby Foster Product Marketing service names are the property of their respective owners. Freescale Semiconductor, Inc. 2009. Agenda Positioning

More information

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction Operating Systems Fundamentals Overview of Operating Systems Ahmed Tawfik Modern Operating Systems are increasingly complex Operating System Millions of Lines of Code DOS 0.015 Windows 95 11 Windows 98

More information

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System? Introduction CSCI 315 Operating Systems Design Department of Computer Science What is an Operating System? A Modern Computer System Computer System Components Disks... Mouse Keyboard Printer 1. Hardware

More information

Understanding Vybrid Architecture

Understanding Vybrid Architecture Freescale Semiconductor, Inc. Application Note Document Number: AN4947 Rev. 0, 07/2014 Understanding Vybrid Architecture by Jiri Kotzian and Rastislav Pavlanin Vybrid controller solutions are built on

More information