SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Introduction to mbed-OS uvisor
Viller Hsiao <villerhsiao@gmail.com>
Oct. 18, 2015
10/18/15 2/19
Who am I ?
Viller Hsiao
Embeded Linux / RTOS engineer
  
http://image.dfdaily.com/2012/5/4/634716931128751250504b050c1_nEO_IMG.jpg
10/18/15 3/19
mbed OS
ARM¼ mbedℱ OS is an open source embedded
operating system designed specifically for the
"things" in the Internet of Things (IoT). [1]
10/18/15 4/19
mbed OS
●
Modulized packages
●
Managed by yotta
10/18/15 5/19
mbed-OS uvisor
●
self-contained software hypervisor that
●
creates independent secure domains on ARM
Cortex-M3 and M4 microcontrollers
●
Like a sandbox
●
Still in beta version now
10/18/15 6/19
Modules Relationship
uvisor uvisor-lib
application
module
compile
Full
uvisor
source
Linked
uvisor
object
object
●
User links objects in uvisor-lib module
●
uvisor module contains full source
10/18/15 7/19
uvisor Funtionalities
●
Protect resources
●
Secure function call
●
Low level APIs
●
Interrupt management
●
register level security [4]
10/18/15 8/19
Memory Layout under uvisor
https://github.com/ARMmbed/uvi
sor/blob/master/k64f/docs/memo
ry_layout.png
10/18/15 9/19
Protect Resources
●
Access Control Lists (ACLs)
●
Private box contexts
uvisor
Box 1
UARTTIMERFLASHRAM I2C
Access not permitted
Box 2 Box n
General
ACLs
device
Box 1
context
Box 2
context
Box n
context
10/18/15 10/19
Implementation of ACLs
MPUBox1 view Box2 view
Generic
ACLs
Box1
context
Box2
context
●
ACLs and Box contexts isolation are
implementd by MPU
10/18/15 11/19
Secure Fucntion Call
●
Secure gateway
●
Critical functions are executed from the context of
the secure box
Non-secure Box Secure Box
func(args)
secure
gateway
return
10/18/15 12/19
Secure Gateway (Cont.)
●
Secure Gateway Internals
uvisor
Box 1 Box 2
func()
svc svc
secure_gateway (func, args)
return
unpriviledge
svc handler
10/18/15 13/19
Low Level APIs – Interrupt Management
●
Interrupt management
●
vIRQ_SetVectorX()
●
vIRQ_GetVector()
●
vIRQ_EnableIRQ()
●
vIRQ_DisableIRQ()
●
vIRQ_ClearPendingIRQ()
●
vIRQ_SetPendingIRQ()
●
vIRQ_GetPendingIRQ()
●
vIRQ_SetPriority()
●
vIRQ_GetPriority()
●
vIRQ_GetLevel()
10/18/15 14/19
Low Level APIs – Interrupt Management
uvisor
Box Context
svc
vIRQ_xxxxxxxx ( args)
NVIC_xxxxxxxx ( args)
10/18/15 15/19
To be continue
10/18/15 16/19
Q & A
10/18/15 17/19
Reference
[1] ARM¼ mbedℱ (beta) site
[2] mbed-os uvisor repository
[3] mbed-os uvisor-lib repository
[4] uvisor-helloworld issue #20, “
uvisor-helloworld could not work on STM32F429I-Discovery ”
10/18/15 18/19
●
ARM are trademarks or registered trademarks of ARM Holdings.
●
mbedℱ OS is an open source embedded operating system designed specifically for the
"things" in the Internet of Things (IoT). It is developed by ARMÂź and target for a connected
product based on an ARM Cortex-M microcontroller.
●
Other company, product, and service names may be trademarks or service marks
of others.
●
The license of each graph belongs to each website listed individually.
●
The others of my work in the slide is licensed under a CC-BY-SA License.
●
License text: http://creativecommons.org/licenses/by-sa/4.0/legalcode
Rights to Copy
copyright © 2015 Viller Hsiao
10/18/15 Viller Hsiao
THE END

Weitere Àhnliche Inhalte

Was ist angesagt?

Fortinet FortiOS 5 Presentation
Fortinet FortiOS 5 PresentationFortinet FortiOS 5 Presentation
Fortinet FortiOS 5 Presentation
NCS Computech Ltd.
 
