SOFTWARE ARCHITECT MICROSOFT CORPORATION BLOGS.MSDN.COM/MIKEHALL

Size: px
Start display at page:

Download "SOFTWARE ARCHITECT MICROSOFT CORPORATION BLOGS.MSDN.COM/MIKEHALL"

Transcription

1 MIKE HALL SOFTWARE ARCHITECT MICROSOFT CORPORATION BLOGS.MSDN.COM/MIKEHALL

2 Windows CE Backgrounder Windows Embedded CE Architecture Real-Time Architecture Tools and Application Development Q&A

3 CONFIGURE AND O/S IMAGE, AND BUILD WE WILL COME BACK TO THE BUILD PROCESS LATER IN THE SESSION.

4 Alder Windows CE /1996 Cedar Windows CE 3.0 4/2000 Macallan Windows CE 5.0 8/2004 Tomatin NMD FP CE 6.0 R2 SP Birch Windows CE /1997 SP Jameson 4.1 Talisker Windows CE.NET 4.0 1/2002 McKendric 4.2 Yamazaki Windows CE 6 H2/2006

5 Windows Embedded CE 6.0 is NOT Windows Mobile 6.0 (based on CE 5.0) Windows Embedded CE 6.0 is 32-bit, real-time, multitasking OS Highly componentized (~ 700 components in CE 6.0) Delivered as a granular set of components Use CE 6.0 Platform Builder tools to configure image Scalable Footprint scales with functionality selected Wide variety of CPU support Runs on x86, ARM, MIPS and SH4