Embedded Security in ARM-based microcontrollers
Embedded Security in ARM-based microcontrollersEmbedded Security in ARM-based microcontrollers
Embedded Security in ARM-based microcontrollers
team-WIBU
 

Was ist angesagt? (20)

The importance of strong entropy for iot
The importance of strong entropy for iotThe importance of strong entropy for iot
The importance of strong entropy for iot
 
High end security for low-end microcontrollers
High end security for low-end microcontrollersHigh end security for low-end microcontrollers
High end security for low-end microcontrollers
 
Developing functional safety systems with arm architecture solutions stroud
Developing functional safety systems with arm architecture solutions   stroudDeveloping functional safety systems with arm architecture solutions   stroud
Developing functional safety systems with arm architecture solutions stroud
 
So you think developing an SoC needs to be complex or expensive?
So you think developing an SoC needs to be complex or expensive?So you think developing an SoC needs to be complex or expensive?
So you think developing an SoC needs to be complex or expensive?
 
Software development in ar mv8 m architecture - yiu
Software development in ar mv8 m architecture - yiuSoftware development in ar mv8 m architecture - yiu
Software development in ar mv8 m architecture - yiu
 
A practical approach to securing embedded and io t platforms
A practical approach to securing embedded and io t platformsA practical approach to securing embedded and io t platforms
A practical approach to securing embedded and io t platforms
 
ARM: Trusted Zone on Android
ARM: Trusted Zone on AndroidARM: Trusted Zone on Android
ARM: Trusted Zone on Android
 
Fortinet security fabric
Fortinet security fabricFortinet security fabric
Fortinet security fabric
 
Optimizing ARM cortex a and cortex-m based heterogeneous multiprocessor syste...
Optimizing ARM cortex a and cortex-m based heterogeneous multiprocessor syste...Optimizing ARM cortex a and cortex-m based heterogeneous multiprocessor syste...
Optimizing ARM cortex a and cortex-m based heterogeneous multiprocessor syste...
 
A better connected world - Beijer Sales Kit 2017
A better connected world - Beijer Sales Kit 2017A better connected world - Beijer Sales Kit 2017
A better connected world - Beijer Sales Kit 2017
 
Fortinet FortiOS 5 Presentation
Fortinet FortiOS 5 PresentationFortinet FortiOS 5 Presentation
Fortinet FortiOS 5 Presentation
 
Embedded Security in ARM-based microcontrollers
Embedded Security in ARM-based microcontrollersEmbedded Security in ARM-based microcontrollers
Embedded Security in ARM-based microcontrollers
 
Operating System Support for Run-Time Security with a Trusted Execution Envir...
Operating System Support for Run-Time Security with a Trusted Execution Envir...Operating System Support for Run-Time Security with a Trusted Execution Envir...
Operating System Support for Run-Time Security with a Trusted Execution Envir...
 
Standardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-VStandardizing the tee with global platform and RISC-V
Standardizing the tee with global platform and RISC-V
 
2020 MCS Industrial AI-edge-computer
2020 MCS Industrial AI-edge-computer2020 MCS Industrial AI-edge-computer
2020 MCS Industrial AI-edge-computer
 
Fortinet
FortinetFortinet
Fortinet
 
Authorization for Internet of Things using OAuth 2.0
Authorization for Internet of Things using OAuth 2.0Authorization for Internet of Things using OAuth 2.0
Authorization for Internet of Things using OAuth 2.0
 
Fortigate fortiwifi-80f-series
Fortigate fortiwifi-80f-seriesFortigate fortiwifi-80f-series
Fortigate fortiwifi-80f-series
 
TDC2017 - Embedded Linux - Deploy Software Update for Linux Devices
TDC2017 - Embedded Linux - Deploy Software Update for Linux DevicesTDC2017 - Embedded Linux - Deploy Software Update for Linux Devices
TDC2017 - Embedded Linux - Deploy Software Update for Linux Devices
 
Mikael Falkvidd IoT - Stena AB Faster Forward
Mikael Falkvidd IoT - Stena AB Faster ForwardMikael Falkvidd IoT - Stena AB Faster Forward
Mikael Falkvidd IoT - Stena AB Faster Forward
 

Andere mochten auch

甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
艟鍗科技
 

Andere mochten auch (20)

mbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OSmbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OS
 
mbed Connect Asia 2016 Andy Chen ARM Accelerator
mbed Connect Asia 2016 Andy Chen ARM Accelerator mbed Connect Asia 2016 Andy Chen ARM Accelerator
mbed Connect Asia 2016 Andy Chen ARM Accelerator
 
ARM mbed connect
ARM mbed connectARM mbed connect
ARM mbed connect
 
mbed-os 3.0 modules dependency graph
mbed-os 3.0 modules dependency graphmbed-os 3.0 modules dependency graph
mbed-os 3.0 modules dependency graph
 
mbed Connect Asia 2016 Overview of mbed Device Connector
mbed Connect Asia 2016 Overview of mbed Device Connectormbed Connect Asia 2016 Overview of mbed Device Connector
mbed Connect Asia 2016 Overview of mbed Device Connector
 
twlkh-linux-vsyscall-and-vdso
twlkh-linux-vsyscall-and-vdsotwlkh-linux-vsyscall-and-vdso
twlkh-linux-vsyscall-and-vdso
 
Tower defense for hackers: Layered (in-)security for microcontrollers
Tower defense for hackers: Layered (in-)security for microcontrollersTower defense for hackers: Layered (in-)security for microcontrollers
Tower defense for hackers: Layered (in-)security for microcontrollers
 
mbed Connect Asia 2016 David Morning Welcome and Kickoff
mbed Connect Asia 2016 David Morning Welcome and Kickoffmbed Connect Asia 2016 David Morning Welcome and Kickoff
mbed Connect Asia 2016 David Morning Welcome and Kickoff
 
BKK16-200 Designing Security into low cost IO T Systems
BKK16-200 Designing Security into low cost IO T SystemsBKK16-200 Designing Security into low cost IO T Systems
BKK16-200 Designing Security into low cost IO T Systems
 
Crypto Performance on ARM Cortex-M Processors
Crypto Performance on ARM Cortex-M ProcessorsCrypto Performance on ARM Cortex-M Processors
Crypto Performance on ARM Cortex-M Processors
 
LAS16-203: Platform security architecture for embedded devices
LAS16-203: Platform security architecture for embedded devicesLAS16-203: Platform security architecture for embedded devices
LAS16-203: Platform security architecture for embedded devices
 
Websocket
WebsocketWebsocket
Websocket
 
ARM Âź mbedℱ ćčłć°äč‹ç ”ç©¶ćŠćŻŠäœœ
ARM Âź mbedℱ ćčłć°äč‹ç ”ç©¶ćŠćŻŠäœœARM Âź mbedℱ ćčłć°äč‹ç ”ç©¶ćŠćŻŠäœœ
ARM Âź mbedℱ ćčłć°äč‹ç ”ç©¶ćŠćŻŠäœœ
 
Meet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracingMeet cute-between-ebpf-and-tracing
Meet cute-between-ebpf-and-tracing
 
Deploy mbed IoT cloud
Deploy mbed IoT cloudDeploy mbed IoT cloud
Deploy mbed IoT cloud
 
Tutorial1: mbedé–‹ç™Œćż«é€ŸäžŠæ‰‹
Tutorial1: mbedé–‹ç™Œćż«é€ŸäžŠæ‰‹Tutorial1: mbedé–‹ç™Œćż«é€ŸäžŠæ‰‹
Tutorial1: mbedé–‹ç™Œćż«é€ŸäžŠæ‰‹
 
移怍FreeRTOS äč‹ć”Œć…„ćŒè»Ÿé«”ç ”ç©¶èˆ‡é–‹ç™Œ
移怍FreeRTOS äč‹ć”Œć…„ćŒè»Ÿé«”ç ”ç©¶èˆ‡é–‹ç™Œç§»æ€FreeRTOS äč‹ć”Œć…„ćŒè»Ÿé«”ç ”ç©¶èˆ‡é–‹ç™Œ
移怍FreeRTOS äč‹ć”Œć…„ćŒè»Ÿé«”ç ”ç©¶èˆ‡é–‹ç™Œ
 
甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
甹Raspberry Pi ćźŒæˆäž€ć€‹æ™șæ…§ćž‹ć…­è¶łæ©Ÿć™šäșș
 
Linux kernel tracing
Linux kernel tracingLinux kernel tracing
Linux kernel tracing
 
Project humix overview - For Raspberry pi community meetup
Project humix overview - For  Raspberry pi  community meetupProject humix overview - For  Raspberry pi  community meetup
Project humix overview - For Raspberry pi community meetup
 