6 Kernel Large Memory Area Used for Memory Mapped Files Process Limited to 64M Address Space Reserved Process` Active Process Application Space

7 2 GB Kernel Space Kernel Large Memory Area Single 2 GB VM for all Processes Slot 32 Slot 31 : : Slot 7 Slot 6 Slot 5 Slot 4 Slot 3 Slot 2 Slot 1 ROM DLLs Slot 0 Execution 31 Slots for Processes Execution Slot

8 2 GB Kernel Space Kernel Filesystem GWES Drivers 2 GB per Process Process Code User VM 32 K Process

9 2 GB of Virtual Memory per process 32K processes 64K Global Handle Table Unified Kernel Critical OS components moved into kernel space Improved system performance Increased security and robustness High degree of application compatibility

10 User Space 2 Gigabytes Each process has its own mapping 0x x Shared System Heap 255 MB RAM Backed Mapfiles 256 MB Shared User DLLs 512 MB Used for OS / App communication RAM Backed Mapfiles All DLLs code and data Process space 1 GB per process Executable code and data VM Allocation 0x Page 10

11 Shell Services Manager Services UM Driver Manager User Mode Drivers Applications Applications User Mode OS DLLs (Coredll, Winsock, CommCtrl, ) Kernel.DLL NK.EXE Bootloader KCoredll.DLL FileSys.DLL GWES.DLL Hardware Device.DLL Kernel Drivers Kernel Mode Page 11

12 Two driver types supported Kernel Mode for performance User Mode for robustness Minimal effort to port existing CE 5.0 drivers 1-3 Days effort per driver The overall structure of drivers remains the same Main changes are in how the drivers access client memory No SetKMode or SetProcPermissions CEAppCompat tool to check existing driver/applications

13 Respond time test using the following configuration Samsung SMDK2410 development board 200 mhz ARM with 16x16 cache Windows CE 5.0 with full UI Running a WMV video Windows CE Real-Time Test Results ISR starts IST starts Minimum 1.2 µs 31.7 µs Average 3.3 µs 67.2 µs Maximum 13.3 µs µs Time in microseconds (µs)

14 ILTiming & OS Bench ILTiming Software-based real-time measurement tool Measures both ISR and IST latencies ISR latency From IRQ to ISR IST latency From the end of the ISR to the start of the IST Enabled for all sample platforms Varying system loads OSBench Scheduler performance-timing tests Enables you to determine how long it takes to perform a basic kernel tasks such as Acquire or release a critical section Wait or signal an event Create a semaphore or mutex Yield a thread Call system APIs

15 Windows CE 6.0 has 256 levels of priority Level 0 is the highest and 255 is the lowest The old CE model (< CE 3.0) of 8 levels now map to the lowest 8 of the new model The default thread priority is 252 SetThreadPriority = 251 Levels 0 through 248 can be reserved by OEM Levels Description 0 through 96 Real-time above drivers 97 through 152 Default used by CE device drivers 153 through 247 Real-time below drivers 248 through 255 Non-real-time priorities

16 IST Latency IST Thread ISR 1 ISR N ISR Latency ISR ID OAL ISR All Higher Enabled Set Event All Except ID All Kernel HW

17 IST IST ISR 1 ISR N ISR I D OAL // Create the Event gintevent = CreateEvent( NULL, // Security FALSE, // Manual reset FALSE, // Init as not signaled NULL // No Named Events ); // Create a thread that waits for signaling gthreadint = CreateThread( NULL, // Security 0, // Default ThreadInt,// Interrupt Thread NULL, // No Parameters CREATE_SUSPENDED,// Suspended &dwthreadid // Thread Id); // Initilialize the Interrupt gsysinterruptnum = KernelIoControl( IOCTL_HAL_TRANSLATE_IRQ, &girqnum, sizeof(dword), &gsysintnum, sizeof(dword), NULL ); ISR All Higher Enabled Set Event All Except ID All Kernel HW InterruptInitialize( gsysintnum, // From Map gintevent, // Global Event NULL, // Not Used (DWORD)NULL // Not Used ) ) // Get the thread going ResumeThread( gthreadint );

18 IST IST ISR 1 ISR N ISR I D OAL DWORD WINAPI ThreadInt( LPVOID lpvparam ) { // The magic thread waits for the event. while( grun ) { // Wait until we have been signaled interrupt WaitForSingleObject( gintevent, INFINITE ); ISR All Higher Enabled Set Event All Except ID All Kernel HW // Increment the counter ginterruptcount ++; // Run your logic here } // Reset the interrupt InterruptDone( gsysintnum ); } return 0;

19 Shows interaction between processes, threads, and interrupts Track interrupts TLB misses Priority inversion Thread state such as running, blocked, sleeping, and migrating

20 Remote Tools: Call Profiler, Performance Monitor, Registry Editor, CeDebugX Zoomin, Remote Kernel Tracker App Dev VS 2005/2008 O/S Dev VS PB Configure Build Download Debug (source) Test (CETK) Applications

21 DEPLOY AND DEBUG KERNEL SOURCE

22 Used in a range of interesting devices PND, Industrial Pig Slicers, IA, Robots, Portable Ultrasound, more Small footprint, real time, embedded operating system Multiple processor architectures supported Choice of development languages/frameworks Great Tools! Labs and Sessions at ESC Silicon Valley More information available at:

23 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

VIGNESH DORAISWAMY PRINCIPAL CONSULTANT AXIOM ETC

VIGNESH DORAISWAMY PRINCIPAL CONSULTANT AXIOM ETC VIGNESH DORAISWAMY PRINCIPAL CONSULTANT AXIOM ETC VIGNESH@AXIOMETC.COM Public Workshops Team Mentoring Windows Embedded Training & Consulting Corporate Training Project Consulting Building an embedded

More information

Rudi Swiontek Dipl. Inf. MCTS Senior Trainer and Developer. HILF!GmbH Bajuwarenring Oberhaching

Rudi Swiontek Dipl. Inf. MCTS Senior Trainer and Developer. HILF!GmbH Bajuwarenring Oberhaching Rudi Swiontek Dipl. Inf. MCTS Senior Trainer and Developer HILF!GmbH Bajuwarenring 17 82041 Oberhaching www.hilf.de rudi.swiontek@hilf.de Contents What is Windows Embedded Compact 7? The Development-Tools

More information

Zilog Real-Time Kernel

Zilog Real-Time Kernel An Company Configurable Compilation RZK allows you to specify system parameters at compile time. For example, the number of objects, such as threads and semaphores required, are specez80acclaim! Family

More information

ZiLOG Real-Time Kernel Version 1.2.0

ZiLOG Real-Time Kernel Version 1.2.0 ez80acclaim Family of Microcontrollers Version 1.2.0 PRELIMINARY Introduction The (RZK) is a realtime, preemptive, multitasking kernel designed for time-critical embedded applications. It is currently

More information

Real-time for Windows NT

Real-time for Windows NT Real-time for Windows NT Myron Zimmerman, Ph.D. Chief Technology Officer, Inc. Cambridge, Massachusetts (617) 661-1230 www.vci.com Slide 1 Agenda Background on, Inc. Intelligent Connected Equipment Trends

More information

Introduction to Real-Time Operating Systems

Introduction to Real-Time Operating Systems Introduction to Real-Time Operating Systems GPOS vs RTOS General purpose operating systems Real-time operating systems GPOS vs RTOS: Similarities Multitasking Resource management OS services to applications

More information

WinCE for LPC3250. BUMMS China Nov PDF created with pdffactory Pro trial version

WinCE for LPC3250. BUMMS China Nov PDF created with pdffactory Pro trial version WinCE for LPC3250 BUMMS China Nov 2008 Contents 1. Getting started WinCE with LPC3250 2. WinCE6.0 basic knowledge 3. WinCE6.0 BSP development 4. Reference 2 Getting started WinCE with LPC3250 3 Setup WinCE6.0

More information

CSE 237A Middleware and Operating Systems. Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego.

CSE 237A Middleware and Operating Systems. Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego. CSE 237A Middleware and Operating Systems Tajana Simunic Rosing Department of Computer Science and Engineering University of California, San Diego. 1 Software components Standard software e.g. MPEGx, databases

More information

Developing In The Cloud

Developing In The Cloud Developing In The Cloud What is the Cloud? How does it work? What is P&P doing to help? What Is The Cloud? Cloud computing is a model for enabling Cloud convenient, computingon-demand is the provision

More information

Last 2 Classes: Introduction to Operating Systems & C++ tutorial. Today: OS and Computer Architecture

Last 2 Classes: Introduction to Operating Systems & C++ tutorial. Today: OS and Computer Architecture Last 2 Classes: Introduction to Operating Systems & C++ tutorial User apps OS Virtual machine interface hardware physical machine interface An operating system is the interface between the user and the

More information

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018 embos Real-Time Operating System Document: UM01025 Software Version: 3.1 Revision: 0 Date: May 3, 2018 A product of SEGGER Microcontroller GmbH www.segger.com 2 Disclaimer Specifications written in this

More information

Porting WinCE 5.0 to your NXP BlueStreak MCU Board

Porting WinCE 5.0 to your NXP BlueStreak MCU Board Porting WinCE 5.0 to your NXP BlueStreak MCU Board Durgesh Pattamatta Staff Systems Engineer, Product Line Microcontrollers, NXP Semiconductors. http://www.standardics.nxp.com/support/microcontrollers/

More information

RTX64 Features by Release

RTX64 Features by Release RTX64 Features by Release IZ-DOC-X64-0089-R4 January 2015 Operating System and Visual Studio Support WINDOWS OPERATING SYSTEM RTX64 2013 RTX64 2014 Windows 8 No Yes* Yes* Yes Windows 7 Yes (SP1) Yes (SP1)

More information

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017

embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017 embos Real-Time Operating System embos plug-in for IAR C-Spy Debugger Document: UM01025 Software Version: 3.0 Revision: 0 Date: September 18, 2017 A product of SEGGER Microcontroller GmbH & Co. KG www.segger.com

More information

Operating Systems (2INC0) 2018/19. Introduction (01) Dr. Tanir Ozcelebi. Courtesy of Prof. Dr. Johan Lukkien. System Architecture and Networking Group

Operating Systems (2INC0) 2018/19. Introduction (01) Dr. Tanir Ozcelebi. Courtesy of Prof. Dr. Johan Lukkien. System Architecture and Networking Group Operating Systems (2INC0) 20/19 Introduction (01) Dr. Courtesy of Prof. Dr. Johan Lukkien System Architecture and Networking Group Course Overview Introduction to operating systems Processes, threads and

More information

MICROKERNEL CONSTRUCTION 2014

MICROKERNEL CONSTRUCTION 2014 MICROKERNEL CONSTRUCTION 2014 THE FIASCO.OC MICROKERNEL Alexander Warg MICROKERNEL CONSTRUCTION 1 FIASCO.OC IN ONE SLIDE CAPABILITY-BASED MICROKERNEL API single system call invoke capability MULTI-PROCESSOR

More information

REAL TIME OPERATING SYSTEM PROGRAMMING-I: VxWorks

REAL TIME OPERATING SYSTEM PROGRAMMING-I: VxWorks REAL TIME OPERATING SYSTEM PROGRAMMING-I: I: µc/os-ii and VxWorks Lesson-1: RTOSes 1 1. Kernel of an RTOS 2 Kernel of an RTOS Used for real-time programming features to meet hard and soft real time constraints,

More information

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 CSE 4/521 Introduction to Operating Systems Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018 Overview Objective: To explore the principles upon which

More information

Module 3: Kernel Features

Module 3: Kernel Features Module 3: Kernel Features Contents Overview 1 Definition of Real Time 2 Windows CE Kernel Features 4 Handling Processes, Threads, and Fibers 6 Protecting Applications 17 Synchronization Objects 23 Memory

More information

LatencyMon has been analyzing your system for 0:09:55 (h:mm:ss) on all processors.

LatencyMon has been analyzing your system for 0:09:55 (h:mm:ss) on all processors. CONCLUSION Your system appears to be having trouble handling real-time audio and other tasks. You are likely to experience buffer underruns appearing as drop outs, clicks or pops. One or more DPC routines

More information

... Lecture 10. Concepts of Mobile Operating Systems. Mobile Business I (WS 2017/18) Prof. Dr. Kai Rannenberg

... Lecture 10. Concepts of Mobile Operating Systems. Mobile Business I (WS 2017/18) Prof. Dr. Kai Rannenberg Lecture 10 Concepts of Mobile Operating Systems Mobile Business I (WS 2017/18) Prof. Dr. Kai Rannenberg... Deutsche Telekom Chair of Mobile Business & Multilateral Security Johann Wolfgang Goethe University

More information

CSCE Introduction to Computer Systems Spring 2019

CSCE Introduction to Computer Systems Spring 2019 CSCE 313-200 Introduction to Computer Systems Spring 2019 Threads Dmitri Loguinov Texas A&M University January 29, 2019 1 Updates Quiz on Thursday System Programming Tutorial (pay attention to exercises)

More information

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes

Course Introduction. Purpose: Objectives: Content: 27 pages 4 questions. Learning Time: 20 minutes Course Introduction Purpose: This course provides an overview of the Direct Memory Access Controller and the Interrupt Controller on the SH-2 and SH-2A families of 32-bit RISC microcontrollers, which are

More information

Real-Time Programming

Real-Time Programming Real-Time Programming Week 7: Real-Time Operating Systems Instructors Tony Montiel & Ken Arnold rtp@hte.com 4/1/2003 Co Montiel 1 Objectives o Introduction to RTOS o Event Driven Systems o Synchronization

More information

Processes. 4: Threads. Problem needs > 1 independent sequential process? Example: Web Server. Last Modified: 9/17/2002 2:27:59 PM

Processes. 4: Threads. Problem needs > 1 independent sequential process? Example: Web Server. Last Modified: 9/17/2002 2:27:59 PM Processes 4: Threads Last Modified: 9/17/2002 2:27:59 PM Recall: A process includes Address space (Code, Data, Heap, Stack) Register values (including the PC) Resources allocated to the process Memory,

More information

DSP/BIOS Kernel Scalable, Real-Time Kernel TM. for TMS320 DSPs. Product Bulletin

DSP/BIOS Kernel Scalable, Real-Time Kernel TM. for TMS320 DSPs. Product Bulletin Product Bulletin TM DSP/BIOS Kernel Scalable, Real-Time Kernel TM for TMS320 DSPs Key Features: Fast, deterministic real-time kernel Scalable to very small footprint Tight integration with Code Composer

More information

Outline. Process and Thread Management. Data Structures (2) Data Structures. Kernel Process Block (PCB)

Outline. Process and Thread Management. Data Structures (2) Data Structures. Kernel Process Block (PCB) Outline Process and Thread Management Ausgewählte Betriebssysteme Professur Betriebssysteme Fakultät Informatik Data Structures Process Creation Thread Creation Scheduling 2 Data Structures Data Structures

More information

Process and Thread Management

Process and Thread Management Process and Thread Management Ausgewählte Betriebssysteme Professur Betriebssysteme Fakultät Informatik Data Structures Process Creation Thread Creation Scheduling Outline 2 1 Data Structures Process represented

More information

Unit OS2: Operating System Principles. Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze

Unit OS2: Operating System Principles. Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Unit OS2: Operating System Principles 2.5. Quiz Windows Operating System Internals - by David A. Solomon and Mark E. Russinovich with Andreas Polze Copyright Notice 2000-2005 David A. Solomon and Mark

More information

Multithreading Application in Win32

Multithreading Application in Win32 Copyright, 2000 Multimedia Lab., Multithreading Application in Win32 Chapter 3_Hurry Up and Wait Eung-Sang Kim Kim-0103@mmlab.net Multimedia Lab. Dept. of Electrical and Computer Eng. University of Seoul

More information

Interrupt-Driven Digital Control

Interrupt-Driven Digital Control Interrupt-Driven Digital Control Digital Control System Digital Computer Command + Controller D/A Control Signal Plant A/D T Sampler Sensor Interrupt Main Program Interrupt Service Routine PC Interrupt

More information

Operating Systems CMPSCI 377 Spring Mark Corner University of Massachusetts Amherst

Operating Systems CMPSCI 377 Spring Mark Corner University of Massachusetts Amherst Operating Systems CMPSCI 377 Spring 2017 Mark Corner University of Massachusetts Amherst Last Class: Intro to OS An operating system is the interface between the user and the architecture. User-level Applications

More information

Stellaris Robotic Evaluation Board and Micriµm µc/os-iii

Stellaris Robotic Evaluation Board and Micriµm µc/os-iii Introductions Stellaris Robotic Evaluation Board and Micriµm µc/os-iii Jean J. Labrosse Founder, President and CEO of Micriµm Dexter Travis Stellaris ARM Cortex -M3 Applications Engineering Dexter Travis,

More information

Windows Server Discussion with BCIU. Kevin Sullivan Management TSP US Education

Windows Server Discussion with BCIU. Kevin Sullivan Management TSP US Education Windows Server 2008 Discussion with BCIU Kevin Sullivan Management TSP US Education Kevin.sullivan@microsoft.com 1 Web Internet Information Services 7.0 Powerful Web Application and Services Platform Manage

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Windows Embedded CE 1. Chapter 2: Development Environment and Tools 15. Introduction

COPYRIGHTED MATERIAL. Contents. Chapter 1: Windows Embedded CE 1. Chapter 2: Development Environment and Tools 15. Introduction Introduction xxi Chapter 1: Windows Embedded CE 1 What Is Embedded? 1 Embedded Devices 1 Embedded Software 2 Embedded Devices and Software 3 The Windows Embedded Family 3 Windows XP Embedded 4 Windows

More information

Module 8: Customizing the OS Design

Module 8: Customizing the OS Design Module 8: Customizing the OS Design Catalog 1 Module 8: Customizing the OS Design 8-1 Catalog Overview 8-2 The CE 6.0 Shell 8-3 The SDK Module 8: Customizing the OS Design Catalog 2 Information in this

More information

Windows Embedded CE 6.0. Windows Embedded CE 6.0. Victor Lin #2231

Windows Embedded CE 6.0. Windows Embedded CE 6.0. Victor Lin #2231 Windows Embedded CE 6.0 Windows Embedded CE 6.0 Victor Lin victorlin@synnex.com.tw 886-2-25063320 #2231 Windows Embedded CE 6.0 Name, Branding & License Naming & Branding The name of this new version is

More information

RTX64 Features by Release IZ-DOC-X R3

RTX64 Features by Release IZ-DOC-X R3 RTX64 Features by Release IZ-DOC-X64-0089-R3 January 2014 Operating System and Visual Studio Support WINDOWS OPERATING SYSTEM RTX64 2013 Windows 8 No Windows 7 (SP1) (SP1) Windows Embedded Standard 8 No

More information

What s Wrong with the Operating System Interface? Collin Lee and John Ousterhout

What s Wrong with the Operating System Interface? Collin Lee and John Ousterhout What s Wrong with the Operating System Interface? Collin Lee and John Ousterhout Goals for the OS Interface More convenient abstractions than hardware interface Manage shared resources Provide near-hardware

More information

Final Examination. Thursday, December 3, :20PM 620 PM. NAME: Solutions to Selected Problems ID:

Final Examination. Thursday, December 3, :20PM 620 PM. NAME: Solutions to Selected Problems ID: CSE 237B EMBEDDED SOFTWARE, FALL 2009 PROF. RAJESH GUPTA Final Examination Thursday, December 3, 2009 5:20PM 620 PM NAME: Solutions to Selected Problems ID: Problem Max. Points Points 1 20 2 25 3 35 4

More information

Microsoft RemoteFX for Remote Desktop Virtualization Host Capacity Planning Guide for Windows Server 2008 R2 Service Pack 1

Microsoft RemoteFX for Remote Desktop Virtualization Host Capacity Planning Guide for Windows Server 2008 R2 Service Pack 1 Microsoft RemoteFX for Remote Desktop Virtualization Host Capacity Planning Guide for Windows Server 2008 R2 Service Pack 1 Microsoft Corporation Published: March 2011 Abstract Microsoft RemoteFX delivers

More information

Windows Embedded Compact Test Kit User Guide

Windows Embedded Compact Test Kit User Guide Windows Embedded Compact Test Kit User Guide Writers: Randy Ocheltree, John Hughes Published: October 2011 Applies To: Windows Embedded Compact 7 Abstract The Windows Embedded Compact Test Kit (CTK) is

More information

Efficiency and memory footprint of Xilkernel for the Microblaze soft processor

Efficiency and memory footprint of Xilkernel for the Microblaze soft processor Efficiency and memory footprint of Xilkernel for the Microblaze soft processor Dariusz Caban, Institute of Informatics, Gliwice, Poland - June 18, 2014 The use of a real-time multitasking kernel simplifies

More information

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved

Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview Use Cases Architecture Features Copyright Jaluna SA. All rights reserved C5 Micro-Kernel: Real-Time Services for Embedded and Linux Systems Copyright 2003- Jaluna SA. All rights reserved. JL/TR-03-31.0.1 1 Outline Background Jaluna-1 Presentation Jaluna-2 Presentation Overview

More information

Name: Vijay Rajagopalan Title : Principal Architect Company : Microsoft Corporation Session Code:

Name: Vijay Rajagopalan Title : Principal Architect Company : Microsoft Corporation Session Code: Name: Vijay Rajagopalan Title : Principal Architect Company : Microsoft Corporation Session Code: Agenda Microsoft Interoperability Strategy Multifaceted Approach to Interoperability Microsoft and PHP

More information

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3.

OVERVIEW. Last Week: But if frequency of high priority task increases temporarily, system may encounter overload: Today: Slide 1. Slide 3. OVERVIEW Last Week: Scheduling Algorithms Real-time systems Today: But if frequency of high priority task increases temporarily, system may encounter overload: Yet another real-time scheduling algorithm

More information

Multi-core Programming Evolution

Multi-core Programming Evolution Multi-core Programming Evolution Based on slides from Intel Software ollege and Multi-ore Programming increasing performance through software multi-threading by Shameem Akhter and Jason Roberts, Evolution

More information

Behavior and performance evaluation of Windows Embedded Compact 7 on ARM

Behavior and performance evaluation of Windows Embedded Compact 7 on ARM http://download.dedicated-systems.com Behavior and performance evaluation of Windows Embedded Compact 7 on ARM Copyright Copyright Dedicated Systems NV. All rights reserved, no part of the contents of

More information

Frequently Asked Questions about Real-Time

Frequently Asked Questions about Real-Time FAQ: RTX64 2014 Frequently Asked Questions about Real-Time What is Real-Time? Real-time describes an application which requires a response to an event within some small upper bounded time frame. Typically,

More information

An Automatic Temperature Control System Using RZK

An Automatic Temperature Control System Using RZK Application Note An Automatic Temperature Control System Using RZK AN019902-0908 Abstract This application note demonstrates how an application running on Zilog s Real-Time Kernel (RZK) can be used to

More information

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System Overview Chapter 1.5 1.9 A program that controls execution of applications The resource manager An interface between applications and hardware The extended machine 1 2 Structure of a Computer System Structure

More information

Review: Easy Piece 1

Review: Easy Piece 1 CS 537 Lecture 10 Threads Michael Swift 10/9/17 2004-2007 Ed Lazowska, Hank Levy, Andrea and Remzi Arpaci-Dussea, Michael Swift 1 Review: Easy Piece 1 Virtualization CPU Memory Context Switch Schedulers

More information

How to get realistic C-states latency and residency? Vincent Guittot

How to get realistic C-states latency and residency? Vincent Guittot How to get realistic C-states latency and residency? Vincent Guittot Agenda Overview Exit latency Enter latency Residency Conclusion Overview Overview PMWG uses hikey960 for testing our dev on b/l system

More information

How Linux RT_PREEMPT Works

How Linux RT_PREEMPT Works How Linux RT_PREEMPT Works A common observation about real time systems is that the cost of the increased determinism of real time is decreased throughput and increased average latency. This presentation

More information

Arachne. Core Aware Thread Management Henry Qin Jacqueline Speiser John Ousterhout

Arachne. Core Aware Thread Management Henry Qin Jacqueline Speiser John Ousterhout Arachne Core Aware Thread Management Henry Qin Jacqueline Speiser John Ousterhout Granular Computing Platform Zaharia Winstein Levis Applications Kozyrakis Cluster Scheduling Ousterhout Low-Latency RPC

More information

CS3MH3/6MH3 Final 2005 Page 1 COMP SCI 3MH3/6MH3. Day Class Duration of examination: two hours McMaster University Final Examination April 2005

CS3MH3/6MH3 Final 2005 Page 1 COMP SCI 3MH3/6MH3. Day Class Duration of examination: two hours McMaster University Final Examination April 2005 CS3MH3/6MH3 Final 2005 Page 1 Name Student Number Instructor: S. Qiao COMP SCI 3MH3/6MH3 Day Class Duration of examination: two hours McMaster University Final Examination April 2005 This examination paper

More information

Hacking Windows CE.

Hacking Windows CE. Hacking Windows CE san@nsfocus.com san@xfocus.org Structure Overview Windows CE Overview Windows CE Memory Management Windows CE Processes and Threads Windows CE API Address Search Technology The Shellcode

More information

Windows Server Upgrade tips and tricks. Winnie Leung Technology Specialist Microsoft Corporation

Windows Server Upgrade tips and tricks. Winnie Leung Technology Specialist Microsoft Corporation Windows Server Upgrade tips and tricks Winnie Leung Technology Specialist Microsoft Corporation Windows Server Release Cycle Mainstream Service Packs & Updates At least 5 years from major release Extended

More information

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center

Container Adoption for NFV Challenges & Opportunities. Sriram Natarajan, T-Labs Silicon Valley Innovation Center Container Adoption for NFV Challenges & Opportunities Sriram Natarajan, T-Labs Silicon Valley Innovation Center Virtual Machine vs. Container Stack KVM Container-stack Libraries Guest-OS Hypervisor Libraries

More information

RTOS, Linux & Virtualization Wind River Systems, Inc.

RTOS, Linux & Virtualization Wind River Systems, Inc. taeyong.kim@windriver.com RTOS, Linux & Virtualization 2008 Wind River Systems, Inc. Simple Board Simple Code 2 2008 Wind River Systems, Inc. start: /* disable interrupts in CPU and switch to SVC32 mode

More information

2 nd Half. Memory management Disk management Network and Security Virtual machine

2 nd Half. Memory management Disk management Network and Security Virtual machine Final Review 1 2 nd Half Memory management Disk management Network and Security Virtual machine 2 Abstraction Virtual Memory (VM) 4GB (32bit) linear address space for each process Reality 1GB of actual

More information

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory

Commercial Real-time Operating Systems An Introduction. Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory Commercial Real-time Operating Systems An Introduction Swaminathan Sivasubramanian Dependable Computing & Networking Laboratory swamis@iastate.edu Outline Introduction RTOS Issues and functionalities LynxOS

More information

The Kernel. wants to be your friend

The Kernel. wants to be your friend The Kernel wants to be your friend Boxing them in Buggy apps can crash other apps App 1 App 2 App 3 Operating System Reading and writing memory, managing resources, accessing I/O... Buggy apps can crash

More information

Introduction to Embedded Bootloader. Intel SSG/SSD/UEFI

Introduction to Embedded Bootloader. Intel SSG/SSD/UEFI Introduction to Embedded Bootloader Intel SSG/SSD/UEFI Legal Disclaimer INFORMATION IN THIS DOCUMENT IS PROVIDED IN CONNECTION WITH INTEL PRODUCTS. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE,

More information

Programming in C# Jump Start. Jerry Nixon Microsoft Developer Evangelist Daren May President & Co-founder, Crank211

Programming in C# Jump Start. Jerry Nixon Microsoft Developer Evangelist Daren May President & Co-founder, Crank211 Programming in C# Jump Start Jerry Nixon Microsoft Developer Evangelist Daren May President & Co-founder, Crank211 06 Advanced C#, Part 2 Jerry Nixon Microsoft Developer Evangelist Daren May President

More information

DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM

DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM Lesson-10: Context, context Switching and interrupt latency 1 1. Context 2 An embedded system executes: multiple tasks (processes). An operating system facilitates

More information

Interrupt response times on Arduino and Raspberry Pi. Tomaž Šolc

Interrupt response times on Arduino and Raspberry Pi. Tomaž Šolc Interrupt response times on Arduino and Raspberry Pi Tomaž Šolc tomaz.solc@ijs.si Introduction Full-featured Linux-based systems are replacing microcontrollers in some embedded applications for low volumes,

More information

Putting it All Together

Putting it All Together EE445M/EE360L.12 Embedded and Real-Time Systems/ Real-Time Operating Systems : Commercial RTOS, Final Exam, Review 1 Putting it All Together Micrium μcos-ii Reference: www.micrium.com Application Note

More information

REAL TIME OPERATING SYSTEMS: A COMPLETE OVERVIEW

REAL TIME OPERATING SYSTEMS: A COMPLETE OVERVIEW REAL TIME OPERATING SYSTEMS: A COMPLETE OVERVIEW Mrinal Parikshit Chandane Former Assistant Professor, Dept. of E&TC, KJSCE, (India) ABSTRACT Telecommunication applications such as telephony, navigation

More information

ecos in commercial use the Sinar emotion Outline

ecos in commercial use the Sinar emotion Outline ecos in commercial use the Sinar emotion Outline Introduction Sinar emotion Overview Operating Systems Application Design ecos Development Environment Roundup Dipl.Ing. Alexander Neundorf

More information

Administration. Matteo Corti RZ H

Administration. Matteo Corti RZ H Administration Matteo Corti RZ H11 27944 corti@inf.ethz.ch Today: IFW A36, 16:15 D-INFK Colloquium Automated, compositional and iterative deadlock detection Natasha Sharygina, Carnegie Mellon University

More information

Implementing and Supporting Windows Intune

Implementing and Supporting Windows Intune Implementing and Supporting Windows Intune Module 3: Computer Administration by Using Windows Intune Module Overview Understanding Groups Creating and Populating Groups The Windows Intune Update Process

More information

Windows Embedded Compact Test Kit User Guide 1

Windows Embedded Compact Test Kit User Guide 1 Windows Embedded Compact Test Kit User Guide 1 Windows Embedded Compact Test Kit User Guide Windows Embedded Compact 7 Technical Article Published: March 2011 Applies To: Windows Embedded Compact 7 Abstract

More information

Lab 8 Real-time OS - 1

Lab 8 Real-time OS - 1 Lab 8-1 Speaker: Hao-Yun Chin Advisor: Prof. Tian-Sheuan Chang Apr 27, 2004 Outline Introduction to Real-time Operation System (RTOS) Introduction to C/OS-II Features Task & task scheduling Start C/OS-II

More information

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4 Motivation Threads Chapter 4 Most modern applications are multithreaded Threads run within application Multiple tasks with the application can be implemented by separate Update display Fetch data Spell

More information

CSCE Introduction to Computer Systems Spring 2019

CSCE Introduction to Computer Systems Spring 2019 CSCE 313-200 Introduction to Computer Systems Spring 2019 Synchronization V Dmitri Loguinov Texas A&M University March 5, 2019 1 Updates Memory heaps Normal new/delete ops go to the process heap Internal

More information

Mobile Operating Systems Lesson 01 Operating System

Mobile Operating Systems Lesson 01 Operating System Mobile Operating Systems Lesson 01 Operating System Oxford University Press 2007. All rights reserved. 1 Operating system (OS) The master control program Manages all software and hardware resources Controls,

More information

OS lpr. www. nfsd gcc emacs ls 1/27/09. Process Management. CS 537 Lecture 3: Processes. Example OS in operation. Why Processes? Simplicity + Speed

OS lpr. www. nfsd gcc emacs ls 1/27/09. Process Management. CS 537 Lecture 3: Processes. Example OS in operation. Why Processes? Simplicity + Speed Process Management CS 537 Lecture 3: Processes Michael Swift This lecture begins a series of topics on processes, threads, and synchronization Today: processes and process management what are the OS units

More information

Virtualization And High Availability. Howard Chow Microsoft MVP

Virtualization And High Availability. Howard Chow Microsoft MVP Virtualization And High Availability Howard Chow Microsoft MVP Session Objectives And Agenda Virtualization and High Availability Types of high availability enabled by virtualization Enabling a highly

More information

ECE 498 Linux Assembly Language Lecture 1

ECE 498 Linux Assembly Language Lecture 1 ECE 498 Linux Assembly Language Lecture 1 Vince Weaver http://www.eece.maine.edu/ vweaver vincent.weaver@maine.edu 13 November 2012 Assembly Language: What s it good for? Understanding at a low-level what

More information

Preemptive Scheduling

Preemptive Scheduling Preemptive Scheduling Lecture 18 18-1 Big Picture Methods learned so far We ve been using a foreground/background system Interrupt service routines run in foreground Task code runs in background Limitations

More information

Lesson 5: Software for embedding in System- Part 2

Lesson 5: Software for embedding in System- Part 2 Lesson 5: Software for embedding in System- Part 2 Device drivers, Device manager, OS, RTOS and Software tools 1 Outline Device drivers Device manager Multitasking using an operating system (OS) and Real

More information

Memory Management. Disclaimer: some slides are adopted from book authors slides with permission 1

Memory Management. Disclaimer: some slides are adopted from book authors slides with permission 1 Memory Management Disclaimer: some slides are adopted from book authors slides with permission 1 Recap Paged MMU: Two main Issues Translation speed can be slow TLB Table size is big Multi-level page table

More information

Process Scheduling Queues

Process Scheduling Queues Process Control Process Scheduling Queues Job queue set of all processes in the system. Ready queue set of all processes residing in main memory, ready and waiting to execute. Device queues set of processes

More information

Distributed Systems Operation System Support

Distributed Systems Operation System Support Hajussüsteemid MTAT.08.009 Distributed Systems Operation System Support slides are adopted from: lecture: Operating System(OS) support (years 2016, 2017) book: Distributed Systems: Concepts and Design,

More information

Pro Windows Embedded Compact 7

Pro Windows Embedded Compact 7 Pro Windows Embedded Compact 7 Producing Device Drivers Abraham Kcholi Pro Windows Embedded Compact 7 Copyright 2011 by Abraham Kcholi All rights reserved. No part of this work may be reproduced or transmitted

More information

CEC 450 Real-Time Systems

CEC 450 Real-Time Systems CEC 450 Real-Time Systems Lecture 10 Device Interface Drivers and MMIO October 29, 2015 Sam Siewert MMIO Interfacing to Off-Chip Devices Sam Siewert 2 Embedded I/O (HW View) Analog I/O DAC analog output:

More information

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4 EE445M Midterm Study Guide (Spring 2017) (updated February 25, 2017): Instructions: Open book and open notes. No calculators or any electronic devices (turn cell phones off). Please be sure that your answers

More information

Multi-core Architecture and Programming

Multi-core Architecture and Programming Multi-core Architecture and Programming Yang Quansheng( 杨全胜 ) http://www.njyangqs.com School of Computer Science & Engineering 1 http://www.njyangqs.com Programming with Windows Threads Content Windows

More information

Evaluation of Real-time Performance in Embedded Linux. Hiraku Toyooka, Hitachi. LinuxCon Europe Hitachi, Ltd All rights reserved.

Evaluation of Real-time Performance in Embedded Linux. Hiraku Toyooka, Hitachi. LinuxCon Europe Hitachi, Ltd All rights reserved. Evaluation of Real-time Performance in Embedded Linux LinuxCon Europe 2014 Hiraku Toyooka, Hitachi 1 whoami Hiraku Toyooka Software engineer at Hitachi " Working on operating systems Linux (mainly) for

More information

2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or

2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The

More information

From last time. What is the maximum size of a file in bytes? What is the maximum total size of directories and files in a single disk partition?

From last time. What is the maximum size of a file in bytes? What is the maximum total size of directories and files in a single disk partition? OMP25111 Lecture 17 1/27 From last time A file system uses inodes which contain 8 block-numbers. These are for the first 7 blocks of the file and an indirect block, which just contains block-numbers for

More information

ELEC 377 Operating Systems. Week 1 Class 2

ELEC 377 Operating Systems. Week 1 Class 2 Operating Systems Week 1 Class 2 Labs vs. Assignments The only work to turn in are the labs. In some of the handouts I refer to the labs as assignments. There are no assignments separate from the labs.

More information

Inter-Process Communication and Synchronization of Processes, Threads and Tasks: Lesson-1: PROCESS

Inter-Process Communication and Synchronization of Processes, Threads and Tasks: Lesson-1: PROCESS Inter-Process Communication and Synchronization of Processes, Threads and Tasks: Lesson-1: PROCESS 1 Process Concepts 2 Process A process consists of executable program (codes), state of which is controlled

More information

Capriccio : Scalable Threads for Internet Services

Capriccio : Scalable Threads for Internet Services Capriccio : Scalable Threads for Internet Services - Ron von Behren &et al - University of California, Berkeley. Presented By: Rajesh Subbiah Background Each incoming request is dispatched to a separate

More information

Implementing and Supporting Windows Intune

Implementing and Supporting Windows Intune Implementing and Supporting Windows Intune Module 1: Windows Intune Overview Module Overview Challenges in Managing Business PCs Introducing Windows Intune Managing and Securing PCs in Any Location by

More information

6/20/2018. Lecture 2: Platforms & RTOS. Outline. Lab Setup (20 min) Labs work. Lecture: Platform + RTOS

6/20/2018. Lecture 2: Platforms & RTOS. Outline. Lab Setup (20 min) Labs work. Lecture: Platform + RTOS Lecture 2: Platforms & RTOS 1 Outline Lab Setup (20 min) Labs work Workbench + vxworks Documentations (15 min) Project Management (25 min) Host Shell (25 min) Lecture: Platform + RTOS 2 1 3 Microcomputer

More information

CIT 480: Securing Computer Systems. Operating System Concepts

CIT 480: Securing Computer Systems. Operating System Concepts CIT 480: Securing Computer Systems Operating System Concepts Topics 1. What is an OS? 2. Processes 3. Memory management 4. Filesystems 5. Virtual machines A Computer Model An operating system has to deal

More information

AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel. Alexander Züpke, Marc Bommert, Daniel Lohmann

AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel. Alexander Züpke, Marc Bommert, Daniel Lohmann AUTOBEST: A United AUTOSAR-OS And ARINC 653 Kernel Alexander Züpke, Marc Bommert, Daniel Lohmann alexander.zuepke@hs-rm.de, marc.bommert@hs-rm.de, lohmann@cs.fau.de Motivation Automotive and Avionic industry

More information

2008 Chapter-8 L1: "Embedded Systems - Architecture, Programming and Design", Raj Kamal, Publs.: McGraw-Hill, Inc.

2008 Chapter-8 L1: Embedded Systems - Architecture, Programming and Design, Raj Kamal, Publs.: McGraw-Hill, Inc. REAL TIME OPERATING SYSTEMS Lesson-1: OPERATING SYSTEM SERVICES GOAL, MODES AND STRUCTURE 1 1. OS Services Goal 2 Goal The OS Service Goal Perfection and correctness during a service 3 OS Services Goal

More information