Ähnlich wie Introduction to ARM mbed-OS 3.0 uvisor

Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Opersys inc.
 
XPDDS17: Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
XPDDS17:  Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...XPDDS17:  Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
XPDDS17: Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
The Linux Foundation
 
HKG15-300: Art's Quick Compiler: An unofficial overview
HKG15-300: Art's Quick Compiler: An unofficial overviewHKG15-300: Art's Quick Compiler: An unofficial overview
HKG15-300: Art's Quick Compiler: An unofficial overview
Linaro
 

Ähnlich wie Introduction to ARM mbed-OS 3.0 uvisor (20)

Implementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migrationImplementing SR-IOv failover for Windows guests during live migration
Implementing SR-IOv failover for Windows guests during live migration
 
Wirelessconnect
WirelessconnectWirelessconnect
Wirelessconnect
 
Inside Android's UI
Inside Android's UIInside Android's UI
Inside Android's UI
 
Let's use AppVeyor
Let's use AppVeyorLet's use AppVeyor
Let's use AppVeyor
 
Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013Inside Android's UI / ABS 2013
Inside Android's UI / ABS 2013
 
DEF CON 27 - HUBER AND ROSKOSCH - im on your phone listening attacking voip c...
DEF CON 27 - HUBER AND ROSKOSCH - im on your phone listening attacking voip c...DEF CON 27 - HUBER AND ROSKOSCH - im on your phone listening attacking voip c...
DEF CON 27 - HUBER AND ROSKOSCH - im on your phone listening attacking voip c...
 
SR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and ImprovementSR-IOV ixgbe Driver Limitations and Improvement
SR-IOV ixgbe Driver Limitations and Improvement
 
Project ACRN hypervisor introduction
Project ACRN hypervisor introduction Project ACRN hypervisor introduction
Project ACRN hypervisor introduction
 
Using VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear ContainersUsing VPP and SRIO-V with Clear Containers
Using VPP and SRIO-V with Clear Containers
 
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...Using and Customizing the Android Framework / part 4 of Embedded Android Work...
Using and Customizing the Android Framework / part 4 of Embedded Android Work...
 
XPDDS17: Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
XPDDS17:  Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...XPDDS17:  Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
XPDDS17: Reworking the ARM GIC Emulation & Xen Challenges in the ARM ITS Emu...
 
I2C Drivers
I2C DriversI2C Drivers
I2C Drivers
 
HKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP WorkshopHKG18-318 - OpenAMP Workshop
HKG18-318 - OpenAMP Workshop
 
HKG15-300: Art's Quick Compiler: An unofficial overview
HKG15-300: Art's Quick Compiler: An unofficial overviewHKG15-300: Art's Quick Compiler: An unofficial overview
HKG15-300: Art's Quick Compiler: An unofficial overview
 
Userspace drivers-2016
Userspace drivers-2016Userspace drivers-2016
Userspace drivers-2016
 
Tools for FPGA Development
Tools for FPGA DevelopmentTools for FPGA Development
Tools for FPGA Development
 
Enhance Virtualization Stack with Intel CET and MPX
Enhance Virtualization Stack with Intel CET and MPXEnhance Virtualization Stack with Intel CET and MPX
Enhance Virtualization Stack with Intel CET and MPX
 
Gerrit Code Review v3.2 and v3.3
Gerrit Code Review v3.2 and v3.3Gerrit Code Review v3.2 and v3.3
Gerrit Code Review v3.2 and v3.3
 
from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?
 
SR-IOV Introduce
SR-IOV IntroduceSR-IOV Introduce
SR-IOV Introduce
 

Mehr von Viller Hsiao (6)

Bpf performance tools chapter 4 bcc
Bpf performance tools chapter 4   bccBpf performance tools chapter 4   bcc
Bpf performance tools chapter 4 bcc
 
Prerequisite knowledge for shared memory concurrency
Prerequisite knowledge for shared memory concurrencyPrerequisite knowledge for shared memory concurrency
Prerequisite knowledge for shared memory concurrency
 
My first-crawler-in-python
My first-crawler-in-pythonMy first-crawler-in-python
My first-crawler-in-python
 
Yet another introduction to Linux RCU
Yet another introduction to Linux RCUYet another introduction to Linux RCU
Yet another introduction to Linux RCU
 
Trace kernel code tips
Trace kernel code tipsTrace kernel code tips
Trace kernel code tips
 
f9-microkernel-ktimer
f9-microkernel-ktimerf9-microkernel-ktimer
f9-microkernel-ktimer
 

KĂŒrzlich hochgeladen

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

KĂŒrzlich hochgeladen (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïžcall girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
call girls in Vaishali (Ghaziabad) 🔝 >àŒ’8448380779 🔝 genuine Escort Service đŸ”âœ”ïžâœ”ïž
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Chinsurah Escorts ☎8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 

Introduction to ARM mbed-OS 3.0 uvisor

  • 1. Introduction to mbed-OS uvisor Viller Hsiao <villerhsiao@gmail.com> Oct. 18, 2015
  • 2. 10/18/15 2/19 Who am I ? Viller Hsiao Embeded Linux / RTOS engineer    http://image.dfdaily.com/2012/5/4/634716931128751250504b050c1_nEO_IMG.jpg
  • 3. 10/18/15 3/19 mbed OS ARMÂź mbedℱ OS is an open source embedded operating system designed specifically for the "things" in the Internet of Things (IoT). [1]
  • 4. 10/18/15 4/19 mbed OS ● Modulized packages ● Managed by yotta
  • 5. 10/18/15 5/19 mbed-OS uvisor ● self-contained software hypervisor that ● creates independent secure domains on ARM Cortex-M3 and M4 microcontrollers ● Like a sandbox ● Still in beta version now
  • 6. 10/18/15 6/19 Modules Relationship uvisor uvisor-lib application module compile Full uvisor source Linked uvisor object object ● User links objects in uvisor-lib module ● uvisor module contains full source
  • 7. 10/18/15 7/19 uvisor Funtionalities ● Protect resources ● Secure function call ● Low level APIs ● Interrupt management ● register level security [4]
  • 8. 10/18/15 8/19 Memory Layout under uvisor https://github.com/ARMmbed/uvi sor/blob/master/k64f/docs/memo ry_layout.png
  • 9. 10/18/15 9/19 Protect Resources ● Access Control Lists (ACLs) ● Private box contexts uvisor Box 1 UARTTIMERFLASHRAM I2C Access not permitted Box 2 Box n General ACLs device Box 1 context Box 2 context Box n context
  • 10. 10/18/15 10/19 Implementation of ACLs MPUBox1 view Box2 view Generic ACLs Box1 context Box2 context ● ACLs and Box contexts isolation are implementd by MPU
  • 11. 10/18/15 11/19 Secure Fucntion Call ● Secure gateway ● Critical functions are executed from the context of the secure box Non-secure Box Secure Box func(args) secure gateway return
  • 12. 10/18/15 12/19 Secure Gateway (Cont.) ● Secure Gateway Internals uvisor Box 1 Box 2 func() svc svc secure_gateway (func, args) return unpriviledge svc handler
  • 13. 10/18/15 13/19 Low Level APIs – Interrupt Management ● Interrupt management ● vIRQ_SetVectorX() ● vIRQ_GetVector() ● vIRQ_EnableIRQ() ● vIRQ_DisableIRQ() ● vIRQ_ClearPendingIRQ() ● vIRQ_SetPendingIRQ() ● vIRQ_GetPendingIRQ() ● vIRQ_SetPriority() ● vIRQ_GetPriority() ● vIRQ_GetLevel()
  • 14. 10/18/15 14/19 Low Level APIs – Interrupt Management uvisor Box Context svc vIRQ_xxxxxxxx ( args) NVIC_xxxxxxxx ( args)
  • 17. 10/18/15 17/19 Reference [1] ARMÂź mbedℱ (beta) site [2] mbed-os uvisor repository [3] mbed-os uvisor-lib repository [4] uvisor-helloworld issue #20, “ uvisor-helloworld could not work on STM32F429I-Discovery ”
  • 18. 10/18/15 18/19 ● ARM are trademarks or registered trademarks of ARM Holdings. ● mbedℱ OS is an open source embedded operating system designed specifically for the "things" in the Internet of Things (IoT). It is developed by ARMÂź and target for a connected product based on an ARM Cortex-M microcontroller. ● Other company, product, and service names may be trademarks or service marks of others. ● The license of each graph belongs to each website listed individually. ● The others of my work in the slide is licensed under a CC-BY-SA License. ● License text: http://creativecommons.org/licenses/by-sa/4.0/legalcode Rights to Copy copyright © 2015 Viller Hsiao